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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b0497
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4afa47
lea eax, [0x5c4fc0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x71
jne 0x4afa3d
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 0x4afa6b
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4afa1b
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
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 0x4afa6b
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 0x4afb26
cmp byte [ebx], 0x76
jne 0x4afb26
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 0x4afa69
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4afb04
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov byte [eax + 2], 1
jmp 0x4afb2e
mov ebp, edi
test ebp, ebp
je 0x4afc0f
cmp byte [ebx], 0x21
jne 0x4afbf0
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 0x4afb2c
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4afbce
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
cmp ebp, 1
jne 0x4afc0f
cmp byte [ebx], 0x6e
jne 0x4afc0f
movzx ebx, byte [eax + 2]
xor ebx, 1
mov byte [eax + 2], bl
mov ebp, 1
lea ebx, [0x6dddfc]
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 0x4afc5c
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 0x4b0453
jge 0x4afc7a
jae 0x4b048d
movzx edx, byte [ebx + esi]
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x78]
jmp 0x4afc8b
mov dword [esp + 0x48], eax
mov eax, 0x2d
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x48]
cmp edi, esi
jne 0x4afcbe
mov edx, dword [esp + 0x24]
cmp edx, 1
jne 0x4afcb7
movzx ebx, byte [esp + 0x23]
cmp bl, 0x78
jne 0x4afcc7
lea edx, [esi + 1]
mov edi, edx
mov ebx, 4
mov ebp, dword [esp + 0x30]
movzx edx, byte [esp + 0x22]
jmp 0x4afc43
movzx ebx, byte [esp + 0x23]
jmp 0x4afcc7
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
cmp bl, 0x31
ja 0x4aff0c
cmp bl, 0x2b
je 0x4afce1
cmp bl, 0x2d
jne 0x4aff02
cmp bl, 0x2b
jne 0x4afcf3
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4afcf8
jmp 0x4b0082
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x4afe46
sub esi, edi
imul esi, edx
cmp esi, 0x40
jg 0x4b0198
test esi, esi
jle 0x4b010d
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x4b0484
mov edx, dword [esp + 0x64]
add edi, edx
cmp byte [edi], 0x79
jne 0x4afd33
xor esi, esi
test esi, esi
jl 0x4b047f
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.00466f5b
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 0x4afe1b
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5c0400]
mov dword [esp + 0x10], eax
call fcn.0044d390
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 [0x817f20]
test eax, eax
je 0x4afe12
call fcn.00466d20
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.0046743e
movzx ecx, byte [esp + 0x23]
cmp cl, 0x2b
mov eax, edx
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
jmp 0x4afee5
cmp bl, 0x2d
jne 0x4afee2
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
inc ebp
mov edi, dword [eax + 4]
cmp edx, ebp
jae 0x4afebf
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5c0400]
mov dword [esp + 0x10], eax
call fcn.0044d390
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 [0x817f20]
test eax, eax
je 0x4afea9
call fcn.00466d20
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, [0x6df998]
call fcn.0046743e
cmp bl, 0x2b
mov ecx, dword [esp + 0x74]
mov esi, edx
jmp 0x4afee5
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 0x4afc43
cmp bl, 0x30
jae 0x4aff27
jmp 0x4b03c8
cmp bl, 0x46
ja 0x4affc5
cmp bl, 0x39
ja 0x4affbb
cmp edx, 4
jne 0x4b0223
test edx, edx
jl 0x4b047a
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 0x4afc43
cmp bl, 0x41
jae 0x4affd1
jmp 0x4b03c8
lea ecx, [ebx - 0x61]
cmp cl, 5
ja 0x4b0030
mov ecx, dword [esp + 0x74]
cmp edx, 4
jne 0x4b02ae
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 0x4afc43
cmp bl, 0x79
jne 0x4b03c4
lea ebx, [esi + 1]
cmp ebp, ebx
jle 0x4b0062
jbe 0x4b0471
mov ebx, dword [esp + 0x64]
movzx ecx, byte [esi + ebx + 1]
cmp cl, 0x30
je 0x4b0339
cmp cl, 0x31
jne 0x4b0066
jmp 0x4b0339
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 0x4afc43
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5e0e43]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b00eb
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b0176
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd044]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b0201
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b028c
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b0317
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b03a2
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
lea eax, [0x5b7fa0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x5dd5c6]
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.00450d70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x4b0431
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x6df984]
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.00466d70
call fcn.00436850
call fcn.00436850
mov eax, edi
mov ecx, edx
call fcn.00466d70
mov eax, esi
mov ecx, ebp
call fcn.00466d70
nop
call fcn.00465910
jmp fcn.004af950