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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a1f0b
add esp, 0xffffff80
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x94]
add edx, ebx
mov dword [esp + 0x50], edx
cmp eax, edx
jae 0x4a1bec
jmp 0x4a1bf2
mov dword [esp + 0x58], edx
jmp 0x4a1c31
mov ebx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
jmp 0x4a1c31
mov eax, dword [esp + 0x94]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x94]
add eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00476100
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
inc edx
cmp eax, edx
jae 0x4a1c92
jmp 0x4a1c94
jmp 0x4a1cc4
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x4a1cc4
lea ebx, [edx + ecx - 1]
mov byte [ebx], 0x3a
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x98]
test ebx, ebx
jl 0x4a1cf8
jmp 0x4a1d59
inc edx
cmp eax, edx
jae 0x4a1cff
jmp 0x4a1d01
jmp 0x4a1d31
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x4a1d31
lea ebx, [edx + ecx - 1]
mov byte [ebx], 0x2d
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x3c]
neg ecx
mov dword [esp + 0x3c], ecx
jmp 0x4a1d5b
jmp 0x4a1d5b
lea edi, [esp + 0x23]
xor eax, eax
call fcn.00475a0a
mov dword [esp + 0x40], 0x18
jmp 0x4a1d70
cmp dword [esp + 0x40], 0x18
sete dl
mov byte [esp + 0x3b], dl
je 0x4a1d80
jmp 0x4a1d82
jmp 0x4a1d91
mov edx, dword [esp + 0x3c]
test edx, edx
seta dl
mov byte [esp + 0x3b], dl
jmp 0x4a1d91
movzx edx, byte [esp + 0x3b]
test dl, dl
jne 0x4a1d9c
jmp 0x4a1de7
mov edx, dword [esp + 0x40]
lea ebx, [edx - 1]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x3c]
mov eax, 0xcccccccd
mov ecx, edx
mul ebp
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
sub ebp, edx
lea edx, [ebp + 0x30]
cmp ebx, 0x18
jb 0x4a1dcb
jmp 0x4a1efe
lea ebx, [esp + ecx + 0x22]
mov byte [ebx], dl
mov edx, dword [esp + 0x3c]
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x3c], edx
jmp 0x4a1de5
jmp 0x4a1d70
lea edx, [esp + 0x23]
test byte [edx], al
mov eax, dword [esp + 0x40]
cmp eax, 0x18
jbe 0x4a1dfb
jmp 0x4a1ef4
lea ecx, [eax - 0x18]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x64]
add edx, ebx
mov dword [esp + 0x48], edx
cmp eax, edx
jae 0x4a1e48
jmp 0x4a1e4e
mov dword [esp + 0x74], edx
jmp 0x4a1e8a
mov ebx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x511660]
mov dword [esp + 0x10], eax
call fcn.00471230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4a1e8a
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x64]
add eax, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00476100
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
sub esp, 0xffffff80
ret
mov ecx, 0x18
call fcn.00475890
mov eax, ebx
mov ecx, 0x18
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004a1b80