Function at 0x464a70
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov edx, dword [esi + 0x118]
test edx, edx
je 0x46551b
mov edi, dword [esi + 0x130]
mov ecx, edi
cmp dword [ecx], 6
je 0x464aa7
inc eax
add ecx, 0xc
cmp eax, edx
jb 0x464a91
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [eax + eax*2]
mov edi, dword [edi + eax*4 + 8]
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x464ac1
push eax
call fcn.00496f41
add esp, 4
push 1
push 0xa8
call fcn.00496f36
mov ecx, eax
add esp, 8
mov dword [esi + 0x13c], ecx
test ecx, ecx
jne 0x464afb
push 0xa8
mov ecx, esi
call fcn.00464a20
mov ecx, esi
call fcn.00464360
pop edi
pop esi
mov eax, 5
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x104]
mov ebx, 0x30
mov eax, dword [edi + eax]
mov dword [ecx], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [edi + ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [edi + ecx + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [edi + ecx + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [edi + ecx + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax + 0x24]
add edi, 0x28
mov dword [ecx + 0x24], eax
mov ecx, dword [esi + 0x104]
lea edi, [edi + 0x28]
mov edx, dword [esi + 0x13c]
mov eax, dword [edi + ecx - 0x28]
mov dword [ebx + edx - 8], eax
mov eax, dword [edi + ecx - 0x24]
mov dword [ebx + edx - 4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [ecx + edi - 0x20]
mov dword [ebx + edx], eax
mov eax, dword [ecx + edi - 0x1c]
mov dword [ebx + edx + 4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [ecx + edi - 0x18]
mov dword [ebx + edx + 8], eax
mov eax, dword [ecx + edi - 0x14]
mov dword [ebx + edx + 0xc], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [ecx + edi - 0x10]
mov dword [ebx + edx + 0x10], eax
mov eax, dword [ecx + edi - 0xc]
mov dword [ebx + edx + 0x14], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x13c]
mov eax, dword [ecx + edi - 8]
mov dword [ebx + edx + 0x18], eax
mov eax, dword [ecx + edi - 4]
mov dword [ebx + edx + 0x1c], eax
add ebx, 0x28
cmp ebx, 0xa8
jl 0x464ba1
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [edi + eax]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x13c]
mov eax, dword [eax + edi + 4]
mov dword [ecx + 0xa4], eax
mov eax, dword [esi + 0x144]
test eax, eax
je 0x464c7c
push eax
call fcn.00496f41
add esp, 4
push 1
push 0x4d0
call fcn.00496f36
mov edx, eax
add esp, 8
mov dword [esi + 0x144], edx
test edx, edx
jne 0x464cb6
push 0x4d0
mov ecx, esi
call fcn.00464a20
mov ecx, esi
call fcn.00464360
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x13c]
mov edi, dword [eax + 0xa4]
mov ebx, dword [eax + 0xa0]
add ebx, edi
mov dword [ebp - 4], ebx
cmp edi, ebx
jae 0x46551b
mov ecx, dword [esi + 0x104]
mov eax, dword [edi + ecx]
mov dword [edx], eax
mov eax, dword [edi + ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + edi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + edi + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + edi + 0x1c]
mov dword [edx + 0x1c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + edi + 0x24]
mov dword [edx + 0x24], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + edi + 0x2c]
add edi, 0x30
mov dword [edx + 0x2c], eax
cmp edi, ebx
jae 0x46551b
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 4]
add edi, 8
mov dword [ecx + 0x34], eax
cmp edi, ebx
jae 0x46551b
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax]
mov word [ecx + 0x38], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 2]
mov word [ecx + 0x3a], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 4]
mov word [ecx + 0x3c], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 6]
mov word [ecx + 0x3e], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 8]
mov word [ecx + 0x40], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 0xa]
mov word [ecx + 0x42], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 0xc]
add edi, 0x10
mov dword [ecx + 0x44], eax
cmp edi, ebx
jae 0x46551b
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [edx + 0x48], eax
mov eax, dword [edi + ecx + 4]
mov dword [edx + 0x4c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 8]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + edi + 0xc]
mov dword [edx + 0x54], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x10]
mov dword [edx + 0x58], eax
mov eax, dword [ecx + edi + 0x14]
mov dword [edx + 0x5c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x18]
mov dword [edx + 0x60], eax
mov eax, dword [ecx + edi + 0x1c]
mov dword [edx + 0x64], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x20]
mov dword [edx + 0x68], eax
mov eax, dword [ecx + edi + 0x24]
mov dword [edx + 0x6c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x28]
mov dword [edx + 0x70], eax
mov eax, dword [ecx + edi + 0x2c]
add edi, 0x30
mov dword [edx + 0x74], eax
cmp edi, ebx
jae 0x46551b
mov ebx, 0x80
nop word [eax + eax]
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [ebx + edx - 8], eax
mov eax, dword [edi + ecx + 4]
mov dword [ebx + edx - 4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 8]
mov dword [ebx + edx], eax
mov eax, dword [ecx + edi + 0xc]
mov dword [ebx + edx + 4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x10]
mov dword [ebx + edx + 8], eax
mov eax, dword [ecx + edi + 0x14]
mov dword [ebx + edx + 0xc], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x18]
mov dword [ebx + edx + 0x10], eax
mov eax, dword [ecx + edi + 0x1c]
add edi, 0x20
mov dword [ebx + edx + 0x14], eax
add ebx, 0x20
cmp ebx, 0x100
jl 0x464ef0
mov ebx, dword [ebp - 4]
cmp edi, ebx
jae 0x46551b
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [edx + 0xf8], eax
mov eax, dword [edi + ecx + 4]
add edi, 8
mov dword [edx + 0xfc], eax
cmp edi, ebx
jae 0x46551b
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax]
mov word [ecx + 0x100], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 2]
mov word [ecx + 0x102], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [edi + eax + 4]
mov byte [ecx + 0x104], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [edi + eax + 5]
mov byte [ecx + 0x105], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 6]
mov word [ecx + 0x106], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 8]
mov dword [ecx + 0x108], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 0xc]
mov word [ecx + 0x10c], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 0xe]
mov word [ecx + 0x10e], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 0x10]
mov dword [ecx + 0x110], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 0x14]
mov word [ecx + 0x114], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, word [edi + eax + 0x16]
mov word [ecx + 0x116], ax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 0x18]
mov dword [ecx + 0x118], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
mov eax, dword [edi + eax + 0x1c]
mov dword [ecx + 0x11c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x20]
mov dword [edx + 0x120], eax
mov eax, dword [edi + ecx + 0x24]
mov dword [edx + 0x124], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x28]
mov dword [edx + 0x128], eax
mov eax, dword [edi + ecx + 0x2c]
mov dword [edx + 0x12c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x30]
mov dword [edx + 0x130], eax
mov eax, dword [edi + ecx + 0x34]
mov dword [edx + 0x134], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x38]
mov dword [edx + 0x138], eax
mov eax, dword [edi + ecx + 0x3c]
mov dword [edx + 0x13c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x40]
mov dword [edx + 0x140], eax
mov eax, dword [edi + ecx + 0x44]
mov dword [edx + 0x144], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x48]
mov dword [edx + 0x148], eax
mov eax, dword [edi + ecx + 0x4c]
mov dword [edx + 0x14c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x50]
mov dword [edx + 0x150], eax
mov eax, dword [edi + ecx + 0x54]
mov dword [edx + 0x154], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x58]
mov dword [edx + 0x158], eax
mov eax, dword [edi + ecx + 0x5c]
mov dword [edx + 0x15c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x60]
mov dword [edx + 0x160], eax
mov eax, dword [edi + ecx + 0x64]
mov dword [edx + 0x164], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x68]
mov dword [edx + 0x168], eax
mov eax, dword [edi + ecx + 0x6c]
mov dword [edx + 0x16c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x70]
mov dword [edx + 0x170], eax
mov eax, dword [edi + ecx + 0x74]
mov dword [edx + 0x174], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x78]
mov dword [edx + 0x178], eax
mov eax, dword [edi + ecx + 0x7c]
mov dword [edx + 0x17c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x80]
mov dword [edx + 0x180], eax
mov eax, dword [edi + ecx + 0x84]
mov dword [edx + 0x184], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x88]
mov dword [edx + 0x188], eax
mov eax, dword [edi + ecx + 0x8c]
mov dword [edx + 0x18c], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x90]
mov dword [edx + 0x190], eax
mov eax, dword [edi + ecx + 0x94]
mov dword [edx + 0x194], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x98]
mov dword [edx + 0x198], eax
mov eax, dword [edi + ecx + 0x9c]
add edi, 0xa0
mov dword [edx + 0x19c], eax
xor ebx, ebx
nop
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [ebx + edx + 0x1a0], eax
mov eax, dword [edi + ecx + 4]
mov dword [ebx + edx + 0x1a4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 8]
mov dword [ebx + edx + 0x1a8], eax
mov eax, dword [edi + ecx + 0xc]
add edi, 0x10
mov dword [ebx + edx + 0x1ac], eax
add ebx, 0x10
cmp ebx, 0x100
jl 0x4652f0
xor edx, edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [edi + eax]
mov byte [ecx + edx + 0x2a0], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [eax + edi + 1]
mov byte [ecx + edx + 0x2a1], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [eax + edi + 2]
mov byte [ecx + edx + 0x2a2], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [eax + edi + 3]
mov byte [ecx + edx + 0x2a3], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [eax + edi + 4]
mov byte [ecx + edx + 0x2a4], al
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x144]
movzx eax, byte [eax + edi + 5]
add edi, 6
mov byte [ecx + edx + 0x2a5], al
add edx, 6
cmp edx, 0x60
jl 0x465350
cmp edi, dword [ebp - 4]
jae 0x46551b
xor ebx, ebx
nop dword [eax]
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [ebx + edx + 0x300], eax
mov eax, dword [edi + ecx + 4]
mov dword [ebx + edx + 0x304], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 8]
mov dword [ebx + edx + 0x308], eax
mov eax, dword [edi + ecx + 0xc]
add edi, 0x10
mov dword [ebx + edx + 0x30c], eax
add ebx, 0x10
cmp ebx, 0x1a0
jl 0x465400
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [edx + 0x4a0], eax
mov eax, dword [edi + ecx + 4]
add edi, 8
mov dword [edx + 0x4a4], eax
cmp edi, dword [ebp - 4]
jae 0x46551b
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx]
mov dword [edx + 0x4a8], eax
mov eax, dword [edi + ecx + 4]
mov dword [edx + 0x4ac], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 8]
mov dword [edx + 0x4b0], eax
mov eax, dword [edi + ecx + 0xc]
mov dword [edx + 0x4b4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x10]
mov dword [edx + 0x4b8], eax
mov eax, dword [edi + ecx + 0x14]
mov dword [edx + 0x4bc], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [edi + ecx + 0x18]
mov dword [edx + 0x4c0], eax
mov eax, dword [edi + ecx + 0x1c]
mov dword [edx + 0x4c4], eax
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x144]
mov eax, dword [ecx + edi + 0x20]
mov dword [edx + 0x4c8], eax
mov eax, dword [ecx + edi + 0x24]
mov dword [edx + 0x4cc], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret