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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a6392
sub esp, 0x60
mov edx, dword [esp + 0x68]
test edx, edx
je 0x4a5e6e
mov ebx, dword [esp + 0x6c]
lea ebp, [ebx - 2]
cmp ebp, 0x22
ja 0x4a5c00
mov ebp, dword [esp + 0x64]
mov ecx, ebx
mov eax, edx
mov esi, ebp
jmp 0x4a5c8f
test ebx, ebx
jne 0x4a5e1f
mov ebp, dword [esp + 0x64]
cmp byte [ebp], 0x30
jne 0x4a5c86
cmp edx, 3
jl 0x4a5c6a
movzx esi, byte [ebp + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x62
xchg esi, eax
jne 0x4a5c34
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov ecx, 2
mov eax, edi
jmp 0x4a5c8f
cmp edx, 3
jl 0x4a5c6a
xchg esi, eax
cmp al, 0x6f
xchg esi, eax
jne 0x4a5c4f
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov ecx, 8
mov eax, edi
jmp 0x4a5c8f
cmp edx, 3
jl 0x4a5c6a
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x4a5c6a
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov ecx, 0x10
mov eax, edi
jmp 0x4a5c8f
lea edi, [edx - 1]
mov eax, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
lea esi, [ebp + edi]
mov ecx, 8
jmp 0x4a5c8f
mov ecx, 0xa
mov eax, edx
mov esi, ebp
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x4a5c9e
mov edi, 0x20
jmp 0x4a5ca7
cmp edi, 0x40
ja 0x4a5dd4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], ecx
cmp ecx, 0xa
jne 0x4a5cd0
mov dword [esp + 0x54], eax
mov eax, 0x9999999a
mov dword [esp + 0x28], eax
mov eax, 0x19999999
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x4a5d49
cmp ecx, 0x10
jne 0x4a5cee
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, 0x10000000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x4a5d49
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0xffffffff
mov eax, ecx
sar ecx, 0x1f
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00458fd0
mov eax, dword [esp + 0x10]
add eax, 1
mov ecx, dword [esp + 0x14]
adc ecx, 0
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp edi, 0x20
sbb edx, edx
mov ecx, edi
mov ebp, 1
shl ebp, cl
and ebp, edx
mov edx, ebp
add ebp, 0xffffffff
mov dword [esp + 0x24], ebp
add ecx, 0xffffffe0
mov edi, ecx
neg ecx
mov dword [esp + 0x34], ecx
cmp ecx, 0x20
sbb ebp, ebp
cmp edi, 0x20
sbb ebx, ebx
mov ecx, edi
mov esi, 1
shl esi, cl
and esi, ebx
mov ecx, dword [esp + 0x34]
mov ebx, 1
shr ebx, cl
and ebx, ebp
or ebx, esi
add edx, 0xffffffff
adc ebx, 0xffffffff
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x1a], al
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
jmp 0x4a5f1d
lea eax, [0x62f10e]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
call fcn.004a5a80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x62f10e]
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004a5940
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a5ea9
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a5eb9
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c027c]
mov edx, dword [0x7c0278]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a5ed7
mov dword [eax + 0x14], ecx
jmp 0x4a5ee5
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
inc ebx
mov dword [esp + 0x3c], ebx
xchg esi, eax
mov byte [esp + 0x1a], al
xchg esi, eax
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jle 0x4a62a9
movzx esi, byte [ebp + ebx]
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
jne 0x4a5f40
test ecx, ecx
jne 0x4a5f40
mov esi, 1
jmp 0x4a5f0a
lea ecx, [esi - 0x30]
cmp cl, 9
jbe 0x4a5f64
or esi, 0x20
xchg esi, eax
cmp al, 0x61
xchg esi, eax
jb 0x4a620d
xchg esi, eax
cmp al, 0x7a
xchg esi, eax
ja 0x4a620d
lea ecx, [esi - 0x57]
mov esi, dword [esp + 0x40]
xchg esi, eax
cmp cl, al
xchg esi, eax
jae 0x4a6171
mov byte [esp + 0x1b], cl
mov ebp, dword [esp + 0x20]
cmp ebp, edi
seta bl
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
setae dl
cmp ebp, edi
xchg edi, ebx
sete bl
xchg edi, ebx
and edx, edi
or edx, ebx
test dl, dl
jne 0x4a60d5
mov edx, eax
mov eax, ecx
mov ebx, edx
mul esi
movzx edi, byte [esp + 0x1b]
xchg edi, eax
movzx eax, al
xchg edi, eax
mov dword [esp + 0x34], edi
add edi, eax
imul ebp, esi
sar esi, 0x1f
imul ecx, esi
add edx, ebp
add ecx, edx
mov edx, dword [esp + 0x34]
add edx, eax
mov edx, ecx
adc ecx, 0
cmp eax, edi
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp ecx, edx
sete dl
xchg esi, ebx
setb bl
xchg esi, ebx
and edx, ebp
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a6039
mov edx, dword [esp + 0x24]
cmp edi, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x30]
cmp ecx, esi
xchg esi, ebx
sete bl
xchg esi, ebx
seta dl
and esi, ebp
or edx, esi
test dl, dl
jne 0x4a6039
mov eax, ebx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x5c]
movzx esi, byte [esp + 0x1a]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x2c]
jmp 0x4a5f0a
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a6074
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a6084
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c0274]
mov edx, dword [0x7c0270]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a60a2
mov dword [eax + 0x14], ecx
jmp 0x4a60b0
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a6110
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a6120
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c0274]
mov edx, dword [0x7c0270]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a613e
mov dword [eax + 0x14], ecx
jmp 0x4a614c
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a61ac
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a61bc
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c027c]
mov edx, dword [0x7c0278]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a61da
mov dword [eax + 0x14], ecx
jmp 0x4a61e8
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a6248
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a6258
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c027c]
mov edx, dword [0x7c0278]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a6276
mov dword [eax + 0x14], ecx
jmp 0x4a6284
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
movzx eax, byte [esp + 0x1a]
test al, al
je 0x4a62cf
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.004a6ad0
movzx eax, byte [esp + 8]
test al, al
je 0x4a62f6
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
lea eax, [0x617300]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f10e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x4a6331
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4a6341
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [0x7c027c]
mov edx, dword [0x7c0278]
mov dword [eax + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x4a635f
mov dword [eax + 0x14], ecx
jmp 0x4a636d
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.0045e950
mov eax, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68baa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
call fcn.0045d540
jmp fcn.004a5bc0