Function at 0x102f01b0
Capabilities:
Delete file
Get number of processors
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1035bee1
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
je 0x102f129b
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
cmp edi, edx
je 0x102f129b
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x102f129b
xor eax, eax
lea esp, [esp]
cmp byte [eax + edi + 0x64], 0
jne 0x102f0254
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x102f0240
jmp 0x102f129b
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x460]
push esi
push eax
call fcn.102f19d0
mov dword [esp + 0x580], 0
xorps xmm0, xmm0
movq qword [esp + 0x42c], xmm0
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov byte [esp + 0x580], 1
lea eax, [esp + 0x460]
push eax
lea ecx, [esp + 0x430]
call fcn.101758b0
xorps xmm0, xmm0
lea eax, [esp + 0x42c]
movq qword [esp + 0x458], xmm0
mov dword [esp + 0x458], eax
mov eax, dword [esp + 0x42c]
mov byte [esp + 0x45c], 0
test eax, eax
jne 0x102f02df
xor al, al
jmp 0x102f0301
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x102f02f7
cmp eax, 0x80
je 0x102f02f7
xor al, al
jmp 0x102f0301
mov byte [esp + 0x430], 1
mov al, 1
mov byte [esp + 0x12], al
mov byte [esp + 0x45c], al
mov byte [esp + 0x580], 2
xorps xmm0, xmm0
movq qword [esp + 0x434], xmm0
mov dword [esp + 0x43c], 0
mov dword [esp + 0x434], 0
mov dword [esp + 0x438], 0
mov dword [esp + 0x43c], 0
mov byte [esp + 0x580], 3
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x438]
mov byte [esp + 0x17], 0
push eax
push esi
call fcn.102f1460
test al, al
jne 0x102f0389
cmp byte [esp + 0x13], al
je 0x102f0389
cmp dword [esi + 0x14], 8
jb 0x102f0380
mov eax, dword [esi]
jmp 0x102f0382
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 4]
xor al, al
mov esi, dword [ebx]
sub ecx, esi
mov byte [esp + 0x13], al
mov eax, 0x4ec4ec4f
imul ecx
mov dword [esp + 0x20], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x102f1192
xor ecx, ecx
mov dword [esp + 0x14], ecx
jmp 0x102f03c0
cmp byte [esi + ecx + 0x64], 0
lea edi, [esi + ecx]
je 0x102f0803
mov ecx, dword [esp + 0x438]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x434]
xor ebx, ebx
sub ecx, esi
mov dword [esp + 0x18], ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
je 0x102f043d
jmp 0x102f0400
cmp dword [edi + 0x14], 8
jb 0x102f040a
mov ecx, dword [edi]
jmp 0x102f040c
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x102f0416
mov eax, dword [esi]
jmp 0x102f0418
mov eax, esi
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x102f043b
mov eax, dword [esp + 0x18]
add esi, 0x68
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x102f0400
jmp 0x102f043d
mov ebx, esi
test ebx, ebx
jne 0x102f055c
xor eax, eax
mov dword [esp + 0x4ac], ebx
mov dword [esp + 0x4b0], ebx
mov dword [esp + 0x4b0], 7
mov dword [esp + 0x4ac], ebx
mov word [esp + 0x49c], ax
mov byte [esp + 0x580], 4
mov dword [esp + 0x4c4], eax
mov dword [esp + 0x4c8], eax
mov dword [esp + 0x4c8], 7
mov dword [esp + 0x4c4], eax
mov word [esp + 0x4b4], ax
mov byte [esp + 0x580], 5
mov dword [esp + 0x4dc], eax
mov dword [esp + 0x4e0], eax
mov dword [esp + 0x4e0], 7
mov dword [esp + 0x4dc], eax
mov word [esp + 0x4cc], ax
mov byte [esp + 0x580], 6
xorps xmm0, xmm0
movlpd qword [esp + 0x4e4], xmm0
movlpd qword [esp + 0x4ec], xmm0
movlpd qword [esp + 0x4f4], xmm0
mov dword [esp + 0x4fc], eax
mov byte [esp + 0x500], al
mov byte [esp + 0x580], 7
lea eax, [esp + 0x49c]
push eax
lea ecx, [esp + 0x438]
call fcn.102f1dd0
mov ecx, dword [esp + 0x438]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x434]
sub ecx, esi
imul ecx
lea ebx, [esi - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add ebx, eax
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x49c]
call fcn.100cede0
push ebx
lea ecx, [esp + 0x508]
call fcn.102effc0
mov byte [esp + 0x580], 8
cmp ebx, edi
je 0x102f0581
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.100cd9d0
lea eax, [edi + 0x18]
lea esi, [ebx + 0x18]
cmp esi, eax
je 0x102f0597
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100cd9d0
lea ecx, [ebx + 0x30]
lea eax, [edi + 0x30]
mov dword [esp + 0x40], ecx
cmp ecx, eax
je 0x102f05af
push 0xffffffffffffffff
push 0
push eax
call fcn.100cd9d0
mov eax, dword [edi + 0x48]
lea ecx, [ebx + 0x48]
mov dword [ecx], eax
mov eax, dword [edi + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x38], ecx
lea ecx, [ebx + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + 0x60]
mov dword [ecx], eax
mov al, byte [edi + 0x64]
mov dword [esp + 0x2c], ecx
lea ecx, [ebx + 0x64]
mov byte [ecx], al
cmp dword [esp + 0x518], 8
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x504]
cmovae ecx, dword [esp + 0x504]
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x1c], eax
jb 0x102f0625
mov ebx, dword [ebx]
mov edi, dword [esp + 0x514]
cmp eax, edi
mov edx, edi
cmovb edx, eax
test edx, edx
jne 0x102f0650
xor eax, eax
test eax, eax
jne 0x102f0678
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jae 0x102f066f
or eax, 0xffffffff
jmp 0x102f0676
mov ax, word [ebx]
cmp ax, word [ecx]
jne 0x102f0661
add ebx, 2
add ecx, 2
dec edx
jmp 0x102f0635
movzx eax, word [ebx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x102f0639
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x102f07db
cmp dword [esp + 0x530], 8
lea ecx, [esp + 0x51c]
mov ebx, dword [esi + 0x10]
cmovae ecx, dword [esp + 0x51c]
cmp dword [esi + 0x14], 8
jb 0x102f06aa
mov esi, dword [esi]
mov edi, dword [esp + 0x52c]
cmp ebx, edi
mov edx, edi
cmovb edx, ebx
test edx, edx
jne 0x102f06d0
xor eax, eax
test eax, eax
jne 0x102f06f8
cmp ebx, edi
jae 0x102f06ef
or eax, 0xffffffff
jmp 0x102f06f6
mov ax, word [esi]
cmp ax, word [ecx]
jne 0x102f06e1
add esi, 2
add ecx, 2
dec edx
jmp 0x102f06ba
movzx eax, word [esi]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x102f06be
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x102f07db
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x54c]
jne 0x102f07db
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x550]
jne 0x102f07db
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x554]
jne 0x102f07db
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x558]
jne 0x102f07db
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x55c]
jne 0x102f07db
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x560]
jne 0x102f07db
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x534]
cmp dword [esp + 0x548], 8
cmovae edx, dword [esp + 0x534]
cmp dword [ecx + 0x14], 8
mov edi, dword [ecx + 0x10]
jb 0x102f078f
mov ecx, dword [ecx]
mov esi, dword [esp + 0x544]
cmp edi, esi
mov eax, esi
cmovb eax, edi
test eax, eax
je 0x102f07ae
push eax
call fcn.100cc860
add esp, 4
test eax, eax
jne 0x102f07c0
cmp edi, esi
jae 0x102f07b7
or eax, 0xffffffff
jmp 0x102f07be
xor eax, eax
cmp edi, esi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x102f07db
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [esp + 0x564]
je 0x102f07e7
mov eax, dword [esp + 0x34]
mov byte [esp + 0x13], 1
mov byte [eax], 1
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x504]
call fcn.100cede0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx]
add ecx, 0x68
mov edi, dword [esp + 0x20]
mov eax, 0x4ec4ec4f
mov dword [esp + 0x14], ecx
inc edi
mov ecx, dword [ebx + 4]
sub ecx, esi
mov dword [esp + 0x20], edi
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x102f03c0
mov al, byte [esp + 0x13]
mov ebx, dword [esp + 0x434]
mov ecx, dword [esp + 0x438]
test al, al
je 0x102f11a0
cmp ebx, ecx
je 0x102f11a0
xorps xmm0, xmm0
mov dword [esp + 0x448], 0
xor eax, eax
movq qword [esp + 0x440], xmm0
mov dword [esp + 0x440], eax
xor esi, esi
mov dword [esp + 0x444], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x448], eax
mov byte [esp + 0x580], 9
sub ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x1c], ebx
je 0x102f08d9
cmp ebx, 0x418937
jbe 0x102f08c1
push str.vector_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
push ebx
lea ecx, [esp + 0x444]
call fcn.102f2210
mov esi, dword [esp + 0x444]
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x102f0ac8
mov esi, dword [esp + 0x434]
add esi, 0x44
jmp 0x102f08f0
mov eax, dword [esi + 0x1c]
cmp eax, 1
je 0x102f0906
cmp eax, 2
je 0x102f0906
cmp eax, 3
jne 0x102f0ab6
lea ecx, [esp + 0x44]
call fcn.102ef3d0
push eax
lea ecx, [esp + 0x444]
call fcn.102f1e80
mov eax, dword [esp + 0x444]
mov ecx, eax
mov ebx, dword [esp + 0x440]
sub ecx, ebx
mov dword [esp + 0x14], eax
add ebx, 0xfffffc18
mov eax, 0x10624dd3
imul ecx
push 0x280
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add ebx, eax
push 0
mov dword [esp + 0x20], ebx
lea edi, [ebx + 4]
mov dword [ebx], 0x23ab45db
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
add ebx, 0x284
push 0x100
push 0
push ebx
call sub.MSVCR120.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0x384
mov dword [esp + 0x20], eax
push 0x48
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi - 0x34], 0x13f
ja 0x102f09ce
cmp dword [esi - 0x30], 8
jb 0x102f09b2
mov ecx, dword [esi - 0x44]
jmp 0x102f09b5
lea ecx, [esi - 0x44]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x102f09b5
mov edi, dword [sym.imp.MSVCR120.dll_wcsncpy]
jmp 0x102f09ee
cmp dword [esi - 0x30], 8
jb 0x102f09d9
mov eax, dword [esi - 0x44]
jmp 0x102f09dc
lea eax, [esi - 0x44]
push 0x13e
push eax
push edi
mov edi, dword [sym.imp.MSVCR120.dll_wcsncpy]
call edi
add esp, 0xc
cmp dword [esi - 0x1c], 0x7f
ja 0x102f0a15
cmp dword [esi - 0x18], 8
jb 0x102f09ff
mov ecx, dword [esi - 0x2c]
jmp 0x102f0a02
lea ecx, [esi - 0x2c]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx], ax
lea ebx, [ebx + 2]
test ax, ax
jne 0x102f0a02
jmp 0x102f0a2c
cmp dword [esi - 0x18], 8
jb 0x102f0a20
mov eax, dword [esi - 0x2c]
jmp 0x102f0a23
lea eax, [esi - 0x2c]
push 0x7e
push eax
push ebx
call edi
add esp, 0xc
cmp dword [esi - 4], 0x23
ja 0x102f0a56
cmp dword [esi], 8
jb 0x102f0a3c
mov ecx, dword [esi - 0x14]
jmp 0x102f0a3f
lea ecx, [esi - 0x14]
mov edx, dword [esp + 0x20]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x102f0a43
jmp 0x102f0a6f
cmp dword [esi], 8
jb 0x102f0a60
mov eax, dword [esi - 0x14]
jmp 0x102f0a63
lea eax, [esi - 0x14]
push 0x23
push eax
push dword [esp + 0x28]
call edi
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
mov dword [ecx + 0x3cc], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x3d0], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x3d4], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x3d8], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x3dc], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x3e0], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x3e4], eax
add esi, 0x68
dec ebx
mov dword [esp + 0x1c], ebx
jne 0x102f08f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x440]
cmp ebx, esi
jne 0x102f0b43
mov byte [esp + 0x580], 3
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test ebx, ebx
je 0x102f0b0c
push ebx
call edi
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
mov ebx, dword [esp + 0x434]
test ebx, ebx
je 0x102f11fb
mov edi, dword [esp + 0x438]
mov esi, ebx
lea esp, [esp]
mov ecx, esi
call fcn.100cede0
add esi, 0x68
cmp esi, edi
jne 0x102f0b30
jmp 0x102f11ce
xorps xmm0, xmm0
mov dword [esp + 0x454], 0
movq qword [esp + 0x44c], xmm0
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 0xa
lea ecx, [esp + 0x47c]
call fcn.102fd4b0
sub esi, ebx
lea ecx, [esp + 0x44c]
mov eax, 0x10624dd3
imul esi
push ecx
sar edx, 6
lea ecx, [esp + 0x480]
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push eax
push ebx
call fcn.102fd550
test al, al
jne 0x102f0c73
mov byte [esp + 0x580], 9
mov eax, dword [esp + 0x44c]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x102f0c06
push eax
call edi
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x102f0c39
push ebx
call edi
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
mov ebx, dword [esp + 0x434]
test ebx, ebx
je 0x102f11fb
mov edi, dword [esp + 0x438]
mov esi, ebx
lea esp, [esp]
mov ecx, esi
call fcn.100cede0
add esi, 0x68
cmp esi, edi
jne 0x102f0c60
jmp 0x102f11ce
mov esi, dword [esp + 0x44c]
cmp esi, dword [esp + 0x450]
jne 0x102f0d0c
mov byte [esp + 0x580], 9
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test esi, esi
je 0x102f0cc0
push esi
call edi
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x102f0cf3
push ebx
call edi
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.102f21c0
jmp 0x102f11fb
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x102f0d1a
mov ecx, dword [eax]
jmp 0x102f0d1c
mov ecx, eax
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.10152220
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x102f0d49
test edi, edi
jne 0x102f0def
push 2
push ecx
mov ecx, dword [esp + 0x2c]
push 0x1055d6e4
call fcn.101175b0
cmp eax, 0xffffffff
je 0x102f0def
mov edi, dword [esp + 0x24]
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x484]
push eax
call fcn.1010cce0
mov byte [esp + 0x580], 0xb
lea ecx, [esp + 0x47c]
call fcn.10152ed0
cmp dword [edi + 0x14], 8
jb 0x102f0d95
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.10152220
add esp, 0x14
mov edi, eax
mov byte [esp + 0x580], 0xa
cmp dword [esp + 0x490], 8
jb 0x102f0dcf
push dword [esp + 0x47c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x490], 7
mov dword [esp + 0x48c], 0
mov word [esp + 0x47c], ax
cmp edi, 0xffffffff
je 0x102f1087
test edi, edi
je 0x102f1087
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x450]
lea eax, [esp + 0x478]
push 0
push eax
sub ebx, esi
mov dword [esp + 0x480], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [esp + 0x478], ebx
jne 0x102f0ff0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x434]
push eax
call fcn.100d1bc0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x102f0eba
xor edi, edi
xor esi, esi
mov eax, dword [esp + 0x28]
lea edi, [edi + 0x68]
mov byte [edi + ebx - 4], 0
inc esi
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x102f0e84
mov esi, dword [esp + 0x44c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x580], 9
test esi, esi
je 0x102f0ef5
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
jmp 0x102f0efb
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x580], 3
mov eax, dword [esp + 0x440]
test eax, eax
je 0x102f0f35
push eax
call esi
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.102f21c0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x102f0f72
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f0f6a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x458], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f0f9e
push eax
call edi
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x474], 8
jb 0x102f0fc9
push dword [esp + 0x460]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x474], 7
mov word [esp + 0x460], ax
mov al, 1
mov dword [esp + 0x470], 0
jmp 0x102f129d
mov byte [esp + 0x580], 9
lea ecx, [esp + 0x44c]
call fcn.100cd760
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x440]
call fcn.100cd760
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.102f21c0
mov byte [esp + 0x580], 1
lea ecx, [esp + 0x458]
call fcn.1015f6f0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f1061
push eax
call edi
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
lea ecx, [esp + 0x460]
call fcn.100cd690
jmp 0x102f129b
mov byte [esp + 0x580], 9
test esi, esi
je 0x102f10ba
push esi
call ebx
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
mov eax, dword [esp + 0x440]
test eax, eax
je 0x102f10f4
push eax
call ebx
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.102f21c0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x102f1131
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f1129
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x458], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f1161
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x474], 8
jb 0x102f127f
push dword [esp + 0x460]
call ebx
jmp 0x102f127c
mov ebx, dword [esp + 0x434]
mov ecx, dword [esp + 0x438]
mov byte [esp + 0x580], 2
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test ebx, ebx
je 0x102f11fb
mov esi, ebx
cmp ebx, ecx
je 0x102f11d4
mov edi, dword [esp + 0x438]
nop
mov ecx, esi
call fcn.100cede0
add esi, 0x68
cmp esi, edi
jne 0x102f11c0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push ebx
call edi
add esp, 4
mov dword [esp + 0x434], 0
mov dword [esp + 0x438], 0
mov dword [esp + 0x43c], 0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x102f1224
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f121c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x458], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x102f1254
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x474], 8
jb 0x102f127f
push dword [esp + 0x460]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x474], 7
mov word [esp + 0x460], ax
mov dword [esp + 0x470], eax
xor al, al
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 0xc