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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4a1105
sub esp, 0x90
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4a0a67
mov ebx, dword [esp + 0x9c]
lea ebp, [ebx - 2]
cmp ebp, 0x22
ja 0x4a07de
mov ebp, dword [esp + 0x94]
mov eax, ebx
mov edi, edx
mov esi, ebp
jmp 0x4a0866
test ebx, ebx
jne 0x4a0a09
mov ebp, dword [esp + 0x94]
cmp byte [ebp], 0x30
jne 0x4a085d
cmp edx, 3
jl 0x4a0845
movzx esi, byte [ebp + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x62
xchg esi, eax
jne 0x4a0813
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 2
jmp 0x4a0866
cmp edx, 3
jl 0x4a0845
xchg esi, eax
cmp al, 0x6f
xchg esi, eax
jne 0x4a082c
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 8
jmp 0x4a0866
cmp edx, 3
jl 0x4a0845
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x4a0845
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 0x10
jmp 0x4a0866
lea edi, [edx - 1]
mov eax, edi
neg eax
sar eax, 0x1f
and eax, 1
lea esi, [ebp + eax]
mov eax, 8
jmp 0x4a0866
mov eax, 0xa
mov edi, edx
mov esi, ebp
mov ecx, edx
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x4a087a
mov edx, 0x20
jmp 0x4a0883
cmp edx, 0x40
ja 0x4a09b2
mov dword [esp + 0x70], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x6c], eax
cmp eax, 0xa
jne 0x4a08af
mov dword [esp + 0x58], eax
mov eax, 0x9999999a
mov dword [esp + 0x40], eax
mov eax, 0x19999999
mov dword [esp + 0x44], eax
jmp 0x4a0926
cmp eax, 0x10
jne 0x4a08c9
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, 0x10000000
mov dword [esp + 0x44], eax
jmp 0x4a0926
mov dword [esp + 0x68], edx
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
call fcn.00464910
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 1
adc ecx, 0
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x98]
mov ecx, edx
mov ebp, 1
shl ebp, cl
lea eax, [ecx - 0x20]
mov dword [esp + 0x64], eax
mov ecx, eax
mov ebx, 1
shl ebx, cl
neg eax
mov ecx, eax
mov esi, 1
shr esi, cl
mov edi, dword [esp + 0x64]
cmp edi, 0x20
sbb edi, edi
and edi, ebx
cmp edx, 0x20
sbb edx, edx
and edx, ebp
cmp eax, 0x20
sbb ebx, ebx
and esi, ebx
or esi, edi
add edx, 0xffffffff
mov dword [esp + 0x3c], edx
adc esi, 0xffffffff
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov byte [esp + 0x1b], al
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x4a0b56
lea eax, [0x7be868]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.004a0640
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
lea eax, [0x7be868]
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004a04f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4a0a78
lea eax, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a0ade
mov ecx, dword [esp + 0x88]
jmp 0x4a0aec
call fcn.0046c7d0
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1578]
mov edx, dword [0xed157c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a0b0f
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
inc edx
mov dword [esp + 0x68], edx
xchg esi, eax
mov byte [esp + 0x1b], al
xchg esi, eax
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
cmp ebp, edx
jle 0x4a0fd0
movzx esi, byte [edi + edx]
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
jne 0x4a0b78
test ecx, ecx
jne 0x4a0b78
mov esi, 1
jmp 0x4a0b43
lea ecx, [esi - 0x30]
cmp cl, 9
jbe 0x4a0b9c
or esi, 0x20
xchg esi, eax
cmp al, 0x61
xchg esi, eax
jb 0x4a0ef1
xchg esi, eax
cmp al, 0x7a
xchg esi, eax
ja 0x4a0ef1
lea ecx, [esi - 0x57]
mov esi, dword [esp + 0x6c]
xchg esi, eax
cmp cl, al
xchg esi, eax
jae 0x4a0e12
mov edi, dword [esp + 0x38]
cmp edi, eax
sete al
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov edx, dword [esp + 0x34]
cmp edx, ebx
setae bl
and ebx, eax
or ebx, ebp
test bl, bl
jne 0x4a0d3c
mov eax, edx
mov ebx, eax
mul esi
imul edi, esi
add edx, edi
sar esi, 0x1f
imul ebx, esi
add edx, ebx
movzx ecx, cl
add ecx, eax
mov ebx, edx
adc edx, 0
cmp edx, ebx
setb bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp eax, ecx
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, esi
or ebx, edi
test bl, bl
jne 0x4a0c62
mov ebx, dword [esp + 0x60]
cmp edx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
mov eax, ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
seta bl
and ebx, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a0c66
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x8c]
movzx esi, byte [esp + 0x1b]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x68]
jmp 0x4a0b43
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x94]
test ecx, ecx
jne 0x4a0c77
lea ecx, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a0cda
mov ecx, dword [esp + 0x78]
jmp 0x4a0ce5
call fcn.0046c7d0
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1570]
mov edx, dword [0xed1574]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a0d08
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa8], ecx
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4a0d4d
lea eax, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a0db0
mov ecx, dword [esp + 0x7c]
jmp 0x4a0dbb
call fcn.0046c7d0
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1570]
mov edx, dword [0xed1574]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a0dde
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa8], ecx
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4a0e23
lea eax, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a0e8c
mov ecx, dword [esp + 0x80]
jmp 0x4a0e9a
call fcn.0046c7d0
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1578]
mov edx, dword [0xed157c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a0ebd
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4a0f02
lea eax, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a0f6b
mov ecx, dword [esp + 0x84]
jmp 0x4a0f79
call fcn.0046c7d0
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1578]
mov edx, dword [0xed157c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a0f9c
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
movzx eax, byte [esp + 0x1b]
test al, al
je 0x4a0ffc
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.004a18e0
movzx eax, byte [esp + 8]
test al, al
je 0x4a102f
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4a1040
lea eax, [0xf33e00]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004549c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
lea edx, [0x792cc0]
mov dword [esp], edx
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x7be868]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
jne 0x4a10a3
mov ecx, dword [esp + 0x74]
jmp 0x4a10ae
call fcn.0046c7d0
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xed1578]
mov edx, dword [0xed157c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xf34078]
test ecx, ecx
je 0x4a10d1
call fcn.0046c7d0
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0xc7ef58]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
call fcn.0046b3d0
jmp fcn.004a0790