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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f1c1
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
cmp dword [eax + 0x10], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ecx
je 0x46fd39
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
cmp edi, edx
je 0x46fd39
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x46fd39
xor eax, eax
lea esp, [esp]
cmp byte [edi + eax + 0x64], 0
jne 0x46eb44
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x46eb30
jmp 0x46fd39
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x458]
push esi
push eax
call fcn.00470470
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 + 0x458]
push eax
lea ecx, [esp + 0x430]
call fcn.0041a230
xorps xmm0, xmm0
lea eax, [esp + 0x42c]
movq qword [esp + 0x470], xmm0
mov dword [esp + 0x470], eax
mov eax, dword [esp + 0x42c]
mov byte [esp + 0x474], 0
test eax, eax
jne 0x46ebcf
xor al, al
jmp 0x46ebf1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46ebe7
cmp eax, 0x80
je 0x46ebe7
xor al, al
jmp 0x46ebf1
mov byte [esp + 0x430], 1
mov al, 1
mov byte [esp + 0x16], al
mov byte [esp + 0x474], 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 + 0x17]
push eax
lea eax, [esp + 0x438]
mov byte [esp + 0x1b], 0
push eax
push esi
call fcn.0046ff00
test al, al
jne 0x46ec79
cmp byte [esp + 0x17], al
je 0x46ec79
cmp dword [esi + 0x14], 8
jb 0x46ec70
mov eax, dword [esi]
jmp 0x46ec72
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 4]
xor al, al
mov edi, dword [ebx]
xor esi, esi
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
sub ecx, edi
mov byte [esp + 0x17], al
mov eax, 0x4ec4ec4f
imul ecx
mov dword [esp + 0x24], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46fbb0
lea esp, [esp]
imul esi, esi, 0x68
add esi, edi
cmp byte [esi + 0x64], 0
je 0x46f2c8
mov ebx, dword [esp + 0x434]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [esp + 0x438]
xor edi, edi
sub ecx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46ed53
xor eax, eax
mov dword [esp + 0x18], eax
add ebx, eax
cmp dword [esi + 0x14], 8
jb 0x46ecfc
mov ecx, dword [esi]
jmp 0x46ecfe
mov ecx, esi
cmp dword [ebx + 0x14], 8
jb 0x46ed08
mov eax, dword [ebx]
jmp 0x46ed0a
mov eax, ebx
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x46ed51
mov ecx, dword [esp + 0x438]
mov eax, 0x4ec4ec4f
mov ebx, dword [esp + 0x434]
sub ecx, ebx
inc dword [esp + 0x1c]
add dword [esp + 0x18], 0x68
imul ecx
mov ecx, dword [esp + 0x1c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
mov eax, dword [esp + 0x18]
jb 0x46ecf0
jmp 0x46ed53
mov edi, ebx
test edi, edi
jne 0x46efc5
xor eax, eax
mov dword [esp + 0x48c], edi
mov dword [esp + 0x490], edi
mov dword [esp + 0x490], 7
mov dword [esp + 0x48c], edi
mov word [esp + 0x47c], ax
mov byte [esp + 0x580], 4
mov dword [esp + 0x4a4], eax
mov dword [esp + 0x4a8], eax
mov dword [esp + 0x4a8], 7
mov dword [esp + 0x4a4], eax
mov word [esp + 0x494], ax
mov byte [esp + 0x580], 5
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x4c0], eax
mov dword [esp + 0x4c0], 7
mov dword [esp + 0x4bc], eax
mov word [esp + 0x4ac], ax
mov byte [esp + 0x580], 6
xorps xmm0, xmm0
movlpd qword [esp + 0x4c4], xmm0
movlpd qword [esp + 0x4cc], xmm0
movlpd qword [esp + 0x4d4], xmm0
mov dword [esp + 0x4dc], eax
mov byte [esp + 0x4e0], al
mov byte [esp + 0x580], 7
lea eax, [esp + 0x47c]
mov edi, dword [esp + 0x438]
cmp eax, edi
jae 0x46ee92
mov ebx, dword [esp + 0x434]
cmp ebx, eax
ja 0x46ee92
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x43c]
jne 0x46ee7f
push ecx
lea ecx, [esp + 0x438]
call fcn.00470e30
mov edi, dword [esp + 0x438]
mov ebx, dword [esp + 0x434]
mov eax, dword [esp + 0x20]
imul eax, eax, 0x68
add eax, ebx
mov byte [esp + 0x580], 8
test edi, edi
je 0x46eeca
jmp 0x46eec2
cmp edi, dword [esp + 0x43c]
jne 0x46eeaf
push ecx
lea ecx, [esp + 0x438]
call fcn.00470e30
mov edi, dword [esp + 0x438]
mov byte [esp + 0x580], 9
test edi, edi
je 0x46eeca
lea eax, [esp + 0x47c]
push eax
mov ecx, edi
call fcn.0046e8b0
mov byte [esp + 0x580], 7
mov eax, 0x4ec4ec4f
mov edx, dword [esp + 0x438]
add edx, 0x68
mov dword [esp + 0x438], edx
mov ecx, dword [esp + 0x434]
sub edx, ecx
imul edx
lea edi, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add edi, eax
mov byte [esp + 0x580], 0xb
cmp dword [esp + 0x4c0], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x46ef29
push dword [esp + 0x4ac]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x4c0], 7
mov dword [esp + 0x4bc], 0
mov word [esp + 0x4ac], ax
mov byte [esp + 0x580], 0xa
cmp dword [esp + 0x4a8], 8
jb 0x46ef67
push dword [esp + 0x494]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x4a8], 7
mov dword [esp + 0x4a4], 0
mov word [esp + 0x494], ax
mov byte [esp + 0x580], 3
cmp dword [esp + 0x490], 8
jb 0x46efa5
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
push edi
lea ecx, [esp + 0x4e8]
call fcn.0046e8b0
mov byte [esp + 0x580], 0xd
cmp edi, esi
je 0x46efea
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.004030c0
lea eax, [esi + 0x18]
lea ebx, [edi + 0x18]
cmp ebx, eax
je 0x46f000
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004030c0
lea ecx, [edi + 0x30]
lea eax, [esi + 0x30]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
je 0x46f018
push 0xffffffffffffffff
push 0
push eax
call fcn.004030c0
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x48]
mov dword [ecx], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x18], ecx
lea ecx, [edi + 0x50]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x38], ecx
lea ecx, [edi + 0x60]
mov dword [ecx], eax
mov al, byte [esi + 0x64]
mov dword [esp + 0x34], ecx
lea ecx, [edi + 0x64]
mov byte [ecx], al
cmp dword [esp + 0x4f8], 8
mov eax, dword [edi + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x4e4]
cmovae ecx, dword [esp + 0x4e4]
cmp dword [edi + 0x14], 8
mov dword [esp + 0x20], eax
jb 0x46f08e
mov edi, dword [edi]
mov esi, dword [esp + 0x4f4]
cmp eax, esi
mov edx, esi
cmovb edx, eax
test edx, edx
jne 0x46f0b3
xor eax, eax
test eax, eax
jne 0x46f0db
mov ecx, dword [esp + 0x20]
cmp ecx, esi
jae 0x46f0d2
or eax, 0xffffffff
jmp 0x46f0d9
mov ax, word [edi]
cmp ax, word [ecx]
jne 0x46f0c4
add edi, 2
add ecx, 2
dec edx
jmp 0x46f09e
movzx eax, word [edi]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x46f0a2
xor eax, eax
cmp ecx, esi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x46f1fc
cmp dword [esp + 0x510], 8
lea ecx, [esp + 0x4fc]
mov edi, dword [ebx + 0x10]
cmovae ecx, dword [esp + 0x4fc]
cmp dword [ebx + 0x14], 8
jb 0x46f10d
mov ebx, dword [ebx]
mov esi, dword [esp + 0x50c]
cmp edi, esi
mov edx, esi
cmovb edx, edi
test edx, edx
jne 0x46f130
xor eax, eax
test eax, eax
jne 0x46f158
cmp edi, esi
jae 0x46f14f
or eax, 0xffffffff
jmp 0x46f156
mov ax, word [ebx]
cmp ax, word [ecx]
jne 0x46f141
add ebx, 2
add ecx, 2
dec edx
jmp 0x46f11d
movzx eax, word [ebx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x46f121
xor eax, eax
cmp edi, esi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x46f1fc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x52c]
jne 0x46f1fc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x530]
jne 0x46f1fc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x534]
jne 0x46f1fc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x538]
jne 0x46f1fc
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x53c]
jne 0x46f1fc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x540]
jne 0x46f1fc
cmp dword [esp + 0x528], 8
lea eax, [esp + 0x514]
push dword [esp + 0x524]
mov ecx, dword [esp + 0x40]
cmovae eax, dword [esp + 0x518]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00407eb0
test eax, eax
jne 0x46f1fc
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
cmp eax, dword [esp + 0x544]
je 0x46f208
mov eax, dword [esp + 0x40]
mov byte [esp + 0x17], 1
mov byte [eax], 1
mov byte [esp + 0x580], 0xf
cmp dword [esp + 0x528], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x46f22c
push dword [esp + 0x514]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x528], 7
mov dword [esp + 0x524], 0
mov word [esp + 0x514], ax
mov byte [esp + 0x580], 0xe
cmp dword [esp + 0x510], 8
jb 0x46f26a
push dword [esp + 0x4fc]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x510], 7
mov dword [esp + 0x50c], 0
mov word [esp + 0x4fc], ax
mov byte [esp + 0x580], 3
cmp dword [esp + 0x4f8], 8
jb 0x46f2a8
push dword [esp + 0x4e4]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x4f8], 7
mov dword [esp + 0x4f4], 0
mov word [esp + 0x4e4], ax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
inc esi
mov dword [esp + 0x24], 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 0x46ecb0
mov al, byte [esp + 0x17]
test al, al
je 0x46fbb0
mov eax, dword [esp + 0x434]
cmp eax, dword [esp + 0x438]
je 0x46fbb0
xorps xmm0, xmm0
mov dword [esp + 0x448], 0
movq qword [esp + 0x440], xmm0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 0x14
mov eax, 0x4ec4ec4f
mov ebx, dword [esp + 0x438]
mov ecx, ebx
mov esi, dword [esp + 0x434]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x448]
mov eax, 0x10624dd3
sub ecx, dword [esp + 0x440]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x46f3c9
cmp edi, 0x418937
jbe 0x46f3ae
push str.vector_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
push edi
lea ecx, [esp + 0x444]
call fcn.00470ed0
mov ebx, dword [esp + 0x438]
mov esi, dword [esp + 0x434]
mov ecx, ebx
mov dword [esp + 0x20], 0
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46f5f0
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esi + ecx + 0x60]
lea edi, [esi + ecx]
cmp eax, 1
je 0x46f40c
cmp eax, 2
je 0x46f40c
cmp eax, 3
jne 0x46f5bf
lea ecx, [esp + 0x44]
call fcn.0046dcd0
push eax
lea ecx, [esp + 0x444]
call fcn.00470b60
mov esi, dword [esp + 0x440]
mov eax, 0x10624dd3
mov ecx, dword [esp + 0x444]
sub ecx, esi
imul ecx
lea ebx, [esi - 0x3e8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add ebx, eax
push 0x280
push 0
mov dword [esp + 0x24], ebx
lea esi, [ebx + 4]
mov dword [ebx], 0x23ab45db
push esi
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 + 0x28]
add esp, 0xc
add eax, 0x384
mov dword [esp + 0x24], eax
push 0x48
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [edi + 0x10], 0x13f
ja 0x46f4cc
cmp dword [edi + 0x14], 8
jb 0x46f4b1
mov ecx, dword [edi]
jmp 0x46f4b3
mov ecx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x46f4b3
mov esi, dword [sym.imp.MSVCR120.dll_wcsncpy]
jmp 0x46f4ea
cmp dword [edi + 0x14], 8
jb 0x46f4d6
mov eax, dword [edi]
jmp 0x46f4d8
mov eax, edi
push 0x13e
push eax
push esi
mov esi, dword [sym.imp.MSVCR120.dll_wcsncpy]
call esi
add esp, 0xc
cmp dword [edi + 0x28], 0x7f
ja 0x46f513
cmp dword [edi + 0x2c], 8
lea ecx, [edi + 0x18]
jb 0x46f500
mov ecx, dword [ecx]
jmp 0x46f500
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx], ax
lea ebx, [ebx + 2]
test ax, ax
jne 0x46f500
jmp 0x46f527
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x46f51e
mov eax, dword [eax]
push 0x7e
push eax
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x40], 0x23
ja 0x46f553
cmp dword [edi + 0x44], 8
lea ecx, [edi + 0x30]
jb 0x46f538
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x46f540
jmp 0x46f56a
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
jb 0x46f55e
mov eax, dword [eax]
push 0x23
push eax
push dword [esp + 0x2c]
call esi
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x48]
mov dword [ecx + 0x3cc], eax
mov eax, dword [edi + 0x4c]
mov dword [ecx + 0x3d0], eax
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x3d4], eax
mov eax, dword [edi + 0x54]
mov dword [ecx + 0x3d8], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 0x3dc], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 0x3e0], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0x3e4], eax
mov ebx, dword [esp + 0x438]
mov esi, dword [esp + 0x434]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add ecx, 0x68
mov dword [esp + 0x18], ecx
mov eax, 0x4ec4ec4f
mov ecx, ebx
inc edi
sub ecx, esi
mov dword [esp + 0x20], edi
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46f3f2
mov eax, dword [esp + 0x440]
cmp eax, dword [esp + 0x444]
jne 0x46f6aa
mov byte [esp + 0x580], 3
cmp dword [esp + 0x440], 0
je 0x46f658
lea ecx, [esp + 0x440]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0x440]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
jmp 0x46f65e
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x580], 2
cmp dword [esp + 0x434], 0
je 0x46fc99
lea ecx, [esp + 0x434]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov edi, dword [esp + 0x438]
mov esi, dword [esp + 0x434]
cmp esi, edi
je 0x46fc72
mov ecx, esi
call fcn.0046e7f0
add esi, 0x68
cmp esi, edi
jne 0x46f697
jmp 0x46fc6b
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], 0x15
lea ecx, [esp + 0x550]
call fcn.00477ad0
mov ecx, dword [esp + 0x444]
mov eax, 0x10624dd3
mov esi, dword [esp + 0x440]
sub ecx, esi
imul ecx
lea ecx, [esp + 0x44c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [esp + 0x554]
push eax
push esi
call fcn.004330f0
test al, al
jne 0x46f7fa
mov byte [esp + 0x580], 0x14
cmp dword [esp + 0x44c], 0
je 0x46f78f
lea ecx, [esp + 0x44c]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0x44c]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
jmp 0x46f795
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x580], 3
cmp dword [esp + 0x440], 0
je 0x46f7e1
lea ecx, [esp + 0x440]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0x440]
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.004709e0
jmp 0x46fc99
mov eax, dword [esp + 0x44c]
cmp eax, dword [esp + 0x450]
je 0x46f73b
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x14], 8
jb 0x46f81c
mov ecx, dword [ebx]
jmp 0x46f81e
mov ecx, ebx
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.0040dfa0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x46f845
test esi, esi
jne 0x46f8eb
push 2
push ecx
push 0x492e04
mov ecx, ebx
call fcn.0040c8f0
cmp eax, 0xffffffff
je 0x46f8eb
push eax
push 0
lea eax, [esp + 0x558]
mov ecx, ebx
push eax
call fcn.0040c700
mov byte [esp + 0x580], 0x16
lea ecx, [esp + 0x550]
call fcn.00414440
cmp dword [ebx + 0x14], 8
jb 0x46f88b
mov ebx, dword [ebx]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, ebx
call fcn.0040dfa0
add esp, 0x14
mov esi, eax
mov byte [esp + 0x580], 0x15
cmp dword [esp + 0x564], 8
jb 0x46f8cb
push dword [esp + 0x550]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x564], 7
mov dword [esp + 0x560], 0
mov word [esp + 0x550], ax
cmp esi, 0xffffffff
je 0x46f73b
test esi, esi
je 0x46f73b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x478]
push 0
push eax
mov eax, dword [esp + 0x458]
sub eax, ecx
mov dword [esp + 0x480], 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [esp + 0x450]
sub eax, dword [esp + 0x44c]
cmp dword [esp + 0x478], eax
jne 0x46fb30
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x434]
push eax
call fcn.00423480
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46f9cf
xor edi, edi
jmp 0x46f9a0
mov eax, dword [esp + 0x28]
lea edi, [edi + 0x68]
mov byte [esi + edi - 4], 0
inc ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x46f9a0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x580], 0x14
cmp dword [esp + 0x44c], 0
je 0x46fa23
lea ecx, [esp + 0x44c]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0x44c]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
jmp 0x46fa29
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x580], 3
cmp dword [esp + 0x440], 0
je 0x46fa75
lea ecx, [esp + 0x440]
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0x440]
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.004709e0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x16], 0
je 0x46fab2
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x46faaa
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x470], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x46fade
push eax
call edi
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x46c], 8
jb 0x46fb09
push dword [esp + 0x458]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x46c], 7
mov word [esp + 0x458], ax
mov al, 1
mov dword [esp + 0x468], 0
jmp 0x46fd3b
mov byte [esp + 0x580], 0x14
lea ecx, [esp + 0x44c]
call fcn.0040bfe0
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x440]
call fcn.0040bfe0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.004709e0
mov byte [esp + 0x580], 1
lea ecx, [esp + 0x470]
call fcn.00408c60
mov byte [esp + 0x580], 0
lea ecx, [esp + 0x42c]
call fcn.0041a210
mov dword [esp + 0x580], 0xffffffff
lea ecx, [esp + 0x458]
call fcn.00402eb0
jmp 0x46fd39
mov byte [esp + 0x580], 2
mov esi, dword [esp + 0x434]
test esi, esi
je 0x46fc99
mov edi, dword [esp + 0x438]
mov dword [esp + 0x2c], esi
cmp esi, edi
je 0x46fc72
lea ebx, [ebx]
mov byte [esp + 0x580], 0x12
cmp dword [esi + 0x44], 8
jb 0x46fbf6
push dword [esi + 0x30]
call ebx
add esp, 4
mov dword [esi + 0x44], 7
xor eax, eax
mov dword [esi + 0x40], 0
mov word [esi + 0x30], ax
mov byte [esp + 0x580], 0x11
cmp dword [esi + 0x2c], 8
jb 0x46fc20
push dword [esi + 0x18]
call ebx
add esp, 4
mov dword [esi + 0x2c], 7
xor eax, eax
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x580], 2
cmp dword [esi + 0x14], 8
jb 0x46fc49
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x68
mov dword [esp + 0x2c], esi
cmp esi, edi
jne 0x46fbe0
mov esi, dword [esp + 0x434]
push esi
call ebx
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x438], 0
mov dword [esp + 0x434], 0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x16], 0
je 0x46fcc2
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x46fcba
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x470], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x46fcf2
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 + 0x46c], 8
jb 0x46fd1d
push dword [esp + 0x458]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x46c], 7
mov word [esp + 0x458], ax
mov dword [esp + 0x468], 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.0047ff74
mov esp, ebp
pop ebp
ret 0xc