Function at 0x1000d430
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x16c], ebx
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], ecx
je 0x1000ea93
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x1000ea93
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x1000ea93
lea eax, [edi + 0x64]
nop
cmp byte [eax], 0
jne 0x1000d4c2
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x1000d4b0
jmp 0x1000ea93
push ebx
lea eax, [ebp - 0x64]
push eax
call fcn.1000f3c0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.100131c0
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x44], 0
test eax, eax
jne 0x1000d515
xor al, al
jmp 0x1000d533
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000d52d
cmp eax, 0x80
je 0x1000d52d
xor al, al
jmp 0x1000d533
mov byte [ebp - 0x24], 1
mov al, 1
mov byte [ebp - 0x155], al
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x156]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x156], 0
push eax
push ebx
call fcn.1000ec90
test al, al
jne 0x1000d59d
cmp byte [ebp - 0x156], al
je 0x1000d59d
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1000d596
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
xor ebx, ebx
mov byte [ebp - 0x156], al
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], ebx
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000e97c
imul esi, ebx, 0x68
add esi, edi
cmp byte [esi + 0x64], 0
je 0x1000dc4a
mov edi, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
sub ecx, edi
mov dword [ebp - 0x164], ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000d668
nop dword [eax + eax]
add edi, ebx
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000d61c
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1000d626
mov eax, dword [edi]
push ecx
push eax
call fcn.1001c29d
add esp, 8
test eax, eax
je 0x1000d666
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
mov edi, dword [ebp - 0x20]
add ebx, 0x68
inc dword [ebp - 0x15c]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x15c], eax
jb 0x1000d610
mov ebx, dword [ebp - 0x164]
jmp 0x1000d668
mov ebx, edi
test ebx, ebx
jne 0x1000d874
xor eax, eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0x1c]
push ecx
cmp dword [ebp - 0x18], eax
je 0x1000d727
mov ecx, eax
call fcn.1000d280
mov edx, dword [ebp - 0x1c]
add edx, 0x68
mov dword [ebp - 0x1c], edx
jmp 0x1000d733
push eax
lea ecx, [ebp - 0x20]
call fcn.10010550
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, 0x4ec4ec4f
sub edx, ecx
imul edx
lea ebx, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add ebx, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x1000d795
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d78b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x1000d7f6
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d7ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x1000d857
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d84d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
push ebx
lea ecx, [ebp - 0x134]
call fcn.100080e0
mov byte [ebp - 4], 0xb
lea edi, [ebx + 0x18]
push edi
lea ecx, [ebp - 0x11c]
call fcn.100080e0
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0x30]
push eax
lea ecx, [ebp - 0x104]
call fcn.100080e0
mov byte [ebp - 4], 0xd
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x174], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x178], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x180], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x184], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x18c], eax
mov al, byte [ebx + 0x64]
mov byte [ebp - 0xd0], al
mov byte [ebp - 4], 0xe
cmp ebx, esi
je 0x1000d939
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000d92e
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.10007140
lea eax, [esi + 0x18]
cmp edi, eax
je 0x1000d955
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1000d94a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.10007140
lea eax, [esi + 0x30]
lea edx, [ebx + 0x30]
cmp edx, eax
je 0x1000d974
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1000d969
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.10007140
mov eax, dword [esi + 0x48]
lea ecx, [ebp - 0x134]
cmp dword [ebp - 0x120], 8
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x60], eax
mov al, byte [esi + 0x64]
mov esi, ebx
mov byte [ebx + 0x64], al
mov eax, dword [ebp - 0x134]
cmovae ecx, eax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x190], eax
jb 0x1000d9ca
mov esi, dword [ebx]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x164], eax
cmp edx, dword [ebp - 0x124]
jne 0x1000db04
test edx, edx
je 0x1000da1b
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x1000db0c
add ecx, 2
sub edx, 1
jne 0x1000da00
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x108], 8
lea ecx, [ebp - 0x11c]
mov esi, edi
cmovae ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1000da35
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0x10c]
jne 0x1000db0c
test edx, edx
je 0x1000da65
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x1000db0c
add ecx, 2
sub edx, 1
jne 0x1000da50
mov eax, dword [ebp - 0x174]
cmp dword [ebx + 0x48], eax
jne 0x1000db0c
mov eax, dword [ebp - 0x178]
cmp dword [ebx + 0x4c], eax
jne 0x1000db0c
mov eax, dword [ebp - 0x17c]
cmp dword [ebx + 0x50], eax
jne 0x1000db0c
mov eax, dword [ebp - 0x180]
cmp dword [ebx + 0x54], eax
jne 0x1000db0c
mov eax, dword [ebp - 0x184]
cmp dword [ebx + 0x58], eax
jne 0x1000db0c
mov eax, dword [ebp - 0x188]
mov edi, dword [ebp - 0x15c]
cmp dword [ebx + 0x5c], eax
jne 0x1000db12
cmp dword [ebp - 0xf0], 8
lea ecx, [ebp - 0x104]
lea esi, [ebx + 0x30]
cmovae ecx, edi
cmp dword [ebx + 0x44], 8
jb 0x1000dad5
mov esi, dword [ebx + 0x30]
mov edx, dword [ebx + 0x40]
cmp edx, dword [ebp - 0xf4]
jne 0x1000db12
test edx, edx
je 0x1000daf7
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x1000db12
add ecx, 2
sub edx, 1
jne 0x1000dae6
mov eax, dword [ebp - 0x18c]
cmp dword [ebx + 0x60], eax
je 0x1000db1d
jmp 0x1000db12
mov edi, dword [ebp - 0x104]
jmp 0x1000db12
mov edi, dword [ebp - 0x15c]
mov byte [ebp - 0x156], 1
mov byte [ebx + 0x64], 1
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xf0]
cmp eax, 8
jb 0x1000db5b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000db51
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push ecx
push edi
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x108]
cmp eax, 8
jb 0x1000dbbc
mov edx, dword [ebp - 0x164]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dbb2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push ecx
push edx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x120]
cmp eax, 8
jb 0x1000dc1d
mov edx, dword [ebp - 0x190]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dc13
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push ecx
push edx
call fcn.100168c9
add esp, 8
mov ebx, dword [ebp - 0x168]
xor eax, eax
mov word [ebp - 0x134], ax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov edi, dword [eax]
jmp 0x1000dc50
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
inc ebx
sub ecx, edi
mov dword [ebp - 0x168], ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000d5d1
cmp byte [ebp - 0x156], 0
je 0x1000e97c
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x1000e97c
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x12
mov eax, 0x4ec4ec4f
mov edi, dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0x34]
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x1000dd07
cmp ebx, 0x418937
ja 0x1000eab3
push ebx
lea ecx, [ebp - 0x34]
call fcn.1000fca0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ecx, edi
mov dword [ebp - 0x15c], 0
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000dfba
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov eax, dword [esi + ecx + 0x60]
lea ebx, [esi + ecx]
cmp eax, 1
je 0x1000dd4e
cmp eax, 2
je 0x1000dd4e
cmp eax, 3
jne 0x1000df81
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x57c], 0
lea eax, [ebp - 0x578]
movlpd qword [ebp - 0x1b0], xmm0
push 0
push eax
movlpd qword [ebp - 0x1a8], xmm0
movlpd qword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x198], 0
call fcn.10018520
add esp, 0xc
lea eax, [ebp - 0x2f8]
push 0x100
push 0
push eax
call fcn.10018520
add esp, 0xc
lea eax, [ebp - 0x1f8]
push 0x48
push 0
push eax
call fcn.10018520
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x2c], eax
je 0x1000dde1
mov ecx, 0xfa
lea esi, [ebp - 0x57c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
add edx, 0x3e8
mov dword [ebp - 0x30], edx
jmp 0x1000ddf4
lea ecx, [ebp - 0x57c]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10010370
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, 0x10624dd3
sub edx, ecx
imul edx
lea edi, [ecx - 0x3e8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add edi, eax
push 0x280
push 0
mov dword [ebp - 0x164], edi
lea esi, [edi + 4]
mov dword [edi], 0x23ab45db
push esi
call fcn.10018520
add esp, 0xc
add edi, 0x284
push 0x100
push 0
push edi
call fcn.10018520
mov eax, dword [ebp - 0x164]
add esp, 0xc
add eax, 0x384
mov dword [ebp - 0x168], eax
push 0x48
push 0
push eax
call fcn.10018520
add esp, 0xc
cmp dword [ebx + 0x10], 0x13f
ja 0x1000de92
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x1000de7e
mov ecx, dword [ebx]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1000de80
jmp 0x1000deab
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1000de9c
mov eax, dword [ebx]
push 0x13e
push eax
push esi
call fcn.1001c412
add esp, 0xc
cmp dword [ebx + 0x28], 0x7f
ja 0x1000ded2
cmp dword [ebx + 0x2c], 8
lea ecx, [ebx + 0x18]
jb 0x1000debc
mov ecx, dword [ecx]
sub edi, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x1000dec0
jmp 0x1000dee9
cmp dword [ebx + 0x2c], 8
lea eax, [ebx + 0x18]
jb 0x1000dedd
mov eax, dword [eax]
push 0x7e
push eax
push edi
call fcn.1001c412
add esp, 0xc
cmp dword [ebx + 0x40], 0x23
ja 0x1000df14
cmp dword [ebx + 0x44], 8
lea ecx, [ebx + 0x30]
jb 0x1000defa
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x168]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1000df02
jmp 0x1000df30
cmp dword [ebx + 0x44], 8
lea eax, [ebx + 0x30]
jb 0x1000df1f
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x168]
call fcn.1001c412
add esp, 0xc
mov ecx, dword [ebp - 0x164]
mov eax, dword [ebx + 0x48]
mov dword [ecx + 0x3cc], eax
mov eax, dword [ebx + 0x4c]
mov dword [ecx + 0x3d0], eax
mov eax, dword [ebx + 0x50]
mov dword [ecx + 0x3d4], eax
mov eax, dword [ebx + 0x54]
mov dword [ecx + 0x3d8], eax
mov eax, dword [ebx + 0x58]
mov dword [ecx + 0x3dc], eax
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x3e0], eax
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x3e4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x15c]
add ecx, 0x68
mov dword [ebp - 0x160], ecx
mov eax, 0x4ec4ec4f
mov ecx, edi
inc ebx
sub ecx, esi
mov dword [ebp - 0x15c], ebx
imul ecx
mov ecx, dword [ebp - 0x160]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000dd34
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jne 0x1000e100
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e02a
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e00b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eab8
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e0a7
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e051
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e040
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e088
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eabd
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000e0c6
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e0c2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e0e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.100067d0
jmp 0x1000ea93
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x154]
call fcn.10014250
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x34]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x40]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x154]
push eax
push esi
call fcn.100142d0
test al, al
jne 0x1000e2f2
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1000e1b8
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000e199
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eac2
push edx
push ecx
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e21c
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e1fd
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eac7
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e299
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e243
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e232
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e27a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eacc
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000e2b8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e2b4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e2d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.100067d0
jmp 0x1000ea93
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
cmp esi, ebx
jne 0x1000e484
mov byte [ebp - 4], 0x12
test esi, esi
je 0x1000e34a
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1000e32b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ead1
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e3ae
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e38f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ead6
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e42b
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e3d5
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e3c4
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e40c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eadb
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000e44a
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e446
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e46a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.100067d0
jmp 0x1000ea93
mov eax, dword [ebp - 0x16c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1000e494
mov ecx, dword [eax]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.1000b420
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x1000e4bb
test edi, edi
jne 0x1000e52a
push ecx
mov ecx, dword [ebp - 0x16c]
push 0x10036a08
call fcn.1000af60
cmp eax, 0xffffffff
je 0x1000e52a
mov edi, dword [ebp - 0x16c]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.1000a470
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x14c]
call fcn.1000ac20
cmp dword [edi + 0x14], 8
jb 0x1000e4ff
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.1000b420
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x14c]
call fcn.100067d0
cmp edi, 0xffffffff
je 0x1000e81f
test edi, edi
je 0x1000e81f
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
sub ebx, esi
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4c], ebx
jne 0x1000e715
mov ebx, dword [ebp - 0x170]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.1000fb10
mov ecx, dword [ebx + 4]
mov eax, 0x4ec4ec4f
mov edi, dword [ebx]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000e5de
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x170]
lea ebx, [ebx + 0x68]
mov byte [ebx + edi - 4], 0
inc esi
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1000e5b0
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x1000e628
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1000e609
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eae0
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e665
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000ffe0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e6ba
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e688
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e677
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.10010110
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000e6d9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e6d5
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e6f9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10006740
mov al, 1
jmp 0x1000ea95
mov byte [ebp - 4], 0x12
test esi, esi
je 0x1000e75f
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1000e740
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eae5
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e79c
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1000ffe0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e7f3
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e7c1
nop
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e7b0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.10010110
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.1000c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10013170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10006740
jmp 0x1000ea93
mov byte [ebp - 4], 0x12
test esi, esi
je 0x1000e869
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1000e84a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eaea
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000e8cd
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e8ae
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eaef
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e923
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e8f1
nop
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e8e0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.10010110
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000e942
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e93e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000e962
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10006740
jmp 0x1000ea93
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e9f9
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1000e9a3
mov ecx, esi
call fcn.1000d140
add esi, 0x68
cmp esi, edi
jne 0x1000e992
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1000e9da
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eaf4
push ecx
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x1000ea18
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000ea14
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000ea38
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x1000ea7f
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ea75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eaf9
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10016207
mov esp, ebp
pop ebp
ret 0xc
call fcn.10008010
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
call fcn.1001abba
int3