Function at 0x68fc00
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x887dec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
xor ebx, ebx
push edi
mov dword [0x9ddbd8], ebx
call ebp
mov dword [0x9ddbe0], eax
mov eax, dword [esp + 0x14c]
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x68ff09
cmp dword [0x9ddbe4], ebx
je 0x68ff29
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x148]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.00696980
add esp, 8
test eax, eax
je 0x68ff49
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x14c]
not esi
shr esi, 6
push edx
and esi, 1
call fcn.0069ae20
add esp, 4
cmp esi, ebx
mov dword [esp + 0x28], eax
je 0x68fcb0
cmp eax, ebx
jne 0x68ff69
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ebx
push ecx
push ebx
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
call fcn.0068e380
mov eax, dword [esp + 0x30]
add esp, 0x14
cmp eax, ebx
jne 0x68ff76
mov edx, dword [esp + 0x148]
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x9c]
mov dword [esp + 0x98], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x98]
lea ecx, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00696bc0
add esp, 0xc
test eax, eax
je 0x68ff96
lea ecx, [esp + 0x14]
call fcn.00636b60
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0xa0]
push edx
mov edx, dword [esp + 0x154]
lea ecx, [esp + 0x48]
push eax
push ecx
push edx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00697090
add esp, 0x18
test eax, eax
je 0x68ffb6
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov di, word [eax + 0xc]
cmp di, bx
jbe 0x68fda6
mov edx, dword [esp + 0x30]
mov eax, ecx
and eax, 0xffff
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
lea eax, [edx + eax*8]
je 0x68fda0
mov eax, dword [eax]
cmp eax, 1
jb 0x68ffd6
cmp eax, 4
ja 0x68ffd6
inc ecx
cmp cx, di
jb 0x68fd78
cmp esi, ebx
jne 0x68fe5a
cmp dword [esp + 0x28], ebx
jne 0x68fe5a
lea ecx, [esp + 0x1c]
call fcn.00636b60
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 1
push ecx
push edx
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x44]
push eax
push ecx
push edx
call fcn.0068f630
add esp, 0x14
test eax, eax
je 0x68fe4a
lea ecx, [esp + 0x1c]
call fcn.00637450
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00636d30
cmp eax, 0x78
jb 0x68fe4a
lea ecx, [esp + 0x1c]
call fcn.00636d30
cmp eax, 0x78
jb 0x68fe4a
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
add ecx, edx
mov edx, dword [esi + 0x74]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
lea edx, [ecx + ecx + 0x7a]
cmp edx, eax
jne 0x68fe4a
mov eax, dword [esp + 0x14c]
push esi
push eax
call fcn.0069aea0
add esp, 8
test eax, eax
jne 0x68fff6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], bl
call fcn.00636c90
lea ecx, [esp + 0x10]
call fcn.00636b60
mov edx, dword [esp + 0x14c]
lea ecx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x148], 2
call fcn.00697d10
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.00636b60
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 3
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.00636d30
push eax
push 1
lea eax, [esp + 0x28]
push 3
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00697750
add esp, 0x24
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00636d30
test eax, eax
jne 0x68fef3
cmp dword [esp + 0x18], ebx
je 0x6908e8
cmp esi, dword [esp + 0xbc]
jbe 0x69000e
mov dword [esp + 0x34], ebx
jmp 0x6908b1
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x1779
call ebp
mov dword [0x9ddbe0], eax
jmp 0x69093c
mov dword [0x9ddbd8], 2
mov dword [0x9ddbdc], 0x177f
call ebp
mov dword [0x9ddbe0], eax
jmp 0x69093c
mov dword [0x9ddbd8], 7
mov dword [0x9ddbdc], 0x1786
call ebp
mov dword [0x9ddbe0], eax
jmp 0x69093c
mov dword [esp + 0x34], 1
jmp 0x690925
mov dword [0x9ddbd8], 0x31
mov dword [0x9ddbdc], 0x1796
call ebp
mov dword [0x9ddbe0], eax
jmp 0x69093c
mov dword [0x9ddbd8], 8
mov dword [0x9ddbdc], 0x179d
call ebp
mov dword [0x9ddbe0], eax
jmp 0x69093c
mov dword [0x9ddbd8], 0x2c
mov dword [0x9ddbdc], 0x17a6
call ebp
mov dword [0x9ddbe0], eax
jmp 0x6908d2
mov dword [0x9ddbd8], 0x32
mov dword [0x9ddbdc], 0x17ac
call ebp
mov dword [0x9ddbe0], eax
jmp 0x6908d2
mov dword [esp + 0x34], 1
mov byte [esp + 0x140], bl
lea ecx, [esp + 0x1c]
jmp 0x69090c
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
or edx, 1
xor eax, eax
cmp ecx, 0x40002
mov dword [esp + 0x60], edx
setne al
mov esi, eax
mov dword [0x9ddbd8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x148]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x1c]
push 1
push ecx
push ebx
push ebp
mov dword [0x9ddbe0], eax
mov dword [esp + 0x2c], ebx
call edi
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x34], eax
call edi
mov eax, dword [0x992ee8]
mov edx, dword [0x992ee4]
xor ebp, ebp
mov ecx, dword [0x992eec]
neg esi
sbb esi, esi
mov dword [esp + 0x40], eax
add esi, 0x40002
mov dword [esp + 0x3c], edx
mov edx, dword [0x992ef0]
mov dword [esp + 0x5c], esi
lea eax, [esp + 0x3c]
mov esi, 0x50
push 0x40
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov word [esp + 0x74], 0x40
mov word [esp + 0x82], si
mov dword [esp + 0x78], ebx
call fcn.006a3300
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], eax
push ecx
call fcn.00697530
add esp, 0xc
test eax, eax
je 0x69012a
mov eax, dword [esp + 0x5c]
cmp eax, 0x40001
je 0x6900e3
cmp eax, 0x40002
jne 0x69012a
cmp word [esp + 0x7a], si
jne 0x69012a
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x3c]
push esi
push 0x40
push edx
mov dword [esp + 0x7c], ebx
call fcn.006a32b0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x70], esi
je 0x69012a
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x3c]
push 0x40
push eax
push ecx
call fcn.00691b60
add esp, 0xc
test eax, eax
je 0x69012a
mov ebp, 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
push ecx
call edi
cmp ebp, ebx
jne 0x69017a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x10
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x29d8
call edi
mov dword [0x9ddbe0], eax
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x17e1
jmp 0x6908aa
lea ecx, [esp + 0x10]
call fcn.00636d30
test eax, eax
jbe 0x690194
lea ecx, [esp + 0x10]
call fcn.00637450
cmp eax, ebx
jne 0x69019d
mov esi, dword [esp + 0x60]
and esi, 0xffffffb1
jmp 0x6901b9
mov esi, dword [esp + 0x60]
push eax
or esi, 8
call fcn.00696050
add esp, 4
test eax, eax
je 0x6901b6
and esi, 0xffffffbf
jmp 0x6901b9
or esi, 0x40
cmp esi, dword [esp + 0x60]
je 0x6901c3
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.00636d30
test eax, eax
jbe 0x6901dd
lea ecx, [esp + 0x10]
call fcn.00637470
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebx
call fcn.00636d30
test eax, eax
jne 0x690209
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x690303
mov edx, dword [ecx + 0xc]
mov eax, 0xffffffd8
sub eax, edx
jmp 0x6902ca
cmp dword [esp + 0x18], ebx
je 0x690235
lea ecx, [esp + 0x20]
call fcn.00636d30
test eax, eax
jbe 0x690303
lea ecx, [esp + 0x10]
call fcn.00636d30
mov edx, dword [esp + 0x18]
sub eax, dword [edx + 0xc]
jmp 0x6902ca
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
xor eax, eax
mov ax, word [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
inc word [ecx + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], 3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov byte [edx + 4], 1
call fcn.00636d30
test eax, eax
jbe 0x69027b
lea ecx, [esp + 0x10]
call fcn.00636d30
jmp 0x69027d
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x90]
add edx, 0x28
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x18]
adc eax, ebx
lea ecx, [esp + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x18]
or dword [eax + 8], 1
call fcn.00636d30
test eax, eax
jbe 0x6902c5
lea ecx, [esp + 0x10]
call fcn.00636d30
jmp 0x6902c7
xor eax, eax
add eax, 0x28
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x690303
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x34]
push 1
push 3
push edx
mov edx, dword [esp + 0x15c]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call fcn.0068f970
add esp, 0x20
test eax, eax
je 0x6908b1
lea ecx, [esp + 0x10]
call fcn.00636d30
test eax, eax
jne 0x6903e0
cmp dword [esp + 0x18], ebx
je 0x6903e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, 0xc
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x28], eax
cmp word [ecx], bx
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
jbe 0x6904b5
cmp edx, ebx
mov eax, ebp
je 0x69038f
and eax, 0xffff
mov ecx, 0xa
lea edi, [esp + 0xe8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*8]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [eax - 0x28]
mov ecx, 0xa
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea esi, [esp + 0xe8]
mov edi, edx
mov edx, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
jmp 0x6903b2
mov esi, dword [esp + 0x28]
and eax, 0xffff
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
cmp dword [eax], 3
jne 0x6903b2
cmp byte [eax + 4], 1
jne 0x6903b2
mov edx, 1
mov dword [esp + 0x24], edx
inc ebp
cmp bp, word [ecx]
jb 0x690342
cmp edx, ebx
je 0x6904b5
dec word [ecx]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00636d30
sub eax, 0x28
lea ecx, [esp + 0x18]
push eax
call fcn.00636d40
jmp 0x6904b5
lea ecx, [esp + 0x10]
call fcn.00636d30
test eax, eax
jbe 0x6903f8
lea ecx, [esp + 0x10]
call fcn.00636d30
jmp 0x6903fa
xor eax, eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
or ecx, 4
mov dword [eax + 8], ecx
mov ecx, dword [esi]
mov dword [esp + 0x7d], edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x81], edx
push eax
mov dword [esp + 0x89], edx
push ecx
mov word [esp + 0x91], dx
push esi
push 1
mov byte [esp + 0x8c], bl
mov byte [esp + 0x9b], dl
call fcn.00637c00
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14c]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
call fcn.006994d0
add esp, 0x10
test eax, eax
jne 0x69048a
mov dword [0x9ddbd8], 0x10
mov dword [0x9ddbdc], 0x182f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x6908ac
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
add eax, 0x18
mov dword [eax], ecx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.006990b0
add esp, 0x10
test eax, eax
jne 0x6904f7
mov dword [0x9ddbd8], 0x10
mov dword [0x9ddbdc], 0x1839
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x6908ac
cmp dword [esp + 0x1c], ebx
je 0x6906cd
lea ecx, [esp + 0x14]
call fcn.00636d30
mov word [esp + 0xaa], ax
mov dword [0x9ddbd8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x148]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x24]
push 1
push ecx
push ebx
push edi
mov dword [0x9ddbe0], eax
mov dword [esp + 0x34], ebx
call esi
push ebx
push ebx
push 0x40
push edi
mov dword [esp + 0x38], eax
call esi
mov esi, 0x50
lea edx, [esp + 0x98]
mov edi, 0x38
push esi
push edx
xor ebp, ebp
mov word [esp + 0xa4], si
mov word [esp + 0xb0], di
mov dword [esp + 0xa0], ebx
call fcn.006a3300
add esp, 8
cmp word [esp + 0x9c], si
mov dword [esp + 0x98], eax
jne 0x690679
cmp word [esp + 0xa8], di
jne 0x690679
mov esi, eax
lea eax, [esp + 0x98]
push esi
push 0x50
push eax
mov dword [esp + 0xa4], ebx
call fcn.006a32b0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x98], esi
je 0x690679
mov ecx, 0x14
lea esi, [esp + 0x98]
lea edi, [esp + 0xe8]
push 0x50
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xec]
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.00698120
add esp, 0xc
test eax, eax
je 0x690679
mov eax, dword [esp + 0x148]
cmp eax, 0xffffffff
je 0x690653
lea ecx, [esp + 0xe8]
test ecx, ecx
je 0x690653
lea edx, [esp + 0x38]
push ebx
push edx
lea ecx, [esp + 0xf0]
push 0x50
push ecx
push eax
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x690674
mov dword [0x9ddbd8], 0xe
mov dword [0x9ddbdc], 0x1ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x690679
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x1aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x690679
mov ebp, 1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0x24]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp ebp, ebx
jne 0x6906cd
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x10
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x2a05
call edi
mov dword [0x9ddbe0], eax
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x1843
jmp 0x6908aa
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
and edi, 0xfffffffe
xor edx, edx
cmp esi, 0x40002
mov dword [esp + 0x60], edi
setne dl
mov esi, edx
mov dword [0x9ddbd8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x148]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x9ddbe0], eax
lea eax, [esp + 0x28]
push 1
push eax
push ebx
push ebp
mov dword [esp + 0x38], ebx
call edi
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x48], eax
call edi
mov edx, dword [0x992ee8]
mov ecx, dword [0x992ee4]
mov eax, dword [0x992eec]
mov dword [esp + 0x40], edx
neg esi
sbb esi, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x992ef0]
lea edx, [esp + 0x3c]
add esi, 0x40002
push 0x40
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov word [esp + 0x74], 0x40
mov dword [esp + 0x64], esi
mov word [esp + 0x82], 0x50
mov dword [esp + 0x78], ebx
call fcn.006a3300
add esp, 8
mov ecx, 4
mov edi, 0x992ee4
lea esi, [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x70], eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x690860
cmp word [esp + 0x6c], 0x40
jne 0x690860
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x40001
je 0x6907bd
cmp ecx, 0x40002
jne 0x690860
cmp word [esp + 0x7a], 0x50
jne 0x690860
mov esi, eax
lea eax, [esp + 0x3c]
push esi
push 0x40
push eax
mov dword [esp + 0x7c], ebx
call fcn.006a32b0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x70], esi
je 0x690860
cmp ebp, 0xffffffff
je 0x690837
lea ecx, [esp + 0x3c]
test ecx, ecx
je 0x690837
lea edx, [esp + 0x94]
push ebx
push edx
lea eax, [esp + 0x44]
push 0x40
push eax
push ebp
mov dword [esp + 0xa8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x690858
mov dword [0x9ddbd8], 0xe
mov dword [0x9ddbdc], 0x1ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x690860
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x1aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x690860
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push ebx
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x24], ebx
jne 0x6908e8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x10
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x29d8
call edi
mov dword [0x9ddbe0], eax
mov dword [0x9ddbd8], esi
mov dword [0x9ddbdc], 0x184c
call edi
mov dword [0x9ddbe0], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call fcn.00636c90
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.00636c90
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0xffffffff
call fcn.00636c90
jmp 0x69093c
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 1
mov byte [esp + 0x140], 2
call fcn.00636c90
mov byte [esp + 0x140], bl
lea ecx, [esp + 0x10]
call fcn.00636c90
lea ecx, [esp + 0x14]
mov dword [esp + 0x140], 0xffffffff
call fcn.00636c90
cmp dword [esp + 0x150], ebx
je 0x69093c
mov eax, dword [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret