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

Disassembly:
push 0xffffffffffffffff
push 0x6d9326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], edi
call fcn.00644be0
mov eax, dword [esp + 0xa8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xa4], ebx
call fcn.00670550
test eax, eax
je 0x649093
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x7c]
push esi
call fcn.0064ac60
test eax, eax
je 0x649093
push 0x16c
mov dword [esp + 0x50], 1
call fcn.006a6832
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
je 0x64880a
mov ecx, eax
call fcn.00679580
jmp 0x64880c
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa0], bl
mov dword [edi + 4], eax
je 0x649021
mov cx, word [esp + 0xb4]
mov edx, dword [esp + 0xa8]
mov word [eax + 0xd8], cx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xb0]
push esi
mov ecx, dword [ecx + 4]
push edx
push eax
call fcn.00682620
test eax, eax
je 0x649021
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0xb4]
mov byte [esp + 0xa0], 3
cmp ebp, ebx
jne 0x6489ff
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
mov esi, dword [ecx + 4]
add esi, 0x14
cmp edx, esi
je 0x648b4a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x6488b2
xor edi, edi
jmp 0x6488ca
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x14]
call fcn.00649270
cmp edi, eax
ja 0x64891e
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.006499d0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00641c50
mov ecx, esi
call fcn.00649270
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov dword [esp + 0x1c], ecx
jmp 0x648b4a
mov ecx, esi
call fcn.00649270
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00649240
cmp edi, eax
ja 0x648997
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.00649270
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.006499d0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.006492e0
mov ecx, esi
call fcn.00649270
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x648b4a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00641c50
mov edx, dword [esp + 0x18]
push edx
call fcn.006a64d0
add esp, 4
mov ecx, esi
call fcn.00649270
cmp eax, ebx
jge 0x6489c4
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 2
push eax
call fcn.006a6832
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.006492e0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x648b4a
cmp ebp, 1
jne 0x649068
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x24]
mov esi, dword [ecx + 4]
add esi, 0x24
cmp edx, esi
je 0x648b4a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x648a29
xor edi, edi
jmp 0x648a41
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x24]
call fcn.00649350
cmp edi, eax
ja 0x648a8c
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00649a10
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00641c50
mov ecx, esi
call fcn.00649350
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx*4]
mov dword [esp + 0x2c], ecx
jmp 0x648b4a
mov ecx, esi
call fcn.00649350
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00649320
cmp edi, eax
ja 0x648af0
mov edi, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.00649350
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*8]
mov eax, dword [esi + 4]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.00649a10
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
push edi
call fcn.00649380
mov ecx, esi
call fcn.00649350
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*8]
lea edx, [ecx + eax*4]
mov dword [esp + 0x2c], edx
jmp 0x648b4a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00641c50
mov edx, dword [esp + 0x28]
push edx
call fcn.006a64d0
add esp, 4
mov ecx, esi
call fcn.00649350
cmp eax, ebx
jge 0x648b1d
xor eax, eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.006a6832
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00649380
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], 0x6dd1f4
mov word [esp + 0x54], 0xffff
mov word [esp + 0x56], bx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], cl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], dl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.006492a0
cmp ebp, ebx
jne 0x648bb3
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push 2
push edx
jmp 0x648bbf
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x54], esp
push 5
push eax
mov ecx, 0x72c070
call fcn.00644770
mov ecx, dword [0x72bae0]
call fcn.0062a550
mov cl, byte [esp + 0x13]
xor ebp, ebp
mov byte [esp + 0x34], cl
xor ecx, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0xb4]
mov byte [esp + 0xa0], 7
cmp eax, ebx
jne 0x648c6e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x648d56
mov edi, dword [esp + 0xa8]
cmp ebp, ecx
mov eax, ebp
je 0x648c29
mov edx, dword [esi]
cmp dword [eax], edx
je 0x648c61
add eax, 4
cmp eax, ecx
jne 0x648c1e
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.00679400
mov ecx, dword [0x72bae0]
call fcn.0062a730
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00425880
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x648c16
jmp 0x648cdb
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x648d56
mov edi, dword [esp + 0xa8]
cmp ebp, ecx
mov eax, ebp
je 0x648c98
mov edx, dword [esi]
cmp dword [eax], edx
je 0x648cd0
add eax, 4
cmp eax, ecx
jne 0x648c8d
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.00679400
mov ecx, dword [0x72bae0]
call fcn.0062a730
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00425880
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x648c85
cmp ebp, ebx
je 0x648d56
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jbe 0x648d56
mov ecx, dword [0x72bae0]
lea edx, [esp + 0x50]
push edx
call fcn.0062a950
mov edi, eax
cmp di, 0xffff
je 0x648f94
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0xb4], ebx
jne 0x648d5f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x648df0
movsx edi, di
shl edi, 2
mov eax, dword [edi + ebp]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x648d46
mov ecx, dword [esp + 0x60]
push esi
push 1
push ecx
lea ecx, [esp + 0x64]
call fcn.006493c0
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x648d28
jmp 0x648df0
xor edi, edi
mov word [esp + 0x54], bx
jmp 0x648d09
push ebx
push 3
sub esp, 0x10
mov ecx, 0x72c070
mov edx, esp
mov dword [esp + 0x5c], esp
push 0x17
push edx
call fcn.00644770
sub esp, 0x10
mov ecx, 0x72c070
mov eax, esp
mov dword [esp + 0x90], esp
push 0x23
push eax
mov byte [esp + 0xd0], 8
call fcn.00644770
mov ecx, 0x72bae0
mov byte [esp + 0xc8], 7
call fcn.0061eec0
cmp ax, 2
je 0x648f9b
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x648df0
movsx edi, di
shl edi, 2
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [ecx + edi]
cmp edx, eax
jne 0x648de5
mov eax, dword [esp + 0x74]
push esi
push 1
push eax
lea ecx, [esp + 0x78]
call fcn.006496d0
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x648dc7
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x8c], cl
lea ecx, [esp + 0x8c]
call fcn.004138c0
mov edi, 0x72ba88
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00414230
test al, al
je 0x648e59
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x72ba88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x90], ebp
mov byte [eax + ebp], bl
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xb4]
mov cx, word [esp + 0x54]
cmp edi, ebx
mov eax, dword [esi + 4]
mov byte [esp + 0xa0], 9
mov word [eax + 0xda], cx
jne 0x648e8d
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x78], esp
push 2
push edx
jmp 0x648e99
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x78], esp
push 5
push eax
mov ecx, 0x72c070
call fcn.00644770
mov ecx, dword [0x72bae0]
call fcn.0062a550
mov eax, edi
sub eax, ebx
je 0x648ef0
dec eax
jne 0x648f0b
push 3
lea ecx, [esp + 0x80]
call fcn.00644df0
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
lea ecx, [eax + 0x13c]
call fcn.006490b0
mov edx, dword [esp + 0xb8]
mov ecx, dword [esi + 4]
push 1
lea eax, [esp + 0x70]
push edx
push eax
call fcn.00679f60
jmp 0x648f07
mov ecx, dword [esp + 0xb8]
push 1
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00679b30
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x648f33
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x648f2a
cmp al, 0xff
je 0x648f2a
dec al
mov byte [ecx], al
jmp 0x648f33
push ecx
call fcn.006a64d0
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
cmp ecx, ebx
jne 0x648f9f
cmp eax, ebx
je 0x648f9f
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jbe 0x648f9f
push eax
mov byte [esp + 0xa4], 6
call fcn.006a64d0
mov ebp, dword [esp + 0xb8]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x648b8e
mov edx, dword [esp + 0x38]
push edx
jmp 0x648fa0
mov eax, dword [esp + 0x38]
push eax
call fcn.006a64d0
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
call fcn.006a64d0
mov edx, dword [esp + 0x60]
mov dword [esp + 0x74], ebx
push edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.006a64d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], ebx
push eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x5c], 0x6dd1f4
call fcn.006a64d0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xb0], bl
call fcn.006a64d0
add esp, 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x649035
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00644c20
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x14
push ebx
call fcn.006a64d0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.006a64d0
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00644c20
xor eax, eax
jmp 0x64904d