Function at 0x461244
Capabilities:
Enumerate pe sections

Disassembly:
int3
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push 1
xor edi, edi
push edi
push 0xffffffffffffffff
push edi
push esi
call fcn.0046547d
cmp eax, edi
jne 0x461469
lea eax, [ebp - 4]
push eax
push 1
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.0046547d
cmp eax, edi
jne 0x461469
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov ah, byte [ebx + 0xc]
movzx ecx, byte [ebx + 0xe]
mov al, byte [ebx + 0xd]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0xf]
shl eax, 8
or eax, ecx
cmp eax, 0x5f0f3cf5
jne 0x4a65d3
movzx cx, byte [ebx + 0x13]
xor eax, eax
mov ah, byte [ebx + 0x12]
or eax, ecx
cmp ax, 0x10
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
jb 0x46146f
cmp ax, 0x4000
ja 0x46146f
mov al, byte [ebx + 0x11]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 4]
and al, 8
sub al, 8
neg al
sbb eax, eax
inc eax
mov dword [ecx], eax
movzx cx, byte [edi + 0x23]
xor eax, eax
mov ah, byte [edi + 0x22]
or eax, ecx
test ax, ax
mov word [esi + 0xc4], ax
je 0x4a65dd
xor eax, eax
mov ah, byte [ebx + 0x32]
mov al, byte [ebx + 0x33]
mov word [esi + 0xc], ax
lea eax, [ebp + 8]
push eax
push 0
push 0xe
push 0xffffffffffffffff
push 0
push esi
call fcn.0046547d
test eax, eax
jne 0x461468
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a65e7
xor ecx, ecx
mov ch, byte [eax + 0x44]
push eax
mov cl, byte [eax + 0x45]
mov word [esi + 0xdc], cx
xor ecx, ecx
mov ch, byte [eax + 0x46]
mov cl, byte [eax + 0x47]
mov word [esi + 0xde], cx
call dword [esi + 8]
pop ecx
xor eax, eax
mov ah, byte [edi + 6]
push edi
mov al, byte [edi + 7]
mov word [esi + 0xe0], ax
call dword [esi + 8]
push ebx
call dword [esi + 8]
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
push 1
push 3
push 0xffffffffffffffff
push 0
push esi
call fcn.0046547d
test eax, eax
jne 0x461468
mov eax, dword [ebp + 8]
xor edx, edx
mov dh, byte [eax]
movzx ecx, byte [eax + 2]
push eax
mov dl, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 3]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
xor edx, edx
mov dh, byte [eax + 4]
mov dl, byte [eax + 5]
mov word [ecx + 4], dx
xor edx, edx
mov dh, byte [eax + 6]
mov dl, byte [eax + 7]
mov word [ecx + 6], dx
xor edx, edx
mov dh, byte [eax + 8]
mov dl, byte [eax + 9]
mov word [ecx + 8], dx
xor edx, edx
mov dh, byte [eax + 0xa]
mov dl, byte [eax + 0xb]
mov word [ecx + 0xa], dx
xor edx, edx
mov dh, byte [eax + 0xc]
mov dl, byte [eax + 0xd]
mov word [ecx + 0xc], dx
xor edx, edx
mov dh, byte [eax + 0xe]
mov dl, byte [eax + 0xf]
mov word [ecx + 0xe], dx
xor edx, edx
mov dh, byte [eax + 0x10]
mov dl, byte [eax + 0x11]
mov word [ecx + 0x10], dx
xor edx, edx
mov dh, byte [eax + 0x12]
mov dl, byte [eax + 0x13]
mov word [ecx + 0x12], dx
xor edx, edx
mov dh, byte [eax + 0x14]
mov dl, byte [eax + 0x15]
mov word [ecx + 0x14], dx
xor edx, edx
mov dh, byte [eax + 0x16]
mov dl, byte [eax + 0x17]
mov word [ecx + 0x16], dx
xor edx, edx
mov dh, byte [eax + 0x18]
mov dl, byte [eax + 0x19]
mov word [ecx + 0x18], dx
xor edx, edx
mov dh, byte [eax + 0x1a]
mov dl, byte [eax + 0x1b]
mov word [ecx + 0x1a], dx
xor edx, edx
mov dh, byte [eax + 0x1c]
mov dl, byte [eax + 0x1d]
mov word [ecx + 0x1c], dx
xor edx, edx
mov dh, byte [eax + 0x1e]
mov dl, byte [eax + 0x1f]
mov word [ecx + 0x1e], dx
call dword [esi + 8]
pop ecx
lea eax, [esi + 0xc8]
push eax
lea eax, [esi + 0xc6]
push eax
push esi
call fcn.00461476
pop ebx
pop edi
pop esi
leave
ret 0x10
mov eax, 0x140e
jmp 0x461468
add ecx, 4
mov dword [ebp + 8], ecx
jmp loc.00446a63
push dword [ebx]
fucomi st(1)
jle 0x4a65e7
xor ebx, ebx
jmp loc.00446a63
cli
dec dword [ebx + 0x24486]
inc esp
add al, byte [eax]
add byte [ecx], al
push eax
adc al, 0x39
pop ebp
aam 0x74
sbb dword [ecx], edi
sahf
add byte [ecx], al
add byte [eax], al
jne 0x4a660c
push dword [ebp - 0x2c]
push dword [esi + 4]
call dword [esi + 0x54]
cmp eax, ebx
jne 0x446b32
mov eax, dword [esi + 0x244]
mov ebx, dword [eax + 0x14]
push edi
lea edi, [ebp - 4]
call 0x520923
test eax, eax
jne 0x446b32
cmp dword [ebp - 4], eax
je 0x4a65de
cmp dword [esi + 0x208], eax
je 0x4a666a
mov eax, dword [esi + 0x244]
push dword [eax + 0x20]
movzx ecx, byte [eax + 0x3e]
push dword [esi + 0x1fc]
push ecx
push dword [esi + 0x220]
lea ecx, [esi + 0x24c]
push dword [esi + 0x19c]
push ecx
push dword [eax + 0x28]
call 0x449b12
test eax, eax
jne 0x446b32
mov dword [ebp - 8], 3
xor ebx, ebx
jmp loc.00446ae7