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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 0x20
push 1
push 4
mov esi, ecx
push ebx
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 1
mov dword [esp + 0x6c], 0x100
xor edi, edi
mov dword [esp + 0x54], ebx
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push ebx
push 0x40
push eax
push ebx
lea ecx, [esp + 0x8c]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 0x130089
lea ecx, [esp + 0x3c]
push ecx
call fcn.004b2510
cmp eax, ebx
jne 0x4e0aae
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x38
lea eax, [esp + 0xb8]
push eax
push ebx
push ecx
call fcn.004b38a0
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4e04d4
mov edx, dword [esp + 0x14]
push edx
call fcn.004b2a00
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x40
push edx
push ebx
lea ecx, [esp + 0x78]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, esi
call fcn.004dc400
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x58]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
call fcn.004fa640
test eax, eax
je 0x4e054b
push 8
call fcn.004a8640
add esp, 4
cmp eax, ebx
je 0x4e053f
mov dword [eax + 4], esi
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 1
jmp 0x4e0541
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.004cc870
mov edx, dword [esp + 0xb0]
push ebx
push ebx
push 0x21
push 2
push 7
push edx
push ebx
lea ecx, [esp + 0x70]
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 0xc]
push ebx
push 0x40
push eax
push ebx
lea ecx, [esp + 0x8c]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 0x100002
lea ecx, [esp + 0x40]
push ecx
call fcn.004b2510
mov esi, eax
cmp esi, ebx
je 0x4e05cc
mov edx, dword [esp + 0x14]
push edx
call fcn.004b2a00
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4e05c1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push eax
mov dword [ecx + 4], edx
call fcn.004a8630
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4e05e5
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push eax
mov dword [ecx + 4], edx
call fcn.004a8630
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.004b2a00
push 0x10083be4
lea ecx, [esp + 0x7c]
push ecx
call dword [0x100b7330]
jmp 0x4e0603
xor ebx, ebx
cmp edi, ebx
je 0x4e0610
push edi
call fcn.004c17d0
add esp, 4
mov esi, dword [esp + 0x50]
push esi
call fcn.004c1680
mov edx, dword [esp + 0x44]
add esp, 4
neg edx
mov edi, eax
push ebx
sbb edx, edx
lea eax, [esp + 0x7c]
and edx, eax
push edx
push 1
push 2
push esi
push edi
lea ecx, [esp + 0xc0]
mov dword [esp + 0x50], esi
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
mov ecx, dword [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
push ecx
call fcn.004b3020
cmp eax, 0xc0000004
je 0x4e0a2a
cmp eax, 0x80000005
je 0x4e0a2a
cmp eax, 0xc0000023
je 0x4e0a2a
cmp eax, ebx
jne 0x4e0a5f
cmp dword [esp + 0x40], ebx
je 0x4e068d
mov dword [esp + 0x40], ebx
mov edx, dword [edi + 0x3c]
shr edx, 1
add edx, 1
push edx
lea ecx, [esp + 0x30]
call fcn.004a9330
mov eax, dword [edi + 0x3c]
mov esi, dword [esp + 0x2c]
push eax
lea ecx, [edi + 0x44]
push ecx
push esi
call fcn.004c1600
mov edx, dword [esp + 0x3c]
add esp, 0xc
push esi
lea ecx, [esp + 0x60]
mov word [esi + edx*2 - 2], bx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004aa370
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.004f71b0
push 0x10078be0
lea ecx, [esp + 0x28]
call fcn.004f7420
mov ebx, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x28]
call fcn.004f7420
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004f71b0
push 0x10078be0
lea ecx, [esp + 0x28]
call fcn.004f7420
push ebx
lea ecx, [esp + 0x28]
call fcn.004f7420
mov eax, dword [edi + 0x3c]
cmp eax, 4
jne 0x4e0736
cmp word [esi], 0x2e
jne 0x4e0736
cmp word [esi + 2], 0x2e
je 0x4e0745
cmp eax, 2
jne 0x4e0741
cmp word [esi], 0x2e
je 0x4e0745
test eax, eax
jne 0x4e0780
lea ecx, [esp + 0x48]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004f7250
lea ecx, [esp + 0x5c]
call fcn.004aa5e0
test esi, esi
je 0x4e0601
push esi
call fcn.004c17d0
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
jmp 0x4e0601
test dword [edi + 0x38], 0x10
je 0x4e07fa
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esp + 0x28]
call fcn.004f6ee0
push eax
lea ecx, [esp + 0x50]
call fcn.004f6ee0
mov ecx, dword [esp + 0x44]
push eax
call fcn.004e0420
mov esi, eax
test esi, esi
je 0x4e0a01
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x38], edi
call fcn.004b2a00
lea ecx, [esp + 0x48]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004f7250
lea ecx, [esp + 0x5c]
call fcn.004aa5e0
lea ecx, [esp + 0x2c]
call fcn.004aa300
lea ecx, [esp + 0x34]
call fcn.004aa300
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push 0x20
push 1
push 4
push 0
push 0
lea ecx, [esp + 0xb4]
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
push eax
push 0
push 0x40
lea ecx, [esp + 0x70]
call fcn.004f6ee0
push eax
push 0
lea ecx, [esp + 0xb0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 0x100001
lea eax, [esp + 0x38]
push eax
call fcn.004b2510
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x40
lea ecx, [esp + 0x38]
call fcn.004f6ee0
push eax
push 0
lea ecx, [esp + 0x9c]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
mov ebx, dword [esp + 0x48]
push eax
mov ecx, ebx
call fcn.004dc400
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
xor esi, esi
push ecx
lea ecx, [ebx + 0x58]
mov dword [esp + 0x48], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
call fcn.004fa640
test eax, eax
je 0x4e08d8
push 8
call fcn.004a8640
add esp, 4
cmp eax, esi
je 0x4e08cc
mov dword [eax + 4], ebx
mov edx, dword [ebx + 4]
mov dword [eax], edx
mov dword [ebx + 4], 1
jmp 0x4e08ce
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004cc870
mov eax, dword [edi + 0x38]
push esi
push esi
push 0x60
push 2
push 7
push eax
push esi
lea ecx, [esp + 0xbc]
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
push eax
push esi
push 0x40
lea ecx, [esp + 0x4c]
call fcn.004f6ee0
push eax
push esi
lea ecx, [esp + 0xb0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 0x100002
lea ecx, [esp + 0x6c]
push ecx
call fcn.004b2510
mov esi, eax
test esi, esi
jne 0x4e0a39
lea ecx, [esp + 0x18]
call fcn.004cc8b0
push 0x400000
call fcn.004c1680
add esp, 4
push 0
lea edx, [esp + 0x20]
push edx
mov esi, eax
mov eax, dword [esp + 0x18]
push 0x400000
push esi
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x400000
call dword [0x1007803c]
test eax, eax
je 0x4e09ac
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x4e09ac
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x78]
push ecx
push eax
push esi
push edx
call dword [0x10078094]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
push 0x400000
push esi
push ecx
call dword [0x1007803c]
test eax, eax
jne 0x4e0974
lea ecx, [esp + 0x54]
call fcn.004aa300
cmp dword [ebp + 0x10], 0
je 0x4e09ed
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x40
push 0
push ecx
lea ecx, [esp + 0x9c]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, ebx
call fcn.004dc400
mov edx, dword [esp + 0x10]
push edx
call fcn.004b2a00
mov eax, dword [esp + 0x44]
push eax
call fcn.004b2a00
lea ecx, [esp + 0x48]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004f7250
lea ecx, [esp + 0x5c]
call fcn.004aa5e0
lea ecx, [esp + 0x2c]
call fcn.004aa300
jmp 0x4e0601
add esi, 0x100
mov dword [esp + 0x50], esi
jmp 0x4e0603
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x38], edi
call fcn.004b2a00
mov eax, dword [esp + 0x14]
push eax
call fcn.004b2a00
lea ecx, [esp + 0x18]
call fcn.004cc8b0
jmp 0x4e07c2
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x34], edi
je 0x4e0a99
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push 0x40
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
mov ecx, dword [esp + 0x48]
push eax
call fcn.004dc400
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b2a00
lea ecx, [esp + 0x34]
call fcn.004aa300
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc