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

Disassembly:
sub esp, 0x64
mov eax, dword [0x97ffc0]
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.004f0560
imul eax, esi, 0x64
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x51455c], 0
jbe 0x4a8f3a
imul eax, esi, 0x19
mov dword [esp + 0x24], eax
push ebp
push dword [esp + 0x30]
push ebx
call fcn.0041e0e0
mov ecx, dword [esp + 0x30]
add esp, 0xc
add ecx, ebp
mov edi, eax
mov ecx, dword [ecx*4 + 0x514574]
test cl, 0x79
jne 0x4a8e6d
mov ebp, dword [edi]
xor eax, eax
mov edx, dword [esp + 0x20]
cmp dword [ebp + 0xc], eax
cmovne ebp, eax
test cl, 6
je 0x4a8e57
cmp edx, 0x20
jne 0x4a8e57
test ebp, ebp
je 0x4a8e57
mov eax, dword [ebp + 0x18]
cmp eax, 0x25
je 0x4a8e32
cmp eax, 0x22
jne 0x4a8e57
push 0x23
push dword [ebx + 0x10]
call fcn.00407140
mov edi, eax
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [edi + 0x38]
push ecx
call fcn.00407300
push edi
push ebx
call fcn.0041daa0
add esp, 0x18
jmp 0x4a8e67
push 0
or edx, ecx
push edx
push ecx
push edi
push ebx
call fcn.0041e140
add esp, 0x14
mov ebp, dword [esp + 0x14]
mov edi, eax
cmp ebp, 1
jne 0x4a8f1a
cmp esi, 0x152
je 0x4a8eb6
cmp esi, 0x153
je 0x4a8eb6
cmp esi, 0x1c5
je 0x4a8eb6
cmp esi, 0x7c
je 0x4a8eb6
cmp esi, 0x7f
je 0x4a8eb6
cmp esi, 0x7d
je 0x4a8eb6
cmp esi, 0x7e
je 0x4a8eb6
cmp esi, 0x78
je 0x4a8eb6
cmp esi, 0x7b
je 0x4a8eb6
cmp esi, 0x79
je 0x4a8eb6
cmp esi, 0x7a
jne 0x4a8f1a
mov eax, dword [esp + 0x10]
cdq
add eax, 0xffffffff
push 0x20
adc edx, 0xffffffff
push edx
push eax
call fcn.0040fd20
push 0x20
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
call fcn.00409be0
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a8f08
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.0041dc20
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 0x18
push eax
push edi
push 0x125
push ebx
call fcn.0041d890
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 + 0x51455c]
cmp ebp, eax
jb 0x4a8de7
mov edi, dword [esp + 0x20]
cmp esi, 0x145
je 0x4a90fb
cmp esi, 0x1ae
je 0x4a90fb
cmp esi, 0x124
je 0x4a8ff9
cmp esi, 0x156
je 0x4a8f8e
cmp esi, 0x18f
je 0x4a8ff9
cmp esi, 0x18e
je 0x4a8ff9
lea eax, [esp + 0x30]
push eax
push esi
push ebx
call fcn.0041da20
add esp, 0xc
jmp 0x4a9188
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x155
push ebx
call fcn.0041d890
add esp, 0x10
mov ebp, eax
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
mov edx, 0x7fffffff
call fcn.004ef7f0
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.0040fd20
push edi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409be0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4a906e
mov dword [esp + 0x14], eax
jmp 0x4a908d
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x122
push ebx
call fcn.0041d890
add esp, 0x10
mov ebp, eax
cmp esi, 0x124
je 0x4a8fa6
cmp esi, 0x156
je 0x4a8fa6
cmp esi, 0x18f
jne 0x4a905b
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
or edx, 0xffffffff
push edi
call fcn.004ef090
push edx
push eax
push ebx
call fcn.00410a30
push eax
push ebp
push 0x1a7
push ebx
call fcn.0041d890
add esp, 0x20
jmp 0x4a9188
push dword [esp + 0x10]
push ebp
push ebx
call fcn.00412300
add esp, 0xc
jmp 0x4a9188
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.0041dc20
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.0040fd20
push edi
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409be0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4a90d6
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.0041dc20
add esp, 8
add edi, 0x18
push edi
push ebp
push 0x13c
push ebx
call fcn.0041d890
push dword [esp + 0x24]
push eax
push 0x13d
push ebx
call fcn.0041d890
add esp, 0x20
jmp 0x4a9188
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x140
push ebx
call fcn.0041d890
mov ebp, dword [esp + 0x20]
mov edi, eax
imul eax, esi, 0x64
add esp, 0x10
test byte [eax + 0x514560], 4
je 0x4a9130
push ebp
push edi
push ebx
call fcn.00412300
add esp, 0xc
jmp 0x4a918c
test ebp, ebp
je 0x4a918e
mov eax, ebp
cdq
push 0x20
push edx
push eax
call fcn.0040fd20
push 0x20
push 1
push dword [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00409be0
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x4a9178
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.0041dc20
add esp, 8
add ebp, 0x18
push ebp
push edi
push 0x153
push ebx
call fcn.0041d890
add esp, 0x10
mov ebp, dword [esp + 0x10]
mov edi, eax
imul eax, esi, 0x64
mov ecx, dword [eax + 0x514560]
test cl, 0x79
jne 0x4a91b6
cmp ebp, dword [esp + 0x20]
je 0x4a91b6
push 0
mov eax, ecx
or eax, ebp
push eax
push ecx
push edi
push ebx
call fcn.0041e140
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, 0x24
push edi
push eax
call fcn.00407f30
mov ecx, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eee05
add esp, 0x64
ret