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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x64700b
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x6466d2
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor eax, eax
jmp 0x646704
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
movzx edi, byte [edx + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x646ff8
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x646792
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x646792
test esi, esi
jne 0x646792
lea eax, [0x6e6ce0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x98d4e0]
test ecx, ecx
jne 0x646760
mov ecx, dword [esp + 0x64]
jmp 0x64676b
call fcn.00468990
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x70a778]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
mov ebp, ecx
mov esi, dword [esp + 0x40]
lea ecx, [0x774814]
mov ebx, eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00468c28
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
jmp 0x6467c9
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x64]
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], edi
jle 0x646b01
mov byte [esp + 0x23], al
mov dword [esp], ebp
call fcn.006479a0
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x646899
mov edx, dword [esp + 0x34]
test edx, edx
je 0x64681a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x70a778]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x64688f
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x646843
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x70a778]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x64688f
lea eax, [0x6e6ce0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov edx, dword [0x98d4e0]
test edx, edx
jne 0x64686c
mov edx, dword [esp + 0x64]
jmp 0x646877
call fcn.00468990
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x70a778]
mov dword [eax + 8], ebp
lea ebx, [0x774814]
movzx esi, byte [esp + 0x23]
jmp 0x646a69
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x6468a6
xor eax, eax
jmp 0x6468d5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], edx
mov dword [esp], edx
lea eax, [0x70ae61]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00403500
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
test al, al
jne 0x64691d
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x6468e9
mov ecx, ebx
mov ebx, dword [esp + 0x54]
jmp 0x646908
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00647da0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x646a55
cmp ecx, 4
jb 0x646fdd
lea eax, [ecx - 4]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00648240
mov eax, dword [esp + 0x10]
test eax, eax
je 0x64697b
mov edx, dword [esp + 0x34]
test edx, edx
je 0x646959
mov eax, edx
mov ebx, dword [esp + 0x54]
jmp 0x64695d
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x70a778]
movzx esi, byte [esp + 0x23]
mov edi, ebx
mov ebx, eax
mov eax, edi
jmp 0x646a69
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x64699b
mov edx, 1
jmp 0x6469ba
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0063fca0
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00647a80
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6469e7
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
jmp 0x646a25
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x6469fb
mov ecx, dword [esp + 0x54]
jmp 0x646a25
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jne 0x646a50
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00647da0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
movzx edx, byte [esp + 0x23]
lea ebp, [0x70a778]
mov esi, edx
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x84]
lea ebp, [edi + 1]
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x70]
test edx, edx
je 0x646ac2
mov ecx, dword [esp + 0x74]
cmp ecx, ebp
jle 0x646aac
mov dword [esp + 0x60], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x646ab9
cmp ecx, ebp
jbe 0x646fd6
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x646ab9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
jmp 0x6467b4
mov eax, dword [esp + 0x60]
jmp 0x6467b4
mov edx, dword [esp + 0x80]
lea ebp, [edx + 1]
mov dword [esp + 0x7c], ebp
mov edi, dword [esp + 0x6c]
lea ecx, [edi - 1]
cmp ecx, ebp
jne 0x6467b4
cmp edi, ebp
jbe 0x646fcd
mov ecx, dword [esp + 0x68]
lea ecx, [edx + ecx + 1]
cmp byte [ecx], 0x2e
jne 0x6467b4
mov dword [esp + 0x7c], edi
jmp 0x6467b4
test al, al
je 0x646b33
mov eax, dword [edx + 0x14]
test eax, eax
je 0x646b33
test ecx, ecx
jne 0x646b33
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x646e9f
movzx eax, byte [esp + 0x98]
test al, al
je 0x646b62
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x646cae
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x646b76
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
test al, al
jmp 0x646bc9
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x771db4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004d36e0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x5c]
je 0x646c77
movzx eax, byte [edx + 4]
test al, al
je 0x646c6d
test ecx, ecx
je 0x646bec
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x646c7f
test ebp, ebp
je 0x646c02
lea eax, [ebp + esi - 1]
cmp byte [eax], 0x2e
jne 0x646c00
lea eax, [ebp - 1]
test ebp, ebp
jmp 0x646c04
test ebp, ebp
mov eax, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ebp
je 0x646c15
cmp eax, 0xfd
jle 0x646c63
lea eax, [0x6e6ce0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [0x98d4e0]
test edx, edx
jne 0x646c3e
mov edx, dword [esp + 0x44]
jmp 0x646c49
call fcn.00468990
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x70a778]
mov dword [eax + 8], ebp
lea ebx, [0x774814]
jmp 0x646c7f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x646c7f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x646c7f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
add esp, 0x88
ret
movzx eax, byte [esp + 0x98]
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x7c]
lea esi, [esp + 0x68]
cmp dword [esi + 4], ebp
jle 0x646b62
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ecx
mov dword [esp], esi
call fcn.006479a0
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x646e6d
lea edx, [0x70ae61]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00648b60
mov eax, dword [esp + 0x38]
test eax, eax
je 0x646d0d
mov ecx, eax
mov ebx, dword [esp + 0x58]
jmp 0x646d15
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00647a80
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x646d5b
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x646dd6
test edx, edx
jne 0x646dd6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x646d81
cmp ecx, 0x3f
jle 0x646dd6
lea eax, [0x6e6ce0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
jne 0x646daa
mov edx, dword [esp + 0x4c]
jmp 0x646db5
call fcn.00468990
mov edx, dword [esp + 0x4c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x70a778]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x774814]
mov ebx, eax
mov esi, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [esp + 0x84], eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x646e31
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x646e18
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x646e25
cmp ecx, eax
jbe 0x646e87
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x646e25
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x646ca2
mov ebp, dword [esp + 0x8c]
jmp 0x646ca2
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea edi, [ecx - 1]
cmp edi, eax
jne 0x646ca2
cmp ecx, eax
jbe 0x646e82
mov eax, dword [esp + 0x68]
lea eax, [esi + eax + 1]
cmp byte [eax], 0x2e
jne 0x646ca2
mov dword [esp + 0x7c], ecx
jmp 0x646ca2
inc edx
cmp edx, ecx
jge 0x646d53
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x646e6c
jmp 0x646cdf
call fcn.00468a00
call fcn.00468a00
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], eax
jle 0x646b33
mov dword [esp], ebp
call fcn.006479a0
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x646f69
mov edx, dword [esp + 0x84]
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x646f2e
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x646f21
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x646e8c
cmp ecx, eax
jbe 0x646fc8
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x646e8c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x646e8c
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea ebx, [ecx - 1]
cmp ebx, eax
jne 0x646e8c
cmp ecx, eax
jbe 0x646fc3
mov eax, dword [esp + 0x68]
lea eax, [edx + eax + 1]
cmp byte [eax], 0x2e
jne 0x646e8c
mov dword [esp + 0x7c], ecx
jmp 0x646e8c
lea eax, [0x6e6ce0]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
jne 0x646f92
mov ecx, dword [esp + 0x64]
jmp 0x646f9d
call fcn.00468990
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea edx, [0x771f00]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
lea ecx, [0x774814]
mov ebx, eax
jmp 0x646b33
call fcn.00468a00
call fcn.00468a00
mov eax, ebp
mov ecx, edi
call fcn.00468a00
mov eax, ebp
call fcn.00468a00
mov eax, 4
call fcn.00468a60
dec esi
mov edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add ebp, edi
test esi, esi
je 0x646719
cmp byte [ebp], 0x2e
je 0x646fe7
jmp 0x646719
call fcn.00467590
jmp fcn.00646690