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

Disassembly:
sub esp, 0x64
mov eax, dword [0x886f80]
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 + 0x31]
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [ecx + 0x18]
push edi
push 0x3c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], ebp
mov dword [ebx], 2
mov dword [ebx + 4], ecx
mov dword [esp + 0x3c], 0
call fcn.004e6e40
imul eax, esi, 0x64
xor edi, edi
add esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
cmp byte [eax + 0x50b414], 0
jbe 0x4a5685
imul ebp, esi, 0x19
mov dword [esp + 0x14], ebp
push edi
push dword [esp + 0x30]
push ebx
call fcn.0041d5e0
lea ecx, [edi + ebp]
add esp, 0xc
mov ecx, dword [ecx*4 + 0x50b42c]
mov edx, eax
mov dword [esp + 0x24], edx
test cl, 0x79
jne 0x4a55b7
mov ebp, dword [edx]
xor eax, eax
cmp dword [ebp + 0xc], eax
cmovne ebp, eax
test cl, 6
je 0x4a559d
cmp dword [esp + 0x18], 0x20
jne 0x4a559d
test ebp, ebp
je 0x4a559d
mov eax, dword [ebp + 0x18]
cmp eax, 0x25
je 0x4a556e
cmp eax, 0x22
jne 0x4a559d
push 0x23
push dword [ebx + 0xc]
call fcn.00406d20
mov edi, eax
lea ecx, [ebp + 0x34]
push ecx
lea ecx, [edi + 0x34]
push ecx
call fcn.00406ec0
push edi
push ebx
call fcn.0041cfc0
mov edi, dword [esp + 0x34]
mov edx, eax
add esp, 0x18
mov dword [esp + 0x24], edx
jmp 0x4a55b7
mov ebp, dword [esp + 0x18]
push 0
or ebp, ecx
push ebp
push ecx
push edx
push ebx
call fcn.0041d640
add esp, 0x14
mov dword [esp + 0x24], eax
mov edx, eax
cmp edi, 1
jne 0x4a5661
cmp esi, 0x139
je 0x4a5600
cmp esi, 0x13a
je 0x4a5600
cmp esi, 0x1ac
je 0x4a5600
cmp esi, 0x7c
je 0x4a5600
cmp esi, 0x7f
je 0x4a5600
cmp esi, 0x7d
je 0x4a5600
cmp esi, 0x7e
je 0x4a5600
cmp esi, 0x78
je 0x4a5600
cmp esi, 0x7b
je 0x4a5600
cmp esi, 0x79
je 0x4a5600
cmp esi, 0x7a
jne 0x4a5661
mov eax, dword [esp + 0x10]
cdq
add eax, 0xffffffff
push 0x20
adc edx, 0xffffffff
push edx
push eax
call fcn.0040f5b0
push 0x20
push 1
push dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.004097b0
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x4a564c
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x20]
push ebp
push ebx
mov dword [ebp + 0x34], eax
call fcn.0041d130
add esp, 8
add ebp, 0x18
push ebp
push dword [esp + 0x28]
push 0x10d
push ebx
call fcn.0041cdb0
add esp, 0x10
mov edx, eax
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
mov dword [esp + edi*4 + 0x30], edx
inc edi
mov dword [esp + 0x1c], edi
movzx eax, byte [eax + 0x50b414]
cmp edi, eax
jb 0x4a5524
mov ebp, dword [esp + 0x18]
cmp esi, 0x12c
je 0x4a583a
cmp esi, 0x192
je 0x4a583a
cmp esi, 0x10c
je 0x4a5743
cmp esi, 0x13d
je 0x4a56d9
cmp esi, 0x173
je 0x4a5743
cmp esi, 0x172
je 0x4a5743
lea eax, [esp + 0x30]
push eax
push esi
push ebx
call fcn.0041cf40
add esp, 0xc
jmp 0x4a58c5
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x13c
push ebx
call fcn.0041cdb0
add esp, 0x10
mov edi, eax
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
mov edx, 0x7fffffff
call fcn.004e6390
mov ecx, eax
not ecx
mov dword [esp + 0x1c], ecx
mov ecx, edx
push ebp
push edx
not ecx
push eax
mov dword [esp + 0x2c], ecx
call fcn.0040f5b0
push dword [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x24], edx
push 1
push dword [ebx + 0xc]
call fcn.004097b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4a57b8
xor ebp, ebp
jmp 0x4a57cf
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x10a
push ebx
call fcn.0041cdb0
add esp, 0x10
mov edi, eax
cmp esi, 0x10c
je 0x4a56f1
cmp esi, 0x13d
je 0x4a56f1
cmp esi, 0x173
jne 0x4a57a5
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, dword [esp + 0x10]
or edx, 0xffffffff
push ebp
call fcn.004e5e00
push edx
push eax
push ebx
call fcn.00410320
push eax
push edi
push 0x18b
push ebx
call fcn.0041cdb0
add esp, 0x20
jmp 0x4a58c5
push dword [esp + 0x10]
push edi
push ebx
call fcn.00411b90
add esp, 0xc
jmp 0x4a58c5
mov eax, dword [esp + 0x14]
push esi
mov dword [esi + 0x30], ebp
push ebx
mov dword [esi + 0x34], eax
call fcn.0041d130
add esp, 8
lea ebp, [esi + 0x18]
mov esi, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0040f5b0
push esi
push 1
push dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
call fcn.004097b0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4a5818
mov eax, dword [esp + 0x14]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
push esi
push ebx
mov dword [esi + 0x34], eax
call fcn.0041d130
add esp, 8
add esi, 0x18
push esi
push edi
push 0x123
push ebx
call fcn.0041cdb0
push ebp
push eax
push 0x124
push ebx
call fcn.0041cdb0
add esp, 0x20
jmp 0x4a58c5
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x127
push ebx
call fcn.0041cdb0
mov edx, dword [esp + 0x38]
add esp, 0x10
mov esi, eax
test byte [edx + 0x50b418], 4
je 0x4a586f
push dword [esp + 0x10]
push esi
push ebx
call fcn.00411b90
add esp, 0xc
jmp 0x4a58c5
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4a58cb
mov eax, edx
cdq
push 0x20
push edx
push eax
call fcn.0040f5b0
push 0x20
push 1
push dword [ebx + 0xc]
mov ebp, eax
mov dword [esp + 0x2c], edx
call fcn.004097b0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4a58b5
mov eax, dword [esp + 0x14]
push edi
mov dword [edi + 0x30], ebp
push ebx
mov dword [edi + 0x34], eax
call fcn.0041d130
add esp, 8
add edi, 0x18
push edi
push esi
push 0x13a
push ebx
call fcn.0041cdb0
add esp, 0x10
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x50b418]
test cl, 0x79
jne 0x4a58f4
cmp edx, dword [esp + 0x18]
je 0x4a58f4
push 0
mov eax, ecx
or eax, edx
push eax
push ecx
push esi
push ebx
call fcn.0041d640
add esp, 0x14
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0x20
push esi
push eax
call fcn.00407b40
mov ecx, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5b77
add esp, 0x64
ret