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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4a8a1f
sub esp, 0x10c
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x4a89d8
mov edx, dword [esp + 0x118]
test edx, edx
je 0x4a89d8
nop
movzx ebx, byte [0x7bb648]
test bl, bl
je 0x4a87b9
mov ebx, dword [esp + 0x110]
mov dword [0x7bb64c], ebx
mov ebx, dword [0x7e1c20]
test ebx, ebx
jne 0x4a87a3
mov ebx, dword [esp + 0x114]
mov dword [0x7bb650], ebx
jmp 0x4a87c0
lea edi, [0x7bb650]
mov eax, dword [esp + 0x114]
call fcn.004610d0
mov ebx, eax
jmp 0x4a87c0
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a87e9
nop
movzx ebp, byte [ecx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4a87ef
or ebp, 0x80
jmp 0x4a87ef
xor ebp, ebp
xor ecx, ecx
xor ebx, ebx
nop
movzx esi, byte [0x7bb648]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a8837
mov esi, dword [esp + 0x118]
mov dword [0x7bb64c], esi
mov esi, dword [0x7e1c20]
test esi, esi
jne 0x4a8823
mov eax, dword [esp + 0x11c]
mov dword [0x7bb650], eax
jmp 0x4a883e
lea edi, [0x7bb650]
mov eax, dword [esp + 0x11c]
call fcn.004610d0
jmp 0x4a883e
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4a8867
nop
movzx esi, byte [edx + 0xf]
mov edi, esi
and esi, 0x1f
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x4a886d
or esi, 0x80
jmp 0x4a886d
xor esi, esi
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x4a88a1
test ebp, 0x200
jne 0x4a88a1
mov edi, ecx
lea ecx, [0x669338]
mov dword [esp + 0x2c], ecx
mov ecx, edi
jmp 0x4a88d5
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004b0880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
test esi, esi
je 0x4a88f9
test esi, 0x200
jne 0x4a88f9
mov dword [esp + 0x30], eax
lea eax, [0x669338]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x4a892d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004b0880
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp esi, eax
jne 0x4a8952
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a8961
mov byte [esp + 0x120], 0
add esp, 0x10c
ret
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00461349
lea edi, [esp + 0x78]
call fcn.0046132b
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
call fcn.0044f2b0
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ecx
call fcn.004a6ec0
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x120], cl
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x118]
cmp eax, ecx
je 0x4a89ee
xor eax, eax
jmp 0x4a8a11
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], eax
call fcn.004036b0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x120], al
add esp, 0x10c
ret
call fcn.0045fcc0
jmp fcn.004a8730