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

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x65be3f70
sub esp, 0xb0
mov eax, dword [0x65da0168]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x65be31f2
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x65be31f2
cmp dword [ecx], eax
jne 0x65be3f59
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x65be320d
mov dword [eax], 0
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea eax, [ecx + 0x3f]
mov dword [esp + 0xac], eax
mov edx, dword [0x65d87d10]
mov dword [esp + 0x28], edx
nop
mov dword [esp], eax
call fcn.65c30ad0
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x65be3f50
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x34], edx
jne 0x65be3e9f
mov dword [esp + 0x64], edx
movzx eax, byte [0x65d82330]
test al, al
jne 0x65be3267
xor eax, eax
xor ebp, ebp
jmp 0x65be3283
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x65be32bd
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], ebp
mov ecx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], eax
shl ecx, 0xd
mov dword [esp + 8], ecx
call fcn.65c1a080
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.65c19920
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0xa8], ecx
lea edx, [0x65d87d28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.65c30d10
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x60], ecx
movzx edx, byte [eax + 0x3e]
mov byte [esp + 0x17], dl
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
jmp 0x65be3320
mov eax, ebp
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x17]
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x65be3418
test ebx, ebx
je 0x65be3e9a
movzx esi, word [ebp + 4]
mov edi, eax
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x34], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x4c], ecx
test byte [ecx], al
shr edx, 3
mov dword [esp + 0x38], edx
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x19], cl
mov edx, dword [esp + 0x34]
and edx, 7
mov ecx, edx
mov edi, 1
shl edi, cl
lea edx, [eax + esi]
nop
movzx esi, byte [esp + 0x19]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x65be33d9
cmp byte [ebp + 6], 4
je 0x65be33a4
nop
mov dword [esp + 0x88], ebp
mov edx, dword [ebp]
mov dword [esp + 0x8c], edx
jmp 0x65be33d0
mov eax, dword [ebp]
nop
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.65be7f40
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x65be3315
lea edx, [eax + ebx]
jmp 0x65be3db5
or esi, edi
nop
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
xchg esi, eax
mov byte [edi + ebp], al
xchg esi, eax
mov eax, 1
jmp 0x65be33fe
xor eax, eax
jmp 0x65be33fe
xor eax, eax
mov dword [esp + 0x48], edx
test al, al
je 0x65be340f
mov ebp, dword [esp + 0x30]
jmp 0x65be3e28
mov ebp, dword [esp + 0x30]
jmp 0x65be3e0c
test ecx, ecx
je 0x65be3438
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x65be3438
mov dword [esp], eax
call fcn.65be7900
mov eax, dword [esp + 0x30]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [0x65d82331]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x65be344f
mov ebp, dword [0x65da0484]
test ebp, ebp
je 0x65be3497
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov dword [esp + 0x90], ebp
mov byte [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov ebp, dword [eax + 0x28]
test byte [ebp], al
nop
mov dword [esp + 0x9c], ebp
mov byte [esp + 0xa0], 1
mov dword [esp + 0xa4], 0
xor ecx, ecx
jmp 0x65be3c2c
movzx ebp, word [eax + 0x18]
cmp word [eax + 0x1a], bp
jbe 0x65be34f7
movzx ecx, bp
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov esi, ecx
shr esi, 3
movzx ebp, byte [ebp + esi]
mov edi, dword [eax + 0x28]
test byte [edi], al
movzx edi, byte [edi + esi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and ecx, 7
xchg edi, eax
shr al, cl
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x65be34ef
mov dword [esp + 0x3c], esi
mov dword [esp], eax
call fcn.65be4220
mov eax, dword [esp + 0x30]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
lea ecx, [esi + 1]
jmp 0x65be3bd0
mov dword [esp], eax
call fcn.65bcf970
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
movzx edx, word [ecx + 0x3c]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x65be3ae5
mov dword [esp + 0x5c], eax
mov word [esp + 0x1a], dx
mov word [ecx + 0x3c], ax
mov word [ecx + 0x18], 0
mov word [ecx + 0x1c], 0
movzx ebx, byte [0x65d82330]
test bl, bl
je 0x65be355a
mov ebx, dword [0x65da0168]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x58]
movzx ebp, dx
imul ebp, dword [ecx + 0x44]
add dword [ebx + 0x93c], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp], eax
call fcn.65be81d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x65be358a
mov dword [esp], ecx
call fcn.65bf5a50
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov word [esp + 4], 0
call fcn.65bcf0f0
nop
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.65c30ad0
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x65be3adc
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x64]
cmp edx, ebx
jne 0x65be3a2b
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x65be3a15
lea ebx, [eax + 3]
cmp edx, ebx
je 0x65be3a15
lea edx, [ecx + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.65c30dc0
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x65be36c1
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x65be39ff
mov edx, dword [esp + 0x5c]
test dx, dx
jbe 0x65be3667
movzx edx, byte [esp + 0x17]
movzx edx, dl
cmp edx, 0x88
jae 0x65be39f3
shl edx, 7
lea ecx, [0x65d87df0]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65beef10
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x65d87d20]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.65c30c50
nop
nop
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.65c30e60
lea eax, [0x65be4180]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.65c2b1d0
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
movzx edx, byte [esp + 0x17]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x65be3844
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x65be36eb
movzx edx, byte [esp + 0xb8]
test dl, dl
jmp 0x65be3783
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x65da1980]
mov dword [esp], ecx
call fcn.65bef7c0
movzx eax, byte [esp + 0x18]
movsx eax, al
cmp eax, 0x44
jae 0x65be39e9
mov ecx, dword [esp + 4]
test byte [ecx], al
lea eax, [ecx + eax*8 + 0x278]
mov dword [esp], eax
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp + 0x64], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.65c30d10
lea eax, [0x65da1980]
mov dword [esp], eax
call fcn.65bef8b0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x64]
mul ecx
lea ecx, [0x65da0b30]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.65c30d10
movzx eax, byte [esp + 0xb8]
test al, al
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x17]
jne 0x65be3891
mov edx, dword [esp + 0x5c]
test dx, dx
je 0x65be3810
cmp word [eax + 0x1a], dx
jne 0x65be37d4
movzx edx, bl
cmp edx, 0x88
jae 0x65be39dd
shl edx, 7
lea ecx, [0x65d87df0]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65beef10
jmp 0x65be3891
movzx edx, bl
cmp edx, 0x88
jae 0x65be39d1
shl edx, 7
lea ecx, [0x65d87df0]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65beef10
jmp 0x65be3891
nop
lea ecx, [0x65be40b0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x65d87c60]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.65c2b1d0
mov byte [esp + 0xbc], 1
add esp, 0xb0
ret
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x65be3891
movzx edx, word [esp + 0x1a]
test dx, dx
jne 0x65be38a0
movzx edx, bl
cmp edx, 0x88
jae 0x65be39c5
shl edx, 7
lea ecx, [0x65d87df0]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65beef10
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
lea eax, [0x65da1980]
mov dword [esp], eax
call fcn.65bef7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
test byte [eax], al
lea ecx, [eax + 0x270]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.65c30d10
mov eax, dword [esp + 0x84]
add eax, 0x268
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.65c30d10
lea eax, [0x65da1980]
mov dword [esp], eax
call fcn.65bef8b0
nop
lea eax, [0x65da0b30]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.65c30d10
mov eax, dword [0x65da0490]
test eax, eax
jle 0x65be3954
mov eax, dword [esp + 0x30]
mov dword [eax + 0x48], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.65bd13c0
jmp 0x65be397d
nop
lea eax, [0x65be3fe0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
lea ecx, [0x65d87c60]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x68]
mov dword [esp], ecx
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x65be39b6
movzx ecx, byte [ecx + 0xc]
test cl, 0x10
je 0x65be39b6
lea ecx, [0x65be3f80]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x74]
mov dword [esp], ecx
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov dword [eax + 0x5c], 0
mov byte [esp + 0xbc], 1
add esp, 0xb0
ret
mov eax, edx
mov ecx, 0x88
call fcn.65c2c760
mov eax, edx
mov ecx, 0x88
call fcn.65c2c760
mov eax, edx
mov ecx, 0x88
call fcn.65c2c760
mov ecx, 0x44
call fcn.65c2c760
mov eax, edx
mov ecx, 0x88
call fcn.65c2c760
lea eax, [0x65c94225]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.65c26c40
lea eax, [0x65c8e6b3]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.65c26c40
movzx eax, al
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x58], ecx
call fcn.65bf6720
lea eax, [0x65c8effc]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.65bf6f80
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8c581]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.65bf6f80
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8e25e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.65bf6f80
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
call fcn.65bf6920
call fcn.65bf6780
lea eax, [0x65c939c9]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.65c26c40
mov ecx, dword [esp + 0x30]
jmp 0x65be3a2b
movzx edx, dx
mov dword [esp + 0x64], edx
movzx ebx, bx
mov dword [esp + 0x58], ebx
movzx eax, ax
mov dword [esp + 0x54], eax
movzx ecx, word [ecx + 0x1a]
mov dword [esp + 0x50], ecx
call fcn.65bf6720
lea eax, [0x65c8e26e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.65bf6f80
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8bfd2]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65bf6f80
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8f8ca]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.65bf6f80
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8bfda]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65bf6f80
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
call fcn.65bf6920
call fcn.65bf6780
lea eax, [0x65c9238f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.65c26c40
inc ecx
movzx ebp, word [eax + 0x1a]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x65be34f7
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
movzx ebp, byte [ecx + ebp]
mov esi, dword [eax + 0x28]
test byte [esi], al
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg ebp, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg ebp, eax
je 0x65be3bcf
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.65be4220
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
jmp 0x65be3bcf
inc dword [esp + 0xa4]
inc ecx
movzx ebp, word [eax + 0x1a]
cmp ecx, ebp
jae 0x65be3497
mov ebp, dword [esp + 0x90]
movzx esi, byte [esp + 0x94]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x65be3d3a
movzx ebp, word [eax + 0x18]
cmp dword [esp + 0xa4], ebp
jb 0x65be3c87
mov ebp, dword [esp + 0x9c]
movzx esi, byte [esp + 0xa0]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x65be3d3a
mov ebp, dword [eax + 0x44]
imul ebp, ecx
movzx esi, byte [0x65d82331]
add ebp, dword [eax + 0xc]
xchg esi, eax
test al, al
xchg esi, eax
je 0x65be3d2c
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ebp
movzx esi, byte [0x65d82330]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x65be3cbc
xor esi, esi
xor edi, edi
jmp 0x65be3ce1
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
test esi, esi
je 0x65be3d2c
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], edi
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.65c13ac0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.65c19920
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, dword [0x65da0484]
test esi, esi
je 0x65be3d3a
xor esi, esi
jmp 0x65be3dac
movzx ebp, byte [esp + 0x94]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x65be3d5b
inc dword [esp + 0x90]
mov byte [esp + 0x94], 1
jmp 0x65be3d66
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x94], al
xchg ebp, eax
inc dword [esp + 0x98]
movzx ebp, byte [esp + 0xa0]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x65be3d91
inc dword [esp + 0x9c]
mov byte [esp + 0xa0], 1
jmp 0x65be3c24
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0xa0], al
xchg ebp, eax
jmp 0x65be3c24
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x65be3da1
jmp 0x65be3d3a
mov ebp, dword [ebp]
test ebp, ebp
je 0x65be33fc
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x65be33f8
cmp byte [ebp + 6], 1
jne 0x65be3db2
jmp 0x65be33e1
mov eax, dword [ebp + 0xc]
add eax, edi
mov ecx, dword [esi]
nop
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x88]
mov dword [edx], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.65be7f40
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x65be3315
movzx edi, word [esi + 4]
cmp edi, edx
jb 0x65be3dd4
jmp 0x65be3315
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x65be3315
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x65be3315
movzx eax, byte [esi + 6]
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp al, 1
je 0x65be3e69
cmp al, 2
je 0x65be3e69
nop
mov dword [esp + 0x88], esi
mov esi, dword [esi]
mov dword [esp + 0x8c], esi
jmp 0x65be3e28
mov eax, dword [esi]
nop
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.65be7f40
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x65be3e28
call fcn.65bf3f80
movzx eax, al
mov dword [esp + 0x64], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x58], ecx
call fcn.65bf6720
lea eax, [0x65c8effc]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.65bf6f80
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8c581]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.65bf6f80
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
lea eax, [0x65c8e25e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.65bf6f80
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65bf6c70
call fcn.65bf6920
call fcn.65bf6780
lea eax, [0x65c91078]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.65c26c40
mov ebx, dword [esp + 0x30]
jmp 0x65be3e9f
lea eax, [0x65c91451]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65be31b0