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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4a4e25
sub esp, 0x10c
mov eax, dword [esp + 0x110]
test eax, eax
je 0x4a4dde
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x4a4dde
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4a4c31
movzx edx, byte [eax + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4a4c2b
or edx, 0x80
mov ebx, dword [esp + 0x58]
jmp 0x4a4c37
xor edx, edx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4a4c6b
movzx ebp, byte [ecx + 0xf]
nop
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4a4c65
or ebp, 0x80
mov esi, dword [esp + 0x50]
jmp 0x4a4c71
xor ebp, ebp
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], eax
test edx, edx
je 0x4a4ca5
test edx, 0x200
jne 0x4a4ca5
mov edi, eax
lea eax, [0x7767c4]
mov dword [esp + 0x2c], eax
mov eax, edi
jmp 0x4a4cdb
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004aed40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
test ebp, ebp
je 0x4a4cff
test ebp, 0x200
jne 0x4a4cff
mov dword [esp + 0x30], eax
lea eax, [0x7767c4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x4a4d33
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004aed40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp ebp, esi
jne 0x4a4d58
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004042b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a4d67
mov byte [esp + 0x120], 0
add esp, 0x10c
ret
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00468c29
lea edi, [esp + 0x78]
call fcn.00468c0b
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
call fcn.00452ef0
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.004a3370
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x120], cl
add esp, 0x10c
ret
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x110]
cmp eax, ecx
je 0x4a4df4
xor eax, eax
jmp 0x4a4e17
mov dword [esp], ecx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], eax
call fcn.004041d0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x120], al
add esp, 0x10c
ret
call fcn.00467590
jmp fcn.004a4bc0