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

Disassembly:
sub esp, 0xc4
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
lea edi, [ebp + 0x90]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
lea eax, [edi + 0x14]
mov edx, dword [edi + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, esp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [edi + 4]
mov eax, dword [edi + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x80]
push edx
mov ecx, edi
call fcn.0065269a
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x90]
push 0x14
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edx, dword [esp + 0x90]
mov eax, dword [0x7e0c8c]
cmp edx, eax
jne 0x651410
mov eax, dword [esp + 0x94]
mov ecx, dword [0x7e0c90]
cmp eax, ecx
jne 0x651410
mov ecx, dword [esp + 0x98]
mov eax, dword [0x7e0c94]
cmp ecx, eax
jne 0x651410
mov edx, dword [esp + 0x9c]
mov eax, dword [0x7e0c98]
cmp edx, eax
jne 0x651410
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push 8
push ecx
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x40]
xor ebx, ebx
test eax, eax
jbe 0x6510da
mov edx, dword [esi]
lea eax, [esp + 0x44]
push 0xb
push eax
mov ecx, esi
call dword [edx + 8]
mov edx, dword [edi + 0x2c]
xor ecx, ecx
test edx, edx
sete cl
test cl, cl
mov dword [esp + 0x44], 0
jne 0x651099
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
cmp edx, eax
jne 0x6510a0
mov ecx, edi
call fcn.00652b10
mov eax, dword [edi + 0x1c]
test eax, eax
lea ecx, [eax + 0xb]
mov dword [edi + 0x1c], ecx
je 0x6510ca
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov dx, word [esp + 0x4c]
mov word [eax + 8], dx
mov cl, byte [esp + 0x4e]
mov byte [eax + 0xa], cl
mov eax, dword [edi + 0x2c]
inc eax
inc ebx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp ebx, eax
jb 0x65106b
xor edi, edi
test eax, eax
jbe 0x65117f
lea ebx, [ebp + 0x94]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push 4
push eax
mov ecx, esi
call dword [edx + 8]
mov ecx, ebx
push edi
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.00650534
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
push ecx
call fcn.006749d4
mov edx, ebx
mov dword [ebp + 5], eax
add esp, 4
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
push edi
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
call fcn.00650534
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov eax, dword [ecx + 5]
mov ecx, esi
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jb 0x6510ea
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jbe 0x651410
mov eax, dword [ebp + 0xf0]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
jbe 0x651248
lea eax, [ebp + 0x64]
push edi
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
call fcn.00650534
lea eax, [ebp + 0x94]
mov esi, dword [esp + 0x24]
push ebx
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x30]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
call fcn.00650534
mov eax, dword [esp + 0x34]
mov esi, dword [esi + 5]
mov eax, dword [eax + 5]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x651222
test cl, cl
je 0x65121e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x651222
add eax, 2
add esi, 2
test cl, cl
jne 0x6511fe
xor eax, eax
jmp 0x651227
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x65123c
mov eax, dword [ebp + 0xf0]
inc edi
cmp edi, eax
jb 0x65119d
jmp 0x651248
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x651323
lea eax, [ebp + 0x94]
push ebx
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
call fcn.00650534
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 5]
push ecx
call fcn.00673d19
mov ecx, dword [ebp + 0xec]
lea esi, [ebp + 0xc0]
add esp, 4
xor edx, edx
test ecx, ecx
sete dl
test dl, dl
jne 0x6512b0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x6512b7
mov ecx, esi
call fcn.00652553
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [eax + 4]
mov dword [esi + 0x1c], ecx
call fcn.006205d4
mov edi, dword [esi + 0x2c]
add esp, 8
inc edi
lea eax, [ebp + 0x64]
mov dword [esi + 0x2c], edi
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xa4]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x94], edx
call fcn.00652c57
mov eax, dword [eax + 8]
inc byte [eax + 4]
jmp 0x651403
lea esi, [ebp + 0x94]
push ebx
mov edx, esi
mov eax, dword [edx]
mov dword [esp + 0x74], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x78], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0xc8]
mov dword [esp + 0x80], ecx
push edx
lea ecx, [esp + 0x78]
call fcn.00652c57
mov eax, dword [eax + 8]
push ebx
mov byte [eax + 4], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call fcn.00652c57
mov ecx, dword [ebp + 0x8c]
lea esi, [ebp + 0x60]
mov edi, dword [eax + 8]
xor edx, edx
test ecx, ecx
sete dl
test dl, dl
jne 0x6513b0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x6513b7
mov ecx, esi
call fcn.00652b10
mov eax, dword [esi + 0x1c]
test eax, eax
lea ecx, [eax + 0xb]
mov dword [esi + 0x1c], ecx
je 0x6513dc
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dx, word [edi + 8]
mov word [eax + 8], dx
mov cl, byte [edi + 0xa]
mov byte [eax + 0xa], cl
mov edx, dword [esi + 0x2c]
lea eax, [esp + 0x10]
inc edx
push eax
mov dword [esi + 0x2c], edx
mov edx, dword [ebp + 0xf0]
lea ecx, [ebp + 0xc0]
mov dword [esp + 0x14], edx
call fcn.00651ff9
inc dword [ebp + 0xf0]
mov eax, dword [esp + 0x40]
inc ebx
cmp ebx, eax
jb 0x651189
mov eax, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword [eax], 0
pop ebx
add esp, 0xc4
ret 8