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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor edi, edi
mov esi, edx
sub esp, 0x9c
cmp dword [eax + 0x24], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jne 0x65c60e
test ebx, ebx
jns 0x65c600
cmp dword [eax + 0xc], 0
setne al
movzx eax, al
add eax, dword [esi + 0x10]
mov edi, eax
jmp 0x65c60e
imul eax, ebx, 0xc
mov edi, edx
add eax, esi
cmp dword [eax + 0x1c], edx
cmovle edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.005f5f7a
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
test ecx, ecx
mov dword [eax], ecx
je 0x65cf99
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x1c], esi
and eax, 2
mov dword [ebp - 0x64], eax
setne al
movzx eax, al
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x44]
shr eax, 4
and eax, 1
mov byte [ecx + 0x3c], al
mov eax, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
inc dword [esi]
test byte [ebp - 0x44], 0x20
jne 0x65c667
mov eax, dword [ebp - 0x3c]
mov edx, ecx
add eax, 0x24
call fcn.005f8b05
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
je 0x65c68e
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x65cf59
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x44], eax
lea ebx, [eax - 1]
jmp 0x65ce95
test ebx, ebx
jns 0x65ce47
imul eax, dword [esi + 0x14], 0xc
mov dword [ebp - 0x50], 0
lea eax, [esi + eax + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x65c865
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
add eax, 0x50
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x48], eax
je 0x65c6e0
test byte [ebp - 0x44], 8
je 0x65c729
lea eax, [ebx + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call fcn.005f6aef
mov edi, dword [ebp - 0x3c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x1c]
call fcn.005eb305
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
test edi, edi
je 0x65c7c4
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x65c7c4
mov eax, dword [ebp - 0x40]
or dword [eax + 0x54], 1
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov eax, 0xd
test edx, edx
js 0x65c75a
mov ecx, dword [ebp + 0xc]
lea edi, [eax*8]
movzx ecx, byte [ecx + edx]
dec edx
xor ecx, edi
xor eax, ecx
jmp 0x65c741
xor edx, edx
div dword [ebp - 0x4c]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x65c7bb
lea eax, [edi + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [edi + 0x28]
mov dword [esp], eax
call fcn.0066e418
test eax, eax
jne 0x65c796
mov eax, dword [ebp + 0x10]
cmp byte [edi + eax + 0x28], 0
je 0x65c79a
mov edi, dword [edi]
jmp 0x65c765
mov eax, ebx
mov edx, edi
call fcn.005eb238
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0x28]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
sub eax, 0x29
sub eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0
je 0x65c853
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp - 0x40]
lea edx, [eax + 0x8c]
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, ebx
call fcn.005f7e4b
mov eax, ebx
mov edx, 0xc
call fcn.005f5b05
test eax, eax
mov ebx, eax
mov dword [ebp - 0x50], 1
je 0x65c865
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
lea edx, [edi + 0x98]
mov dword [ebx], eax
mov dword [edi + 0x5c], ebx
call fcn.005e4308
mov edi, dword [ebp - 0x40]
movzx eax, al
cmp dword [ebp - 0x64], 0
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x78], eax
je 0x65c848
or dword [edi + 0x54], 2
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call fcn.005f8b75
jmp 0x65c853
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call fcn.005ea6be
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call fcn.005e919c
mov dword [ebp - 0x50], 1
lea eax, [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
and eax, 8
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x54], esi
jae 0x65c670
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
dec eax
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x50], 0x58
lea esi, [esi + eax + 0x50]
imul eax, dword [ebp - 0x58], 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x58], 0
js 0x65ce2e
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x70]
add ebx, dword [eax + 8]
cmp dword [ebp + 0xc], 0
jne 0x65c8c9
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov edx, ebx
call fcn.0065a254
jmp 0x65ce1f
xor eax, eax
mov ecx, 0x16
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi], ebx
cmp dword [eax + 0x3c], 0
jne 0x65c90a
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [esp], 0x61e9f43f
mov dword [esp + 4], eax
call fcn.006146a2
mov edi, dword [ebp - 0x3c]
mov ecx, eax
lea edx, [edi + 0x3c]
mov eax, edi
call fcn.0064d9fc
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x65ce1f
mov edi, dword [eax + 0x3c]
mov eax, dword [ebx]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00607ba9
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
call fcn.006079cc
mov dword [esp], edi
call fcn.0063db9a
cmp eax, 0x64
jne 0x65c97f
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.005ec7bd
mov edx, eax
and eax, 1
sar edx, 1
mov dword [ebp - 0x60], eax
jmp 0x65c98b
mov dword [ebp - 0x60], 0
mov edx, 1
mov dword [esp], edi
mov dword [ebp - 0x44], edx
call fcn.00628369
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov dword [esp + 4], 2
mov dword [esp], edi
call fcn.00607bcf
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
cmp eax, edx
jle 0x65c9bf
mov edx, eax
mov dword [ebp - 0x60], 0
lea eax, [edx - 1]
mov edx, esi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
call fcn.00659cd3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x65cc05
mov edi, dword [eax]
mov ebx, dword [eax + 8]
lea edx, [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], eax
lea eax, [edi + ebx]
call fcn.005ea30c
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], edx
jl 0x65cae6
add eax, ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
jmp 0x65ca3c
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x28], ebx
jns 0x65ca3c
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
call fcn.005ea30c
add dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x24], ebx
jns 0x65ca60
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x24]
call fcn.005ea30c
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x28], eax
jl 0x65cf6c
jne 0x65cab9
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
sub ebx, eax
mov eax, dword [ebp - 0x2c]
cmp ebx, ecx
cmovg ebx, ecx
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], ebx
xor eax, eax
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
add ebx, edi
cmp dword [ebp - 0x88], eax
jle 0x65caaa
mov edx, dword [ebp - 0x80]
mov dl, byte [edx + eax]
cmp byte [ebx + eax], dl
je 0x65caf5
add dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
cmp dword [ebp + 0x10], ebx
je 0x65caf8
cmp ecx, eax
jg 0x65cb02
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jle 0x65cf8d
lea edx, [ebp - 0x28]
mov eax, ebx
add eax, edi
call fcn.005ea30c
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x20]
add dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x20], edx
jg 0x65ca1b
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x65cc05
inc eax
jmp 0x65ca97
cmp ecx, eax
jne 0x65cf6c
jmp 0x65cb81
mov edx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x48]
add edx, edi
mov cl, byte [ebx + ecx]
cmp byte [edx + eax], cl
jbe 0x65cab9
jmp 0x65cf6c
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.00659cd3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x65cc05
mov ebx, dword [eax + 8]
cmp ebx, dword [eax + 4]
jge 0x65cb24
mov edi, dword [eax]
lea edx, [ebp - 0x2c]
lea eax, [edi + ebx]
call fcn.005ea30c
mov edx, dword [ebp - 0x2c]
cmp edx, 3
jle 0x65cb1a
mov ecx, dword [esi + 0xc]
cmp edx, dword [ecx + 8]
jge 0x65cb1a
add eax, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], eax
lea eax, [edi + edx]
lea edx, [ebp - 0x24]
call fcn.005ea30c
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
lea edx, [esi + 0x3c]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call fcn.005f7e4b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
lea edx, [esi + 0x3c]
add eax, edi
mov dword [esp], eax
mov eax, ebx
call fcn.005f7e09
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jg 0x65cbd2
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
inc eax
jmp 0x65cbe8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
add eax, edi
call fcn.005ea30c
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov edx, esi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x3c]
call fcn.00659d6e
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.005ea6be
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x6c]
or edi, dword [eax + 0x24]
jne 0x65ce15
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, 1
test ecx, ecx
mov dword [esi + 4], edx
je 0x65ce15
cmp dword [ebp - 0x64], 0
je 0x65cc71
or eax, 3
cmp dword [ebp - 0x60], 0
mov dword [esi + 4], eax
jne 0x65cc7b
mov eax, dword [esi + 0x38]
test eax, eax
je 0x65ccaf
mov edi, dword [eax + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, 0
mov ecx, eax
mov eax, edi
shl edx, 5
mov ebx, edx
cdq
add ecx, edi
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call fcn.00659a92
mov dword [ebp - 0x44], eax
jmp 0x65cdb0
cmp dword [ebp - 0x60], 0
je 0x65ce15
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x1c]
and edx, 2
cmp eax, dword [esi + 8]
jne 0x65cc91
mov edi, dword [ecx + 8]
cmp dword [esi + 0x28], edi
jl 0x65cca3
mov ecx, dword [esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx]
call fcn.0065c3cb
mov dword [esi + 0x38], eax
cmp dword [ebp - 0x64], 0
je 0x65ce15
jmp 0x65cc3c
mov edx, dword [esi + 8]
cmp dword [esi + 0x1c], edx
mov eax, 4
mov ecx, dword [esi + 0xc]
jne 0x65ccc2
mov eax, dword [esi + 0x20]
mov edi, dword [ecx]
lea ebx, [eax + 9]
inc eax
cmp byte [edi + eax - 1], 0
jns 0x65ccd3
cmp ebx, eax
jg 0x65ccc7
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 8]
cmp dword [esi + 0x28], eax
jl 0x65ce0b
mov eax, dword [esi]
mov dword [ebp - 0x60], 0
xor edi, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
lea eax, [edx + 1]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x88], eax
sar eax, 0x1f
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x65cdb0
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
cmp ebx, dword [eax + 8]
jg 0x65cdb0
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, 0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
shl edx, 5
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x84]
adc edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x74]
add ecx, eax
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call fcn.00659a92
test eax, eax
je 0x65cda0
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov dword [ebp - 0x78], ebx
mov ebx, dword [eax + 4]
shl edx, 8
add dx, cx
je 0x65cd93
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, edx
mov dword [esp], eax
call fcn.005e686f
cmp dword [ebp - 0x78], ebx
jl 0x65cdb0
inc dword [ebp - 0x48]
add dword [ebp - 0x60], 1
adc dword [ebp - 0x5c], 0
jmp 0x65cd13
cmp dword [ebp - 0x44], 0
je 0x65ce0b
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.005e686f
mov eax, dword [ebp - 0x44]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [eax]
movzx edx, byte [eax]
mov ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
add edx, ecx
movzx edi, dx
lea edx, [esi + 0x48]
add eax, edi
call fcn.005e4308
movzx eax, al
add eax, edi
mov edi, dword [ebp - 0x44]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [edi + 8], eax
jl 0x65ce00
inc eax
jmp 0x65ce08
mov eax, dword [ebp - 0x44]
call fcn.005ea544
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.005f8b75
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.005e919c
dec dword [ebp - 0x58]
add esi, 0x58
sub dword [ebp - 0x70], 0xc
jmp 0x65c89f
cmp dword [ebp - 0x68], 0
mov eax, 0
cmovns eax, dword [ebp - 0x68]
add dword [ebp - 0x54], 0xc
add dword [ebp - 0x50], eax
jmp 0x65c874
lea eax, [edi - 1]
imul ebx, ebx, 0xc
mov dword [ebp - 0x44], eax
imul eax, edi, 0xc
add ebx, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x50]
sub dword [ebp - 0x48], 0xc
cmp dword [ebp - 0x44], 0
js 0x65c670
mov edx, dword [ebp - 0x48]
add edx, dword [ebx + 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x3c]
add edi, 0x58
call fcn.0065a254
dec dword [ebp - 0x44]
jmp 0x65ce5e
mov eax, dword [ebp - 0x40]
mov edx, ebx
call fcn.005e5e43
test eax, eax
mov esi, eax
jne 0x65ce9b
dec ebx
test ebx, ebx
jg 0x65ce84
jmp 0x65ced9
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x65cec7
mov edi, dword [ebp - 0x40]
mov dword [esp + 8], 0
imul eax, esi, 0x58
lea edx, [edi + eax + 0x50]
mov edi, dword [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], edi
mov edi, dword [ebp - 0x40]
call dword [edi + eax + 0x68]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp], ebx
call fcn.005e5f64
jmp 0x65ce94
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edi, dword [eax + 0x48]
movzx eax, word [edi + 4]
imul eax, eax, 0x58
add eax, dword [ebp - 0x40]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
sete byte [esi + 0x10]
cmp byte [esi + 0x3c], 0
mov edx, dword [eax + 0x9c]
mov eax, dword [eax + 0x98]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
je 0x65cf3b
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov eax, dword [eax + 0x24]
call fcn.005e91c6
test eax, eax
je 0x65cf3b
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, esi
call fcn.0065a918
jmp 0x65cf99
test ebx, ebx
je 0x65cf99
movzx eax, word [edi + 4]
mov esi, dword [ebp - 0x40]
mov dword [esp], esi
imul eax, eax, 0x58
lea eax, [esi + eax + 0x50]
mov dword [esp + 4], eax
call dword [esi + 0x30]
jmp 0x65cf99
mov eax, dword [ebp - 0x40]
call fcn.005e90f0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x65cf99
cmp dword [ebp - 0x6c], 0
jne 0x65cb81
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.005e686f
mov dword [esi + 0xc], 0
jmp 0x65cc05
cmp dword [ebp - 0x6c], 0
jne 0x65cb24
jmp 0x65cf76
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret