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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x30]
push 0
push 0
mov dword [esp + 0x2c], ebp
call dword [0x652b8350]
push 0
push 0
lea ecx, [esp + 0x60]
call dword [0x652b8350]
push 0
push 0
lea ecx, [esp + 0x68]
call dword [0x652b8350]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x650f2aae
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x650f2aae
lea eax, [esp + 0x1c]
mov byte [esp + 0x13], 1
push eax
lea ecx, [ebp + 0x28]
call dword [0x652b82c0]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
call dword [0x652b82d8]
test al, al
jne 0x650f2a78
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
jmp 0x650f2ab3
mov byte [esp + 0x13], 0
movdqu xmm0, xmmword [ebp + 0x10]
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
movdqu xmmword [esp + 0x6c], xmm0
call fcn.650f6040
cmp eax, 0xffffffff
je 0x650f2af4
lea ecx, [ebp + 0x48]
call dword [0x652b84e8]
lea ecx, [ebp + 0x10]
mov esi, eax
call dword [0x652b8284]
add esi, eax
lea ecx, [esp + 0x68]
add esi, dword [ebp + 0x108]
push esi
call dword [0x652b8204]
lea ebx, [ebp + 0xa0]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650f6040
cmp eax, 0xffffffff
je 0x650f2b32
lea ecx, [ebp + 0xb0]
call dword [0x652b84e4]
lea ecx, [ebp + 0x10]
mov esi, eax
call dword [0x652b8280]
add esi, eax
lea ecx, [esp + 0x68]
add esi, dword [ebp + 0x108]
push esi
call dword [0x652b8254]
lea ecx, [ebp + 0x6c]
push 0xffffffffffffffff
call fcn.650f6040
cmp eax, 0xffffffff
je 0x650f2b68
lea ecx, [ebp + 0x10]
call dword [0x652b827c]
mov esi, eax
lea ecx, [ebp + 0x7c]
sub esi, dword [ebp + 0x108]
call dword [0x652b84e8]
sub esi, eax
lea ecx, [esp + 0x68]
push esi
call dword [0x652b7f50]
lea esi, [ebp + 0xd4]
push 0xffffffffffffffff
mov ecx, esi
call fcn.650f6040
cmp eax, 0xffffffff
je 0x650f2bac
lea ecx, [ebp + 0x10]
call dword [0x652b8278]
mov esi, eax
lea ecx, [ebp + 0xe4]
sub esi, dword [ebp + 0x108]
call dword [0x652b84e4]
sub esi, eax
lea ecx, [esp + 0x68]
push esi
call dword [0x652b7f4c]
lea esi, [ebp + 0xd4]
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
call fcn.650f6040
cmp eax, 0xffffffff
jne 0x650f2bcb
push 0
push 0
lea ecx, [esp + 0x24]
call dword [0x652b8350]
jmp 0x650f2bd9
lea eax, [esp + 0x28]
push eax
lea ecx, [ebp + 0x48]
call dword [0x652b82c0]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
call dword [0x652b8164]
test al, al
jne 0x650f2bfe
cmp byte [ebp + 0x10c], al
je 0x650f2c18
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 0x38]
call fcn.650fa120
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x88]
push eax
lea ecx, [ebp + 0x38]
call fcn.650f5cb0
lea eax, [esp + 0xa8]
push eax
lea ecx, [ebp + 0x38]
call fcn.650f5520
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x60]
call dword [0x652b828c]
mov ecx, eax
call dword [0x652b8290]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
lea ecx, [ebp + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
call fcn.650f6040
cmp eax, 0xffffffff
jne 0x650f2c90
push 0
push 0
lea ecx, [esp + 0x24]
call dword [0x652b8350]
jmp 0x650f2c9e
lea eax, [esp + 0x28]
push eax
lea ecx, [ebp + 0x7c]
call dword [0x652b82c0]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
call dword [0x652b8164]
test al, al
jne 0x650f2cc3
cmp byte [ebp + 0x10c], al
je 0x650f2cdd
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650fa120
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x80]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650f5cb0
lea eax, [esp + 0xa0]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650f5520
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call dword [0x652b828c]
mov ecx, eax
call dword [0x652b8290]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
call fcn.650f6040
cmp eax, 0xffffffff
jne 0x650f2d54
push 0
push 0
lea ecx, [esp + 0x24]
call dword [0x652b8350]
jmp 0x650f2d62
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x10]
call dword [0x652b82c0]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call dword [0x652b8164]
test al, al
jne 0x650f2d87
cmp byte [ebp + 0x10c], al
je 0x650f2da0
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.650fa120
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
call fcn.650f5cb0
lea eax, [esp + 0xb0]
mov ecx, ebx
push eax
call fcn.650f5520
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call dword [0x652b828c]
mov ecx, eax
call dword [0x652b8290]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
call fcn.650f6040
cmp eax, 0xffffffff
jne 0x650f2e0f
push 0
push 0
lea ecx, [esp + 0x24]
call dword [0x652b8350]
jmp 0x650f2e1d
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x10]
call dword [0x652b82c0]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
call dword [0x652b8164]
test al, al
jne 0x650f2e42
cmp byte [ebp + 0x10c], al
je 0x650f2e5b
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.650fa120
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call fcn.650f5cb0
lea eax, [esp + 0x98]
mov ecx, esi
push eax
call fcn.650f5520
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
call dword [0x652b828c]
mov ecx, eax
call dword [0x652b8290]
mov edi, dword [esp + 0xbc]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
test edi, edi
je 0x650f33aa
mov eax, dword [edi]
mov ecx, dword [eax + 8]
xor eax, eax
and ecx, 0x7fffffff
cmp ecx, 3
jge 0x650f2edd
mov ecx, 3
mov eax, 8
push eax
push ecx
push 3
mov ecx, edi
call fcn.6501cd80
push 0
mov ecx, edi
call fcn.6501bcd0
push 0
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
lea ecx, [esp + 0x48]
mov dword [eax], 0
call dword [0x652b8528]
push 0
mov ecx, edi
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x78]
mov dword [eax + 4], esi
call dword [0x652b8528]
push 0
mov ecx, edi
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0xb0]
mov dword [eax + 0xc], esi
call dword [0x652b8528]
push 0
mov ecx, edi
mov esi, eax
call fcn.6501bcd0
push 0
mov ecx, edi
mov dword [eax + 8], esi
call fcn.6501bcd0
push 0xffffffffffffffff
mov ecx, ebx
mov byte [eax + 0x14], 0
call fcn.650f6040
cmp eax, 0xffffffff
mov ecx, edi
push 0
sete bl
call fcn.6501bcd0
lea ecx, [ebp + 0xb0]
mov byte [eax + 0x15], bl
call dword [0x652b8280]
mov ebx, edi
mov esi, eax
push 0
mov ecx, ebx
call fcn.6501bcd0
lea ecx, [ebp + 0xb0]
mov dword [eax + 0x18], esi
call dword [0x652b84e4]
push 0
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
push 1
mov ecx, ebx
mov dword [eax + 0x1c], esi
call fcn.6501bcd0
push 1
mov ecx, ebx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
mov esi, eax
lea ecx, [esp + 0x30]
call dword [0x652b8528]
mov dword [esi], eax
lea esi, [ebp + 0xa0]
cmp dword [ebp], 4
je 0x650f3038
push 0xffffffffffffffff
mov ecx, esi
call fcn.650f6040
mov byte [esp + 0x1b], 0
cmp eax, 0xffffffff
jne 0x650f303d
mov byte [esp + 0x1b], 1
cmp dword [ebp + 8], 8
lea edi, [ebp + 0xd4]
je 0x650f305c
push 0xffffffffffffffff
mov ecx, edi
call fcn.650f6040
mov byte [esp + 0x12], 0
cmp eax, 0xffffffff
jne 0x650f3061
mov byte [esp + 0x12], 1
cmp dword [ebp + 4], 4
je 0x650f307a
push 0xffffffffffffffff
mov ecx, esi
call fcn.650f6040
mov byte [esp + 0x11], 0
cmp eax, 0xffffffff
jne 0x650f307f
mov byte [esp + 0x11], 1
cmp dword [ebp + 0xc], 8
je 0x650f3098
push 0xffffffffffffffff
mov ecx, edi
call fcn.650f6040
mov byte [esp + 0x10], 0
cmp eax, 0xffffffff
jne 0x650f309d
mov byte [esp + 0x10], 1
cmp byte [esp + 0x1b], 0
je 0x650f30bb
cmp byte [esp + 0x12], 0
je 0x650f30bb
lea ecx, [esp + 0x50]
call dword [0x652b8528]
mov dword [esp + 0x14], eax
jmp 0x650f30c3
mov dword [esp + 0x14], 0
cmp byte [esp + 0x11], 0
je 0x650f30df
cmp byte [esp + 0x10], 0
je 0x650f30df
lea ecx, [esp + 0x38]
call dword [0x652b8528]
mov esi, eax
jmp 0x650f30e1
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call dword [0x652b8528]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], edx
cmovge ecx, eax
lea esi, [esp + 0x14]
push 1
cmp edx, dword [ecx]
cmovl esi, ecx
mov ecx, ebx
call fcn.6501bcd0
cmp byte [esp + 0x1b], 0
mov ecx, dword [esi]
mov dword [eax + 4], ecx
je 0x650f3140
cmp byte [esp + 0x12], 0
je 0x650f3140
lea ecx, [esp + 0x88]
call dword [0x652b8528]
mov dword [esp + 0x14], eax
jmp 0x650f3148
mov dword [esp + 0x14], 0
cmp byte [esp + 0x11], 0
je 0x650f3167
cmp byte [esp + 0x10], 0
je 0x650f3167
lea ecx, [esp + 0x80]
call dword [0x652b8528]
mov esi, eax
jmp 0x650f3169
xor esi, esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], esi
call dword [0x652b8528]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
cmp eax, esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x14], edx
cmovge ecx, eax
lea esi, [esp + 0x14]
push 1
cmp edx, dword [ecx]
cmovl esi, ecx
mov ecx, ebx
call fcn.6501bcd0
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x60]
call dword [0x652b8528]
push 1
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
push 1
mov ecx, ebx
mov dword [eax + 8], esi
call fcn.6501bcd0
mov cl, byte [esp + 0x13]
push 0xffffffffffffffff
mov byte [eax + 0x14], cl
lea ecx, [ebp + 0x38]
call fcn.650f6040
cmp eax, 0xffffffff
jne 0x650f31fb
cmp byte [esp + 0x13], 0
jne 0x650f31fb
push eax
lea ecx, [ebp + 0x6c]
call fcn.650f6040
mov dword [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x650f3203
mov dword [esp + 0x14], 0
push 1
mov ecx, ebx
call fcn.6501bcd0
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x15], cl
lea ecx, [esp + 0x68]
call dword [0x652b8280]
push 1
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x68]
mov dword [eax + 0x18], esi
call dword [0x652b84e4]
push 1
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
push 2
mov ecx, ebx
mov dword [eax + 0x1c], esi
call fcn.6501bcd0
push 2
mov ecx, ebx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
lea ecx, [esp + 0x40]
mov dword [eax], 0
call dword [0x652b8528]
push 2
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x90]
mov dword [eax + 4], esi
call dword [0x652b8528]
push 2
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x98]
mov dword [eax + 0xc], esi
call dword [0x652b8528]
push 2
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
push 2
mov ecx, ebx
mov dword [eax + 8], esi
call fcn.6501bcd0
push 0xffffffffffffffff
lea ecx, [ebp + 0xd4]
mov byte [eax + 0x14], 0
call fcn.650f6040
mov ecx, dword [esp + 0xbc]
cmp eax, 0xffffffff
push 2
sete bl
call fcn.6501bcd0
lea ecx, [ebp + 0xe4]
mov byte [eax + 0x15], bl
call dword [0x652b8280]
mov ebx, dword [esp + 0xbc]
mov esi, eax
push 2
mov ecx, ebx
call fcn.6501bcd0
lea ecx, [ebp + 0xe4]
mov dword [eax + 0x18], esi
call dword [0x652b84e4]
push 2
mov ecx, ebx
mov esi, eax
call fcn.6501bcd0
mov dword [eax + 0x1c], esi
xor ebp, ebp
nop
push ebp
mov ecx, ebx
call fcn.6501bcd0
push ebp
mov ecx, ebx
lea edi, [eax + 0xc]
call fcn.6501bcd0
mov ecx, dword [eax + 4]
cmp ecx, dword [edi]
mov ecx, ebx
push ebp
lea esi, [eax + 4]
cmovl esi, edi
call fcn.6501bcd0
mov ecx, dword [esi]
inc ebp
mov dword [eax + 4], ecx
cmp ebp, 3
jl 0x650f3340
cmp byte [esp + 0x13], 0
mov ebp, dword [esp + 0x24]
je 0x650f33aa
push 0
mov ecx, ebx
call fcn.6501bcd0
cmp byte [eax + 0x15], 0
je 0x650f33aa
push 2
mov ecx, ebx
call fcn.6501bcd0
cmp byte [eax + 0x15], 0
je 0x650f33aa
push 1
mov ecx, ebx
call fcn.6501bcd0
mov dword [eax + 8], 0xffffff
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x650f3973
mov eax, dword [esi]
mov ecx, dword [eax + 8]
xor eax, eax
and ecx, 0x7fffffff
cmp ecx, 3
jge 0x650f33d5
mov ecx, 3
mov eax, 8
push eax
push ecx
push 3
mov ecx, esi
call fcn.6501cd80
push 0
mov ecx, esi
call fcn.6501bcd0
push 0
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
lea ecx, [esp + 0x50]
mov dword [eax], 0
call dword [0x652b852c]
push 0
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x88]
mov dword [eax + 4], edi
call dword [0x652b852c]
push 0
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [esp + 0xa8]
mov dword [eax + 0xc], edi
call dword [0x652b852c]
push 0
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
push 0
mov ecx, esi
mov dword [eax + 8], edi
call fcn.6501bcd0
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
mov byte [eax + 0x14], 0
call fcn.650f6040
cmp eax, 0xffffffff
mov ecx, esi
push 0
sete bl
call fcn.6501bcd0
lea ecx, [ebp + 0x48]
mov byte [eax + 0x15], bl
call dword [0x652b8284]
push 0
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [ebp + 0x48]
mov dword [eax + 0x18], edi
call dword [0x652b84e8]
push 0
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
push 1
mov ecx, esi
mov dword [eax + 0x1c], edi
call fcn.6501bcd0
push 1
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
lea ecx, [esp + 0x30]
mov edi, eax
call dword [0x652b852c]
mov dword [edi], eax
lea ebx, [ebp + 0x38]
cmp dword [ebp], 1
je 0x650f3529
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650f6040
mov byte [esp + 0x11], 0
cmp eax, 0xffffffff
jne 0x650f352e
mov byte [esp + 0x11], 1
cmp dword [ebp + 4], 2
lea edi, [ebp + 0x6c]
je 0x650f354a
push 0xffffffffffffffff
mov ecx, edi
call fcn.650f6040
mov byte [esp + 0x10], 0
cmp eax, 0xffffffff
jne 0x650f354f
mov byte [esp + 0x10], 1
cmp dword [ebp + 8], 1
je 0x650f3568
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650f6040
mov byte [esp + 0x12], 0
cmp eax, 0xffffffff
jne 0x650f356d
mov byte [esp + 0x12], 1
cmp dword [ebp + 0xc], 2
je 0x650f3585
push 0xffffffffffffffff
mov ecx, edi
call fcn.650f6040
cmp eax, 0xffffffff
je 0x650f3585
xor bl, bl
jmp 0x650f3587
mov bl, 1
cmp byte [esp + 0x11], 0
mov bh, byte [esp + 0x10]
je 0x650f35a6
test bh, bh
je 0x650f35a6
lea ecx, [esp + 0x48]
call dword [0x652b852c]
mov dword [esp + 0x14], eax
jmp 0x650f35ae
mov dword [esp + 0x14], 0
cmp byte [esp + 0x12], 0
je 0x650f35c7
test bl, bl
je 0x650f35c7
lea ecx, [esp + 0x40]
call dword [0x652b852c]
mov edi, eax
jmp 0x650f35c9
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edi
call dword [0x652b852c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x14], edx
cmovge ecx, eax
lea edi, [esp + 0x14]
push 1
cmp edx, dword [ecx]
cmovl edi, ecx
mov ecx, esi
call fcn.6501bcd0
cmp byte [esp + 0x11], 0
mov ecx, dword [edi]
mov ebp, dword [esp + 0x24]
mov dword [eax + 4], ecx
je 0x650f3626
test bh, bh
je 0x650f3626
lea ecx, [esp + 0x78]
call dword [0x652b852c]
mov dword [esp + 0x24], eax
jmp 0x650f362e
mov dword [esp + 0x24], 0
cmp byte [esp + 0x12], 0
je 0x650f364a
test bl, bl
je 0x650f364a
lea ecx, [esp + 0x90]
call dword [0x652b852c]
mov edi, eax
jmp 0x650f364c
xor edi, edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], edi
call dword [0x652b852c]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x28], eax
lea ebx, [esp + 0x28]
mov dword [esp + 0x24], edx
cmovge ecx, ebx
lea edi, [esp + 0x24]
push 1
cmp edx, dword [ecx]
cmovl edi, ecx
mov ecx, esi
call fcn.6501bcd0
mov ecx, dword [edi]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x60]
call dword [0x652b852c]
push 1
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
push 1
mov ecx, esi
mov dword [eax + 8], edi
call fcn.6501bcd0
mov cl, byte [esp + 0x13]
test cl, cl
push 1
mov byte [eax + 0x14], cl
sete bl
mov ecx, esi
call fcn.6501bcd0
lea ecx, [esp + 0x68]
mov byte [eax + 0x15], bl
call dword [0x652b8284]
push 1
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x68]
mov dword [eax + 0x18], edi
call dword [0x652b84e8]
push 1
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
push 2
mov ecx, esi
mov dword [eax + 0x1c], edi
call fcn.6501bcd0
push 2
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501bcd0
lea ecx, [esp + 0x38]
mov dword [eax], 0
call dword [0x652b852c]
push 2
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x80]
mov dword [eax + 4], edi
call dword [0x652b852c]
push 2
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [esp + 0xa0]
mov dword [eax + 0xc], edi
call dword [0x652b852c]
mov edi, eax
push 2
mov ecx, esi
call fcn.6501bcd0
push 2
mov ecx, esi
mov dword [eax + 8], edi
call fcn.6501bcd0
push 0xffffffffffffffff
lea ecx, [ebp + 0x6c]
mov byte [eax + 0x14], 0
call fcn.650f6040
cmp eax, 0xffffffff
mov ecx, esi
push 2
sete bl
call fcn.6501bcd0
lea ecx, [ebp + 0x7c]
mov byte [eax + 0x15], bl
call dword [0x652b8284]
push 2
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
lea ecx, [ebp + 0x7c]
mov dword [eax + 0x18], edi
call dword [0x652b84e8]
push 2
mov ecx, esi
mov edi, eax
call fcn.6501bcd0
xor ebx, ebx
mov dword [eax + 0x1c], edi
mov edi, dword [0x652b8658]
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x650f3825
test ecx, ecx
je 0x650f3825
test dword [eax + 8], 0x7fffffff
jne 0x650f3807
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esi], eax
jmp 0x650f3825
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, esi
call fcn.6501cd80
mov ecx, dword [esi]
call dword [0x652b865c]
lea ebp, [eax + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x650f3875
test ecx, ecx
je 0x650f3875
test dword [eax + 8], 0x7fffffff
jne 0x650f3857
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esi], eax
jmp 0x650f3875
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, esi
call fcn.6501cd80
mov ecx, dword [esi]
lea edi, [ebx + ebp]
call dword [0x652b865c]
lea ebp, [eax + 4]
mov eax, dword [ebp + ebx]
add ebp, ebx
cmp eax, dword [edi]
mov eax, dword [esi]
cmovl ebp, edi
mov ecx, dword [eax]
cmp ecx, 1
je 0x650f38d9
test ecx, ecx
je 0x650f38d9
test dword [eax + 8], 0x7fffffff
jne 0x650f38bb
mov edi, dword [0x652b8658]
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esi], eax
jmp 0x650f38df
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, esi
call fcn.6501cd80
mov edi, dword [0x652b8658]
mov ecx, dword [esi]
call dword [0x652b865c]
mov ecx, dword [ebp]
mov dword [eax + ebx + 4], ecx
add ebx, 0x20
cmp ebx, 0x60
jl 0x650f37e0
cmp byte [esp + 0x13], 0
je 0x650f3973
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x650f3946
test ecx, ecx
je 0x650f3946
test dword [eax + 8], 0x7fffffff
jne 0x650f3928
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esi], eax
jmp 0x650f3946
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, esi
call fcn.6501cd80
mov ecx, dword [esi]
call dword [0x652b865c]
cmp byte [eax + 0x15], 0
je 0x650f3973
push 2
mov ecx, esi
call fcn.6501bcd0
cmp byte [eax + 0x15], 0
je 0x650f3973
push 1
mov ecx, esi
call fcn.6501bcd0
mov dword [eax + 8], 0xffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 8