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

Disassembly:
sub esp, 0x64
mov eax, dword [0x97efc0]
xor eax, esp
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
movzx eax, byte [ecx + 0x35]
push esi
mov esi, dword [ecx + 0x18]
push edi
mov edi, dword [esp + 0x80]
push 0x3c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
mov dword [ebx], 2
mov dword [ebx + 4], ecx
mov dword [esp + 0x3c], 0
call fcn.004f03f0
imul eax, esi, 0x64
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x51451c], 0
jbe 0x4a8e8a
imul eax, esi, 0x19
mov dword [esp + 0x24], eax
push ebp
push dword [esp + 0x30]
push ebx
call fcn.0041e0a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
add ecx, ebp
mov edi, eax
mov ecx, dword [ecx*4 + 0x514534]
test cl, 0x79
jne 0x4a8dbd
mov ebp, dword [edi]
xor eax, eax
mov edx, dword [esp + 0x20]
cmp dword [ebp + 0xc], eax
cmovne ebp, eax
test cl, 6
je 0x4a8da7
cmp edx, 0x20
jne 0x4a8da7
test ebp, ebp
je 0x4a8da7
mov eax, dword [ebp + 0x18]
cmp eax, 0x25
je 0x4a8d82
cmp eax, 0x22
jne 0x4a8da7
push 0x23
push dword [ebx + 0x10]
call fcn.00407120
mov edi, eax
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [edi + 0x38]
push ecx
call fcn.004072e0
push edi
push ebx
call fcn.0041da60
add esp, 0x18
jmp 0x4a8db7
push 0
or edx, ecx
push edx
push ecx
push edi
push ebx
call fcn.0041e100
add esp, 0x14
mov ebp, dword [esp + 0x14]
mov edi, eax
cmp ebp, 1
jne 0x4a8e6a
cmp esi, 0x152
je 0x4a8e06
cmp esi, 0x153
je 0x4a8e06
cmp esi, 0x1c5
je 0x4a8e06
cmp esi, 0x7c
je 0x4a8e06
cmp esi, 0x7f
je 0x4a8e06
cmp esi, 0x7d
je 0x4a8e06
cmp esi, 0x7e
je 0x4a8e06
cmp esi, 0x78
je 0x4a8e06
cmp esi, 0x7b
je 0x4a8e06
cmp esi, 0x79
je 0x4a8e06
cmp esi, 0x7a
jne 0x4a8e6a
mov eax, dword [esp + 0x10]
cdq
add eax, 0xffffffff
push 0x20
adc edx, 0xffffffff
push edx
push eax
call fcn.0040fcf0
push 0x20
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
call fcn.00409bc0
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a8e58
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x28]
push eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.0041dbe0
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 0x18
push eax
push edi
push 0x125
push ebx
call fcn.0041d850
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + ebp*4 + 0x30], edi
inc ebp
mov dword [esp + 0x14], ebp
movzx eax, byte [eax + 0x51451c]
cmp ebp, eax
jb 0x4a8d37
mov edi, dword [esp + 0x20]
cmp esi, 0x145
je 0x4a904b
cmp esi, 0x1ae
je 0x4a904b
cmp esi, 0x124
je 0x4a8f49
cmp esi, 0x156
je 0x4a8ede
cmp esi, 0x18f
je 0x4a8f49
cmp esi, 0x18e
je 0x4a8f49
lea eax, [esp + 0x30]
push eax
push esi
push ebx
call fcn.0041d9e0
add esp, 0xc
jmp 0x4a90d8
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x155
push ebx
call fcn.0041d850
add esp, 0x10
mov ebp, eax
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
mov edx, 0x7fffffff
call fcn.004ef680
mov ecx, eax
not ecx
mov dword [esp + 0x24], ecx
mov ecx, edx
push edi
push edx
not ecx
push eax
mov dword [esp + 0x34], ecx
call fcn.0040fcf0
push edi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409bc0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4a8fbe
mov dword [esp + 0x14], eax
jmp 0x4a8fdd
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x122
push ebx
call fcn.0041d850
add esp, 0x10
mov ebp, eax
cmp esi, 0x124
je 0x4a8ef6
cmp esi, 0x156
je 0x4a8ef6
cmp esi, 0x18f
jne 0x4a8fab
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
or edx, 0xffffffff
push edi
call fcn.004eef20
push edx
push eax
push ebx
call fcn.00410a00
push eax
push ebp
push 0x1a7
push ebx
call fcn.0041d850
add esp, 0x20
jmp 0x4a90d8
push dword [esp + 0x10]
push ebp
push ebx
call fcn.004122d0
add esp, 0xc
jmp 0x4a90d8
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x18]
push edi
push ebx
mov dword [edi + 0x34], eax
call fcn.0041dbe0
lea eax, [edi + 0x18]
add esp, 8
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0040fcf0
push edi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409bc0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4a9026
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x18]
push edi
push ebx
mov dword [edi + 0x34], eax
call fcn.0041dbe0
add esp, 8
add edi, 0x18
push edi
push ebp
push 0x13c
push ebx
call fcn.0041d850
push dword [esp + 0x24]
push eax
push 0x13d
push ebx
call fcn.0041d850
add esp, 0x20
jmp 0x4a90d8
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x140
push ebx
call fcn.0041d850
mov ebp, dword [esp + 0x20]
mov edi, eax
imul eax, esi, 0x64
add esp, 0x10
test byte [eax + 0x514520], 4
je 0x4a9080
push ebp
push edi
push ebx
call fcn.004122d0
add esp, 0xc
jmp 0x4a90dc
test ebp, ebp
je 0x4a90de
mov eax, ebp
cdq
push 0x20
push edx
push eax
call fcn.0040fcf0
push 0x20
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409bc0
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x4a90c8
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x18]
push ebp
push ebx
mov dword [ebp + 0x34], eax
call fcn.0041dbe0
add esp, 8
add ebp, 0x18
push ebp
push edi
push 0x153
push ebx
call fcn.0041d850
add esp, 0x10
mov ebp, dword [esp + 0x10]
mov edi, eax
imul eax, esi, 0x64
mov ecx, dword [eax + 0x514520]
test cl, 0x79
jne 0x4a9106
cmp ebp, dword [esp + 0x20]
je 0x4a9106
push 0
mov eax, ecx
or eax, ebp
push eax
push ecx
push edi
push ebx
call fcn.0041e100
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, 0x24
push edi
push eax
call fcn.00407f10
mov ecx, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eec95
add esp, 0x64
ret