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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531117
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56d380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
or dword [esi + 0xbc], 1
cmp dword [esi + 8], 0x56c47c
jne 0x4a5c65
push 0x1c
call fcn.00500120
add esp, 4
test eax, eax
je 0x4a5c60
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4a5c62
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push ebx
call fcn.0040e810
mov ebx, dword [edi + 4]
cmp dword [ebx + 0x10], 0
je 0x4a5cbe
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x56c47c
jne 0x4a5cb1
push 0x1c
call fcn.00500120
add esp, 4
test eax, eax
je 0x4a5cac
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4a5cae
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push ebx
call fcn.0040e810
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jle 0x4a5d20
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jge 0x4a5ce6
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x14], eax
jmp 0x4a5d0d
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x4a5cf7
inc eax
push eax
lea ecx, [esi + 0x10]
call fcn.00485120
inc dword [esi + 0x18]
call fcn.00485190
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040e810
inc ebx
cmp ebx, dword [edi + 0xc]
jl 0x4a5cc5
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x10], 0
jle 0x4a5db3
xor ebx, ebx
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
cmp ecx, eax
jge 0x4a5d49
mov edx, dword [esi + 0x30]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [esi + 0x34], ecx
jmp 0x4a5d96
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jne 0x4a5d5a
inc ecx
push ecx
lea ecx, [esi + 0x30]
call fcn.00485120
inc dword [esi + 0x38]
push 0xb8
call fcn.00500120
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a5d81
mov ecx, eax
call fcn.004cbab0
jmp 0x4a5d83
xor eax, eax
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x34]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x18]
push eax
add ecx, ebx
call fcn.004a4c00
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 0x40
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x14]
jl 0x4a5d33
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], 0
test eax, eax
jle 0x4a5e56
mov dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jge 0x4a5de7
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x54], ecx
mov ebx, 1
jmp 0x4a5e32
mov ecx, dword [esi + 0x5c]
cmp eax, ecx
jne 0x4a5df8
inc ecx
push ecx
lea ecx, [esi + 0x50]
call fcn.00485120
mov ebx, 1
add dword [esi + 0x58], ebx
push 0x38
call fcn.00500120
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x4a5e1d
mov ecx, eax
call fcn.004cbf80
jmp 0x4a5e1f
xor eax, eax
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov dword [edx + ecx*4], eax
add dword [esi + 0x54], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x20]
add ecx, dword [ebp - 0x10]
push eax
call fcn.004a1340
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x20
add eax, ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x1c]
jl 0x4a5dcc
mov esi, dword [ebp + 8]
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x14], 0
jle 0x4a5eed
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
cmp ecx, eax
jge 0x4a5e86
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x74], ecx
jmp 0x4a5ed0
mov ecx, dword [esi + 0x7c]
cmp eax, ecx
jne 0x4a5e97
inc ecx
push ecx
lea ecx, [esi + 0x70]
call fcn.00485120
inc dword [esi + 0x78]
push 0x38
call fcn.00500120
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4a5ebb
mov ecx, eax
call fcn.004cc2a0
jmp 0x4a5ebd
xor eax, eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x74]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x28]
push eax
add ecx, ebx
call fcn.004a14a0
mov eax, dword [ebp - 0x14]
inc eax
add ebx, 0x18
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x24]
jl 0x4a5e70
mov esi, dword [ebp + 8]
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x14], 0
jle 0x4a5f9f
xor ebx, ebx
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x98]
cmp ecx, eax
jge 0x4a5f22
mov eax, dword [esi + 0x90]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x94], ecx
jmp 0x4a5f7e
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jne 0x4a5f39
inc ecx
push ecx
lea ecx, [esi + 0x90]
call fcn.00485120
inc dword [esi + 0x98]
push 0x30
call fcn.00500120
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4a5f60
mov ecx, eax
call fcn.004c8040
jmp 0x4a5f62
xor eax, eax
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x94]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x30]
push eax
add ecx, ebx
call fcn.004a3020
mov eax, dword [ebp - 0x14]
inc eax
add ebx, 0x48
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x2c]
jl 0x4a5f00
mov esi, dword [ebp + 8]
mov ebx, dword [edi + 0x34]
call fcn.004c6830
cmp ebx, eax
je 0x4a5ffd
mov edi, dword [edi + 0x34]
or dword [esi + 0xbc], 0x80
cmp dword [esi + 0xb0], 0
jne 0x4a5ff1
push 0x54
call fcn.00500120
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4a5fe2
mov ecx, eax
call fcn.004cc630
jmp 0x4a5fe4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb0]
push edi
call fcn.004d99f0
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