Function at 0x46cb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x513368
push 0x491a90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x519220]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ebx, dword [edi + 0x108]
test ebx, ebx
jne 0x46cb82
push ebx
push str.m_pDosHeader
call fcn.0046c600
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0x3c]
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x46cb98
push eax
call fcn.0049c7b1
add esp, 4
mov dword [ebp - 4], 0
push 1
push 0x108
call fcn.0049c7a6
add esp, 8
mov ecx, eax
mov dword [edi + 0x10c], ecx
mov dword [ebp - 4], 0xfffffffe
test ecx, ecx
jne 0x46cc0c
mov dword [ebp - 0x1c], 0x3e7
lea eax, [ebp - 0x1c]
push eax
call fcn.004afc62
add esp, 4
push 0
push 0x108
mov ecx, edi
call fcn.0046c5a0
mov ecx, edi
call fcn.0046bc30
push 1
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.0046c5a0
mov eax, 0xa
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x104]
mov eax, dword [ebx + eax]
mov dword [ecx], eax
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
cmp eax, 0x4550
je 0x46cc47
push 0
push eax
mov ecx, edi
call fcn.0046c5a0
mov eax, 0xf
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x104]
movzx eax, word [ebx + eax + 4]
mov word [ecx + 4], ax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
movzx eax, word [ebx + eax + 6]
mov word [ecx + 6], ax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
mov eax, dword [ebx + eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
mov eax, dword [ebx + eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
mov eax, dword [ebx + eax + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
movzx eax, word [ebx + eax + 0x14]
mov word [ecx + 0x14], ax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
movzx eax, word [ebx + eax + 0x16]
mov word [ecx + 0x16], ax
add ebx, 0x18
xor eax, eax
mov ecx, dword [edi + 0x10c]
xor edx, edx
cmp dx, word [ecx + 0x14]
jae 0x46ccf4
mov eax, dword [edi + 0x104]
mov ax, word [ebx + eax]
mov word [ecx + 0x18], ax
mov eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cd12
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cl, byte [edx + ecx]
mov byte [esi + 0x1a], cl
inc eax
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cd30
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cl, byte [edx + ecx]
mov byte [esi + 0x1b], cl
inc eax
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cd50
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x1c], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cd70
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x20], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cd90
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x24], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cdb0
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x28], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cdd0
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x2c], ecx
add eax, 4
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jae 0x46ce03
lea esi, [eax + ebx]
mov edx, dword [edi + 0x104]
mov ecx, dword [esi + edx]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x30], ecx
lea esi, [eax + ebx]
mov ecx, dword [esi + edx + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x34], ecx
add eax, 8
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46ce23
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x38], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46ce43
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x3c], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46ce65
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x40], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46ce87
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x42], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cea9
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x44], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cecb
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x46], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46ceed
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x48], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cf0f
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x4a], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cf2f
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x4c], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cf4f
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x50], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cf6f
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x54], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cf8f
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x58], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cfb1
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x5c], cx
add eax, 2
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46cfd3
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov cx, word [edx + ecx]
mov word [esi + 0x5e], cx
add eax, 2
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jae 0x46d006
lea esi, [eax + ebx]
mov edx, dword [edi + 0x104]
mov ecx, dword [esi + edx]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x60], ecx
lea esi, [eax + ebx]
mov ecx, dword [esi + edx + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], ecx
add eax, 8
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jae 0x46d039
lea esi, [eax + ebx]
mov edx, dword [edi + 0x104]
mov ecx, dword [esi + edx]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x68], ecx
lea esi, [eax + ebx]
mov ecx, dword [esi + edx + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x6c], ecx
add eax, 8
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jae 0x46d06c
lea esi, [eax + ebx]
mov edx, dword [edi + 0x104]
mov ecx, dword [esi + edx]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x70], ecx
lea esi, [eax + ebx]
mov ecx, dword [esi + edx + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x74], ecx
add eax, 8
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jae 0x46d09f
lea esi, [eax + ebx]
mov edx, dword [edi + 0x104]
mov ecx, dword [esi + edx]
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x78], ecx
lea esi, [eax + ebx]
mov ecx, dword [esi + edx + 4]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x7c], ecx
add eax, 8
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46d0c2
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x80], ecx
add eax, 4
mov esi, dword [edi + 0x10c]
movzx ecx, word [esi + 0x14]
cmp eax, ecx
jae 0x46d0e5
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov dword [esi + 0x84], ecx
add eax, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0x10c]
cmp dword [ecx + 0x84], esi
jle 0x46d15b
nop dword [eax + eax]
mov ecx, dword [edi + 0x10c]
movzx ecx, word [ecx + 0x14]
cmp eax, ecx
jge 0x46d149
lea edx, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov ecx, dword [edx + ecx]
mov edx, dword [edi + 0x10c]
mov dword [edx + esi*8 + 0x88], ecx
add eax, 4
lea esi, [eax + ebx]
mov ecx, dword [edi + 0x104]
mov edx, dword [edi + 0x10c]
mov ecx, dword [esi + ecx]
mov esi, dword [ebp - 0x1c]
mov dword [edx + esi*8 + 0x8c], ecx
add eax, 4
inc esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0x10c]
cmp esi, dword [ecx + 0x84]
jl 0x46d100
add eax, ebx
mov dword [edi + 0x110], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret