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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5439bf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
or dword [esi + 8], 1
mov ecx, dword [esi + 0x78]
cmp ecx, 0x5a9550
jne 0x4a18e9
push eax
lea ecx, [esi + 0x78]
call fcn.00458aa0
jmp 0x4a1900
cmp ecx, eax
je 0x4a1900
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4a18f7
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404d70
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4a193a
or dword [esi + 8], 2
mov ecx, dword [esi + 0x7c]
cmp ecx, 0x5a9550
jne 0x4a1923
push eax
lea ecx, [esi + 0x7c]
call fcn.00458aa0
jmp 0x4a193a
cmp ecx, eax
je 0x4a193a
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4a1931
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404d70
cmp dword [edi + 0x40], 3
jne 0x4a1952
push 3
call fcn.004ae8e0
add esp, 4
mov ecx, esi
push eax
call fcn.004b3a10
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jle 0x4a1992
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
nop
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ebx*4]
mov esi, dword [eax]
call fcn.0049a650
cmp eax, esi
je 0x4a1986
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4a197b
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00404d70
mov ecx, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [edi + 0xc]
jl 0x4a1960
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x4a19d3
mov ecx, dword [esi + 0x20]
nop dword [eax]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x4a19bd
inc eax
lea ecx, [esi + 0x20]
push eax
call fcn.0048ceb0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
inc ebx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
inc dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
cmp ebx, dword [edi + 0x14]
jl 0x4a19a0
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
jle 0x4a1a13
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x2c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
cmp ecx, eax
jne 0x4a19fd
inc eax
lea ecx, [esi + 0x2c]
push eax
call fcn.0048ceb0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x34]
inc ebx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
cmp ebx, dword [edi + 0x1c]
jl 0x4a19e0
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x4a1a9f
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
nop word [eax + eax]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4a1a51
mov ecx, dword [esi + 0x3c]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a1a4c
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x3c], eax
jmp 0x4a1a7f
cmp edx, dword [esi + 0x40]
jne 0x4a1a61
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x38]
inc eax
push eax
call fcn.004b3d80
mov eax, dword [esi + 0x44]
inc dword [eax]
push dword [esi + 0x38]
push 0
call fcn.004abec0
mov edx, dword [esi + 0x3c]
mov ebx, eax
mov ecx, dword [esi + 0x44]
add esp, 8
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x3c]
mov ecx, dword [edi + 0x28]
push ebx
mov ebx, dword [ebp - 0x14]
add ecx, ebx
call fcn.004a0e00
mov ecx, dword [ebp - 0x10]
add ebx, 0x58
inc ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 0x24]
jl 0x4a1a30
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x14], 0
jle 0x4a1b28
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4a1ad7
mov edx, dword [esi + 0x4c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a1ad2
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
jmp 0x4a1b08
cmp eax, dword [esi + 0x50]
jne 0x4a1ae9
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x48]
inc eax
push eax
call fcn.004b3d80
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x48]
push 0
call fcn.004abf20
mov edx, dword [esi + 0x4c]
mov ebx, eax
mov ecx, dword [esi + 0x54]
add esp, 8
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x4c]
mov ecx, dword [edi + 0x30]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.004a1370
mov eax, dword [ebp - 0x14]
add ebx, 0x20
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x2c]
jl 0x4a1ab6
cmp dword [edi + 0x34], 0
mov dword [ebp - 0x14], 0
jle 0x4a1bb2
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
nop
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4a1b61
mov edx, dword [esi + 0x5c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a1b5c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x5c], eax
jmp 0x4a1b92
cmp eax, dword [esi + 0x60]
jne 0x4a1b73
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x58]
inc eax
push eax
call fcn.004b3d80
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x58]
push 0
call fcn.004abfc0
mov edx, dword [esi + 0x5c]
mov ebx, eax
mov ecx, dword [esi + 0x64]
add esp, 8
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x5c]
mov ecx, dword [edi + 0x38]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.004a1f20
mov eax, dword [ebp - 0x14]
add ebx, 0x18
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x34]
jl 0x4a1b40
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x14], 0
jle 0x4a1c42
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
nop dword [eax]
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4a1bf1
mov edx, dword [esi + 0x6c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a1bec
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
jmp 0x4a1c22
cmp eax, dword [esi + 0x70]
jne 0x4a1c03
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x68]
inc eax
push eax
call fcn.004b3d80
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x68]
push 0
call fcn.004abf60
mov edx, dword [esi + 0x6c]
mov ebx, eax
mov ecx, dword [esi + 0x74]
add esp, 8
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x6c]
mov ecx, dword [edi + 0x48]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.004a1560
mov eax, dword [ebp - 0x14]
add ebx, 0x58
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x3c]
jl 0x4a1bd0
mov esi, dword [edi + 0x4c]
call fcn.004e2a40
cmp esi, eax
je 0x4a1c9a
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x4c]
or dword [ebx + 8], 8
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x4a1c92
push 0x50
call fcn.004fa16d
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a1c83
mov ecx, eax
call fcn.004d07a0
jmp 0x4a1c85
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x84], eax
push esi
mov ecx, eax
call fcn.004d60c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4