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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e037d
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0xde8598]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [esp + 0x98]
call dword [0x4eb240]
lea ecx, [esp + 0xb4]
mov dword [esp + 0xe0], 0
call dword [0x4eb240]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 1
call dword [0x4eb240]
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], 2
call dword [0x4eb240]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0xe4], 3
call fcn.0040a710
cmp dword [esp + 0x14], 0
mov byte [esp + 0xe0], 4
je 0x4a1c58
mov esi, dword [0x4eb3fc]
jmp 0x4a1a10
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a650
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xe4], 5
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 4
call dword [0x4eb23c]
mov eax, dword [esp + 0x64]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jae 0x4a1a56
lea eax, [esp + 0x64]
push 0x507164
push eax
call esi
add esp, 8
test eax, eax
jne 0x4a1aa0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
call fcn.0040a670
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe4], 6
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 4
call dword [0x4eb23c]
jmp 0x4a1c14
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], edi
jae 0x4a1aae
lea eax, [esp + 0x64]
push 0x507158
push eax
call esi
add esp, 8
test eax, eax
jne 0x4a1af8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040a670
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe4], 7
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 4
call dword [0x4eb23c]
jmp 0x4a1c14
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], edi
jae 0x4a1b06
lea eax, [esp + 0x64]
push 0x50714c
push eax
call esi
add esp, 8
test eax, eax
jne 0x4a1c14
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a670
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe4], 8
call dword [0x4eb258]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 4
call dword [0x4eb23c]
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], edi
jae 0x4a1b66
lea eax, [esp + 0x80]
push 0x507144
push eax
call esi
add esp, 8
test eax, eax
jne 0x4a1bb0
lea edx, [esp + 0x1c]
push 0x507144
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x507170
mov dword [esp + 0x2c], 0x5070f4
mov dword [esp + 0x30], 0x210
call fcn.0040c600
mov dword [ebx + 0x140], 0
jmp 0x4a1c11
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], edi
jae 0x4a1bc7
lea eax, [esp + 0x80]
push 0x5070f0
push eax
call esi
add esp, 8
test eax, eax
jne 0x4a1c14
lea eax, [esp + 0x2c]
push 0x5070f0
mov edi, 1
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x507170
mov dword [esp + 0x3c], 0x5070f4
mov dword [esp + 0x40], 0x215
call fcn.0040c600
mov dword [ebx + 0x140], edi
mov edi, 0x10
add esp, 8
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 9
call fcn.00405cb0
lea ecx, [esp + 0x58]
mov byte [esp + 0xe0], 4
call fcn.0040a6e0
cmp dword [esp + 0x14], 0
jne 0x4a1a10
jmp 0x4a1c5d
mov edi, 0x10
mov eax, dword [esp + 0xac]
test eax, eax
jbe 0x4a1cca
test al, 1
jne 0x4a1cca
mov ecx, eax
inc eax
shr ecx, 1
push eax
mov dword [ebx + 0x144], ecx
call fcn.004cab0c
mov edx, dword [esp + 0xa0]
add esp, 4
mov dword [ebx + 0x148], eax
cmp dword [esp + 0xb0], edi
jae 0x4a1c9d
lea edx, [esp + 0x9c]
mov ecx, eax
nop
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
test al, al
jne 0x4a1ca0
lea edi, [ebx + 0x14c]
lea esi, [esp + 0xb4]
call fcn.0049d130
test al, al
je 0x4a1cca
mov dword [ebx + 0x13c], 0xa59914b3
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 3
call fcn.0040a6e0
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], 2
call dword [0x4eb23c]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 1
call dword [0x4eb23c]
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 0
call dword [0x4eb23c]
lea ecx, [esp + 0x98]
mov dword [esp + 0xe0], 0xffffffff
call dword [0x4eb23c]
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004cab76
mov esp, ebp
pop ebp
ret 4