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

Disassembly:
mov ecx, dword [0x59df44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a3487
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a2a37
lea eax, [0x4c4860]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x71
jne 0x4a2a2d
mov byte [eax + 1], 1
mov edx, dword [esp + 0x78]
lea ebx, [edx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, ecx
cmp edx, 1
jne 0x4a2a5b
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a2a0b
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov edx, dword [esp + 0x78]
mov ebp, edx
mov ebx, ecx
jmp 0x4a2a5b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov ebp, edi
test ebp, ebp
je 0x4a2b16
cmp byte [ebx], 0x76
jne 0x4a2b16
mov byte [eax], 1
mov byte [eax + 1], 0
lea esi, [ebp - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
cmp ebp, 1
jne 0x4a2a59
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a2af4
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov byte [eax + 2], 1
jmp 0x4a2b1e
mov ebp, edi
test ebp, ebp
je 0x4a2bff
cmp byte [ebx], 0x21
jne 0x4a2be0
movzx esi, byte [eax + 2]
xor esi, 1
xchg esi, ebx
mov byte [eax + 2], bl
xchg esi, ebx
lea esi, [ebp - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
cmp ebp, 1
jne 0x4a2b1c
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a2bbe
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
cmp ebp, 1
jne 0x4a2bff
cmp byte [ebx], 0x6e
jne 0x4a2bff
movzx ebx, byte [eax + 2]
xor ebx, 1
mov byte [eax + 2], bl
mov ebp, 1
lea ebx, [0x4cd027]
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x64], ebx
xor esi, esi
xor edi, edi
mov esi, 1
mov dword [esp + 0x24], esi
xor esi, esi
mov dword [esp + 0x30], esi
xor esi, esi
mov dword [esp + 0x34], esi
mov esi, 1
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
xor esi, esi
jmp 0x4a2c4c
inc esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x22], dl
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jg 0x4a3443
jge 0x4a2c6a
jae 0x4a347d
movzx edx, byte [ebx + esi]
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x78]
jmp 0x4a2c7b
mov dword [esp + 0x48], eax
mov eax, 0x2d
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x48]
cmp edi, esi
jne 0x4a2cae
mov edx, dword [esp + 0x24]
cmp edx, 1
jne 0x4a2ca7
movzx ebx, byte [esp + 0x23]
cmp bl, 0x78
jne 0x4a2cb7
lea edx, [esi + 1]
mov edi, edx
mov ebx, 4
mov ebp, dword [esp + 0x30]
movzx edx, byte [esp + 0x22]
jmp 0x4a2c33
movzx ebx, byte [esp + 0x23]
jmp 0x4a2cb7
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
cmp bl, 0x31
ja 0x4a2efc
cmp bl, 0x2b
je 0x4a2cd1
cmp bl, 0x2d
jne 0x4a2ef2
cmp bl, 0x2b
jne 0x4a2ce3
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4a2ce8
jmp 0x4a3072
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x4a2e36
sub esi, edi
imul esi, edx
cmp esi, 0x40
jg 0x4a3188
test esi, esi
jle 0x4a30fd
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x4a3474
mov edx, dword [esp + 0x64]
add edi, edx
cmp byte [edi], 0x79
jne 0x4a2d23
xor esi, esi
test esi, esi
jl 0x4a346f
mov ecx, esi
mov edx, 1
shl edx, cl
lea edi, [ecx - 0x20]
mov dword [esp + 0x44], edi
mov ecx, edi
mov ebx, 1
shl ebx, cl
neg ecx
mov dword [esp + 0x40], ecx
mov ebp, 1
shr ebp, cl
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00465beb
mov ecx, edx
mov edx, dword [esp + 0x40]
cmp edx, 0x20
sbb edx, edx
and ebp, edx
mov edx, dword [esp + 0x44]
cmp edx, 0x20
sbb edx, edx
and edx, ebx
or edx, ebp
cmp esi, 0x20
sbb ebx, ebx
and ebx, ecx
add ebx, 0xffffffff
mov dword [esp + 0x50], ebx
adc edx, 0xffffffff
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
movzx edx, byte [esp + 0x22]
mov byte [esp + 0x60], dl
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
inc ebp
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x4a2e0b
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4c3020]
mov dword [esp + 0x10], eax
call fcn.0044c5f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a2e02
call fcn.00465a40
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
xor eax, eax
mov ebp, edx
mov edx, ebx
mov dword [edx + 8], ebp
lea ebx, [ebp + ebp*4]
lea edi, [ecx + ebx*4 - 0x14]
lea esi, [esp + 0x50]
call fcn.004660ce
movzx ecx, byte [esp + 0x23]
cmp cl, 0x2b
mov eax, edx
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
jmp 0x4a2ed5
cmp bl, 0x2d
jne 0x4a2ed2
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
inc ebp
mov edi, dword [eax + 4]
cmp edx, ebp
jae 0x4a2eaf
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c3020]
mov dword [esp + 0x10], eax
call fcn.0044c5f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a2e99
call fcn.00465a40
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
mov eax, ebx
movzx ebx, byte [esp + 0x23]
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edi, ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ebp
lea edx, [ebp + ebp*4]
lea edi, [edi + edx*4 - 0x14]
mov edx, esi
lea esi, [0x4f259c]
call fcn.004660ce
cmp bl, 0x2b
mov ecx, dword [esp + 0x74]
mov esi, edx
jmp 0x4a2ed5
cmp bl, 0x2b
sete dl
lea edi, [esi + 1]
mov ebx, 1
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, 1
jmp 0x4a2c33
cmp bl, 0x30
jae 0x4a2f17
jmp 0x4a33b8
cmp bl, 0x46
ja 0x4a2fb5
cmp bl, 0x39
ja 0x4a2fab
cmp edx, 4
jne 0x4a3213
test edx, edx
jl 0x4a346a
mov ecx, edx
mov ebp, dword [esp + 0x34]
shl ebp, cl
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
shl ebp, cl
mov dword [esp + 0x40], ebp
lea eax, [ecx - 0x20]
mov dword [esp + 0x3c], eax
mov ecx, eax
mov ebp, dword [esp + 0x30]
shl ebp, cl
mov dword [esp + 0x38], ebp
neg eax
mov ecx, eax
mov ebp, dword [esp + 0x30]
shr ebp, cl
add ebx, 0xffffffd0
movzx ebx, bl
cmp eax, 0x20
sbb eax, eax
and ebp, eax
cmp edx, 0x20
sbb eax, eax
mov ecx, ebx
mov ebx, dword [esp + 0x40]
and ebx, eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x44]
and ebx, eax
or ebp, ebx
mov ebx, dword [esp + 0x30]
or ecx, ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, 0x20
sbb ebx, ebx
mov eax, ebp
mov ebp, dword [esp + 0x38]
and ebx, ebp
or eax, ebx
mov ebx, edx
mov ebp, ecx
mov dword [esp + 0x34], eax
movzx edx, byte [esp + 0x22]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
jmp 0x4a2c33
cmp bl, 0x41
jae 0x4a2fc1
jmp 0x4a33b8
lea ecx, [ebx - 0x61]
cmp cl, 5
ja 0x4a3020
mov ecx, dword [esp + 0x74]
cmp edx, 4
jne 0x4a329e
mov ebp, dword [esp + 0x34]
shl ebp, 4
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
shl ebp, 4
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x30]
shr ebp, 0x1c
and ebx, 0xffffffdf
add ebx, 0xffffffc9
movzx ebx, bl
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
or ebp, ebx
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
or ebx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0x24]
jmp 0x4a2c33
cmp bl, 0x79
jne 0x4a33b4
lea ebx, [esi + 1]
cmp ebp, ebx
jle 0x4a3052
jbe 0x4a3461
mov ebx, dword [esp + 0x64]
movzx ecx, byte [esi + ebx + 1]
cmp cl, 0x30
je 0x4a3329
cmp cl, 0x31
jne 0x4a3056
jmp 0x4a3329
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov ebx, edx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x34], ecx
movzx edx, byte [esp + 0x22]
mov ecx, dword [esp + 0x74]
jmp 0x4a2c33
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d4a95]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a30db
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a3166
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1632]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x17
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a31f1
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a327c
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a3307
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a3392
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
lea eax, [0x4be940]
mov dword [esp], eax
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x4d1ab1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x59e050]
test eax, eax
je 0x4a3421
call fcn.00465a40
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x4f2588]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov eax, ebx
mov ecx, ebp
call fcn.00465a90
call fcn.00435e10
call fcn.00435e10
mov eax, edi
mov ecx, edx
call fcn.00465a90
mov eax, esi
mov ecx, ebp
call fcn.00465a90
nop
call fcn.00464630
jmp fcn.004a2940