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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5426df
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58ec74]
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, 0x5a8528
jne 0x4a06b9
push eax
lea ecx, [esi + 0x78]
call fcn.00458350
jmp 0x4a06d0
cmp ecx, eax
je 0x4a06d0
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4a06c7
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404d70
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4a070a
or dword [esi + 8], 2
mov ecx, dword [esi + 0x7c]
cmp ecx, 0x5a8528
jne 0x4a06f3
push eax
lea ecx, [esi + 0x7c]
call fcn.00458350
jmp 0x4a070a
cmp ecx, eax
je 0x4a070a
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4a0701
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00404d70
cmp dword [edi + 0x40], 3
jne 0x4a0722
push 3
call fcn.004ad6c0
add esp, 4
mov ecx, esi
push eax
call fcn.004b27f0
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jle 0x4a0762
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.00499420
cmp eax, esi
je 0x4a0756
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4a074b
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 0x4a0730
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x4a07a3
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 0x4a078d
inc eax
lea ecx, [esi + 0x20]
push eax
call fcn.0048bc80
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 0x4a0770
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
jle 0x4a07e3
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 0x4a07cd
inc eax
lea ecx, [esi + 0x2c]
push eax
call fcn.0048bc80
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 0x4a07b0
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x4a086f
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
nop word [eax + eax]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4a0821
mov ecx, dword [esi + 0x3c]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a081c
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x3c], eax
jmp 0x4a084f
cmp edx, dword [esi + 0x40]
jne 0x4a0831
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x38]
inc eax
push eax
call fcn.004b2b60
mov eax, dword [esi + 0x44]
inc dword [eax]
push dword [esi + 0x38]
push 0
call fcn.004aaca0
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.0049fbd0
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 0x4a0800
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x14], 0
jle 0x4a08f8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4a08a7
mov edx, dword [esi + 0x4c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a08a2
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
jmp 0x4a08d8
cmp eax, dword [esi + 0x50]
jne 0x4a08b9
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x48]
inc eax
push eax
call fcn.004b2b60
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x48]
push 0
call fcn.004aad00
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.004a0140
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 0x4a0886
cmp dword [edi + 0x34], 0
mov dword [ebp - 0x14], 0
jle 0x4a0982
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
nop
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4a0931
mov edx, dword [esi + 0x5c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a092c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x5c], eax
jmp 0x4a0962
cmp eax, dword [esi + 0x60]
jne 0x4a0943
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x58]
inc eax
push eax
call fcn.004b2b60
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x58]
push 0
call fcn.004aada0
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.004a0cf0
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 0x4a0910
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x14], 0
jle 0x4a0a12
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
nop dword [eax]
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4a09c1
mov edx, dword [esi + 0x6c]
mov eax, dword [ecx]
cmp edx, eax
jge 0x4a09bc
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
jmp 0x4a09f2
cmp eax, dword [esi + 0x70]
jne 0x4a09d3
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x68]
inc eax
push eax
call fcn.004b2b60
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x68]
push 0
call fcn.004aad40
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.004a0330
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 0x4a09a0
mov esi, dword [edi + 0x4c]
call fcn.004e1800
cmp esi, eax
je 0x4a0a6a
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x4c]
or dword [ebx + 8], 8
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x4a0a62
push 0x50
call fcn.004f8f4d
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a0a53
mov ecx, eax
call fcn.004cf570
jmp 0x4a0a55
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x84], eax
push esi
mov ecx, eax
call fcn.004d4e90
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