Function at 0x411470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480abd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4998
call fcn.0042c0a0
mov eax, dword [0x4a26b4]
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 dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x48d4], edi
mov dword [ebp - 4], ebx
call fcn.0040af30
push 0x104
lea eax, [ebp - 0x228]
push eax
push ebx
mov dword [ebp - 0x4920], 0x40bd10
mov dword [ebp - 0x491c], 0x40bd40
mov dword [ebp - 0x48c0], 0x40e490
mov dword [ebp - 0x48bc], 0x40e4f0
mov dword [ebp - 0x48b8], 0x40e500
mov dword [ebp - 0x48b4], 0x40e560
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
mov dword [ebp - 0x888], 7
mov dword [ebp - 0x88c], ebx
mov word [ebp - 0x89c], cx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea edx, [ebp - 0x228]
push edx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4918], eax
cmp eax, 0xffffffff
jne 0x411591
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x411591
push 0x17
push str.can_not_open_input_file
lea ecx, [ebp - 0x89c]
call fcn.00401740
cmp dword [edi + 0x10], ebx
jne 0x411572
call fcn.00419f56
mov ecx, dword [edi + 0x10]
fldz
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push 0x11170
call edx
jmp 0x411e69
lea eax, [ebp - 0x48e0]
push eax
lea ecx, [ebp - 0x4918]
mov dword [ebp - 0x48e0], ebx
mov dword [ebp - 0x48dc], ebx
call fcn.00411ee0
test al, al
je 0x4115f6
mov eax, dword [ebp - 0x48e0]
mov ecx, dword [ebp - 0x48dc]
push ebx
lea edx, [ebp - 0x48fc]
push edx
push eax
mov dword [ebp - 0x4900], eax
mov eax, dword [ebp - 0x4918]
push eax
mov dword [ebp - 0x48fc], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4900], eax
cmp eax, 0xffffffff
jne 0x411631
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x411631
push 0x15
push str.Cant_find_7z_archive
lea ecx, [ebp - 0x89c]
call fcn.00401740
cmp dword [edi + 0x10], ebx
jne 0x411612
call fcn.00419f56
mov ecx, dword [edi + 0x10]
fldz
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push 0x1117a
call eax
jmp 0x411e69
lea edx, [ebp - 0x48c0]
lea ecx, [ebp - 0x4920]
push edx
lea eax, [ebp - 0x4980]
mov dword [ebp - 0x48b0], ecx
push eax
lea edx, [ebp - 0x4928]
lea ecx, [ebp - 0x48cc]
mov dword [ebp - 0x48a8], ebx
mov dword [ebp - 0x48ac], ebx
mov dword [ebp - 0x4980], ebx
mov dword [ebp - 0x497c], ebx
mov dword [ebp - 0x4978], ebx
mov dword [ebp - 0x4974], ebx
mov dword [ebp - 0x4970], ebx
mov dword [ebp - 0x496c], ebx
mov dword [ebp - 0x4968], ebx
mov dword [ebp - 0x4964], ebx
mov dword [ebp - 0x4950], ebx
mov dword [ebp - 0x494c], ebx
mov dword [ebp - 0x4948], ebx
mov dword [ebp - 0x4944], ebx
mov dword [ebp - 0x4940], ebx
mov dword [ebp - 0x493c], ebx
mov dword [ebp - 0x4938], ebx
mov dword [ebp - 0x48cc], 0x40aea0
mov dword [ebp - 0x48c8], 0x40aec0
mov dword [ebp - 0x4928], 0x40aea0
mov dword [ebp - 0x4924], 0x40aec0
call fcn.0040de20
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41170a
lea edi, [ebp - 0x48cc]
lea eax, [ebp - 0x4980]
call fcn.0040bf30
mov edi, dword [ebp - 0x48d4]
mov dword [ebp - 0x48c4], esi
cmp esi, ebx
je 0x41173d
cmp dword [edi + 0x10], ebx
jne 0x41171e
call fcn.00419f56
mov ecx, dword [edi + 0x10]
fldz
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push 0x11170
call eax
jmp 0x411e69
fldz
push 0x24
fstp dword [ebp - 0x48d8]
mov dword [ebp - 0x48fc], 0xffffffff
mov dword [ebp - 0x4904], ebx
mov dword [ebp - 0x492c], ebx
mov dword [ebp - 0x4910], ebx
call fcn.0041bd9d
add esp, 4
cmp eax, ebx
je 0x411e9d
mov dword [eax], eax
mov dword [ebp - 0x4914], eax
mov dword [eax + 4], eax
lea esi, [ebp - 0x4998]
mov byte [ebp - 4], 2
call fcn.00402110
mov byte [ebp - 4], 3
xor edi, edi
mov ebx, dword [ebp - 0x4940]
mov dword [ebp - 0x48f4], edi
cmp edi, dword [ebp - 0x4964]
jae 0x4117e5
mov eax, dword [ebx + edi*4]
mov ecx, dword [ebx + edi*4 + 4]
mov esi, edi
shl esi, 5
add esi, dword [ebp - 0x4970]
xor edx, edx
sub ecx, eax
mov dword [ebp - 0x4908], edx
mov dword [ebp - 0x48e4], edx
mov dword [ebp - 0x48dc], esi
cmp ecx, 0x104
jb 0x4118b1
mov dword [ebp - 0x48c4], 0xb
mov edx, dword [ebp - 0x4950]
push edx
lea eax, [ebp - 0x48cc]
push eax
call dword [ebp - 0x48c8]
mov ecx, dword [ebp - 0x494c]
add esp, 8
push ecx
lea edx, [ebp - 0x48cc]
push edx
call dword [ebp - 0x48c8]
mov eax, dword [ebp - 0x4948]
add esp, 8
push eax
lea ecx, [ebp - 0x48cc]
push ecx
call dword [ebp - 0x48c8]
mov edx, dword [ebp - 0x4944]
add esp, 8
push edx
lea eax, [ebp - 0x48cc]
push eax
call dword [ebp - 0x48c8]
add esp, 8
lea ecx, [ebp - 0x48cc]
push ebx
push ecx
call dword [ebp - 0x48c8]
mov edx, dword [ebp - 0x493c]
add esp, 8
push edx
lea eax, [ebp - 0x48cc]
push eax
call dword [ebp - 0x48c8]
xor edi, edi
add esp, 8
lea eax, [ebp - 0x48cc]
lea esi, [ebp - 0x4980]
mov dword [ebp - 0x493c], edi
mov dword [ebp - 0x4938], edi
call fcn.0040bea0
mov eax, dword [ebp - 0x4918]
cmp eax, 0xffffffff
je 0x411d9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x411d91
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411d9b
mov ebx, dword [ebp - 0x493c]
lea ebx, [ebx + eax*2]
xor eax, eax
lea esp, [esp]
cmp eax, ecx
jae 0x4118d3
mov dx, word [ebx + eax*2]
mov word [ebp + eax*2 - 0x848], dx
inc eax
jmp 0x4118c0
lea edx, [ebp - 0x848]
lea ecx, [ebp - 0x48f0]
call fcn.00412130
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48ec], 0
jne 0x411915
lea ebx, [ebp - 0x48f0]
mov byte [ebp - 4], 3
call fcn.00412670
mov eax, dword [ebp - 0x48f0]
push eax
call fcn.0041bd41
add esp, 4
inc edi
jmp 0x411793
cmp byte [esi + 0x19], 0
jne 0x411d16
lea ecx, [ebp - 0x4928]
push ecx
lea edx, [ebp - 0x48cc]
push edx
lea eax, [ebp - 0x48e4]
push eax
lea ecx, [ebp - 0x4908]
push ecx
lea edx, [ebp - 0x492c]
push edx
lea eax, [ebp - 0x4904]
push eax
lea ecx, [ebp - 0x48fc]
push ecx
lea edx, [ebp - 0x48c0]
push edi
push edx
lea eax, [ebp - 0x4980]
call fcn.0040e1f0
add esp, 0x24
mov dword [ebp - 0x48c4], eax
test eax, eax
je 0x4119c8
mov eax, dword [ebp - 0x48d4]
cmp dword [eax + 0x10], 0
jne 0x411981
call fcn.00419f56
mov ecx, dword [eax + 0x10]
fld dword [ebp - 0x48d8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push 0x11184
call edx
lea ebx, [ebp - 0x48f0]
mov byte [ebp - 4], 3
call fcn.00412670
mov eax, dword [ebp - 0x48f0]
push eax
call fcn.0041bd41
mov ebx, dword [ebp - 0x4940]
add esp, 4
jmp 0x4117e5
mov ecx, dword [ebp - 0x48f0]
mov eax, dword [ecx]
mov dword [ebp - 0x48d0], eax
jmp 0x4119e0
cmp eax, dword [ebp - 0x48f0]
je 0x411cb6
xor edx, edx
push 0xffffffffffffffff
lea esi, [eax + 8]
push edx
push esi
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x86c], 7
mov dword [ebp - 0x870], 0
mov word [ebp - 0x880], dx
call fcn.004015e0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x48c4]
mov bl, 6
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x48c4], 0x5c
call fcn.0040adc0
cmp eax, 0xffffffff
je 0x411a8b
push eax
push 0
lea ecx, [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x880]
call fcn.004022d0
push eax
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 7
call fcn.00401560
mov byte [ebp - 4], bl
mov ebx, 8
cmp dword [ebp - 0x850], ebx
jb 0x411a90
mov edx, dword [ebp - 0x864]
push edx
call fcn.0041bd41
add esp, 4
jmp 0x411a90
mov ebx, 8
mov ecx, dword [ebp - 0x880]
cmp dword [ebp - 0x86c], ebx
jae 0x411aa4
lea ecx, [ebp - 0x880]
call fcn.00412070
cmp dword [esi + 0x14], ebx
jb 0x411ab2
mov edx, dword [esi]
jmp 0x411ab4
mov edx, esi
xor eax, eax
mov word [ebp - 0x864], ax
mov eax, edx
mov dword [ebp - 0x850], 7
mov dword [ebp - 0x854], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411ad6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x864]
call fcn.00401740
lea ecx, [ebp - 0x864]
lea edi, [ebp - 0x4998]
call fcn.00402210
cmp dword [ebp - 0x850], ebx
jb 0x411b1a
mov ecx, dword [ebp - 0x864]
push ecx
call fcn.0041bd41
add esp, 4
mov eax, dword [ebp - 0x48d0]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x411b2b
mov eax, dword [eax]
mov ebx, dword [ebp - 0x4908]
add ebx, dword [ebp - 0x4904]
xor esi, esi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x411b62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x411bbc
mov eax, dword [ebp - 0x48e4]
push 0
lea edx, [ebp - 0x48c4]
push edx
push eax
push ebx
push edi
mov dword [ebp - 0x48c4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x48e4]
cmp dword [ebp - 0x48c4], ecx
je 0x411b9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x411bb0
mov edx, dword [ebp - 0x48dc]
push edx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp edi, 0xffffffff
je 0x411bbc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48c4], esi
test esi, esi
je 0x411c36
mov ebx, dword [ebp - 0x48d0]
add ebx, 8
cmp dword [ebx + 0x14], 8
jb 0x411bd9
mov edi, dword [ebx]
jmp 0x411bdb
mov edi, ebx
call fcn.00404c90
mov esi, 8
cmp dword [ebx + 0x14], esi
jb 0x411bec
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x48d4]
cmp dword [eax + 0x10], 0
jne 0x411bfd
call fcn.00419f56
mov ecx, dword [eax + 0x10]
fld dword [ebp - 0x48d8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
push ecx
fstp dword [esp]
push 0x1118e
call edx
cmp eax, 5
jne 0x411b1a
mov byte [ebp - 4], 4
cmp dword [ebp - 0x86c], esi
mov dword [ebp - 0x48c4], 0
jmp 0x411c8a
xor eax, eax
cmp eax, 1
jne 0x411c7f
mov eax, dword [ebp - 0x48d0]
mov esi, dword [ebp - 0x4914]
mov ecx, dword [esi + 4]
add eax, 8
push eax
push ecx
push esi
call fcn.004126d0
mov edx, 0x9249248
sub edx, dword [ebp - 0x4910]
cmp edx, 1
jae 0x411c71
push str.list_T__too_long
call fcn.00419e90
inc dword [ebp - 0x4910]
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x86c], 8
jb 0x411c9b
mov eax, dword [ebp - 0x880]
push eax
call fcn.0041bd41
add esp, 4
mov ecx, dword [ebp - 0x48d0]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x48f4]
mov dword [ebp - 0x48d0], edx
mov eax, edx
jmp 0x4119e0
xor eax, eax
cmp eax, 2
jne 0x411d16
mov dword [ebp - 0x854], eax
push 0x17
xor eax, eax
push str.C:WINDOWSexplorer.exe
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x850], 7
mov word [ebp - 0x864], ax
call fcn.00401740
mov ebx, 8
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], bl
call fcn.00410e70
mov byte [ebp - 4], 4
cmp dword [ebp - 0x850], ebx
jb 0x411d16
mov ecx, dword [ebp - 0x864]
push ecx
call fcn.0041bd41
add esp, 4
mov edx, dword [ebp - 0x4964]
fild dword [ebp - 0x4964]
test edx, edx
jns 0x411d2c
fadd dword [0x494f28]
fld1
mov eax, dword [ebp - 0x48d4]
cmp dword [eax + 0x10], 0
fdivrp st(1)
fadd dword [ebp - 0x48d8]
fstp dword [ebp - 0x48d8]
jne 0x411d4d
call fcn.00419f56
mov ecx, dword [eax + 0x10]
fld dword [ebp - 0x48d8]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x48c4]
mov eax, dword [eax + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push edx
call eax
lea ebx, [ebp - 0x48f0]
mov byte [ebp - 4], 3
call fcn.00412670
mov ecx, dword [ebp - 0x48f0]
push ecx
call fcn.0041bd41
add esp, 4
inc edi
jmp 0x411793
mov dword [ebp - 0x4918], 0xffffffff
mov ebx, dword [ebp - 0x48c4]
cmp ebx, edi
mov edi, dword [ebp - 0x4914]
jne 0x411de7
mov esi, dword [edi]
lea ecx, [ecx]
cmp esi, edi
je 0x411dc0
lea ecx, [esi + 8]
call fcn.00410d00
mov esi, dword [esi]
jmp 0x411db0
mov eax, dword [ebp - 0x48d4]
cmp dword [eax + 0x10], 0
jne 0x411dd1
call fcn.00419f56
mov ecx, dword [eax + 0x10]
fld1
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x4930c0
push ecx
fstp dword [esp]
push ebx
call eax
mov eax, dword [ebp - 0x4998]
cmp eax, 0xffffffff
je 0x411df9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4994]
xor esi, esi
cmp eax, esi
je 0x411e0e
push eax
call fcn.0041bd41
add esp, 4
mov dword [ebp - 0x4994], esi
mov dword [ebp - 0x4990], esi
mov dword [ebp - 0x498c], esi
mov esi, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp esi, edi
je 0x411e60
cmp dword [esi + 0x1c], 8
mov ebx, dword [esi]
jb 0x411e3f
mov ecx, dword [esi + 8]
push ecx
call fcn.0041bd41
add esp, 4
xor edx, edx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
push esi
mov word [esi + 8], dx
call fcn.0041bd41
add esp, 4
mov esi, ebx
jmp 0x411e27
push edi
call fcn.0041bd41
add esp, 4
cmp dword [ebp - 0x888], 8
jb 0x411e81
mov eax, dword [ebp - 0x89c]
push eax
call fcn.0041bd41
add esp, 4
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.0041b847
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x48dc]
push ecx
lea ecx, [ebp - 0x49a4]
mov dword [ebp - 0x48dc], ebx
call fcn.0041b8ef
push 0x49d3c4
lea edx, [ebp - 0x49a4]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041e04b
mov eax, 0x411e81
ret