Function at 0x408253
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x448], ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x454], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x44c], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov esi, 0x400
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x43c], eax
push eax
mov eax, ebx
mov dword [ebp - 0x438], ecx
call fcn.00408055
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40876e
push edi
call fcn.00418c80
test eax, eax
pop ecx
je 0x40876e
push edi
call fcn.00419e80
pop ecx
push esi
push dword [ebp - 0x43c]
mov dword [ebp - 0x444], eax
mov eax, ebx
call fcn.00408055
mov edi, eax
call fcn.0040811a
push edi
mov dword [ebp - 0x450], eax
call fcn.00409a24
mov esi, eax
add esp, 0xc
push esi
push dword [ebp - 0x448]
lea eax, [ebp - 0x110]
call fcn.00409a7e
lea eax, [ebp - 0x320]
push esi
push eax
mov byte [ebp - 0x320], 0
call fcn.00418d20
add esp, 0x10
cmp dword [ebp - 0x444], 2
jne 0x408356
mov edi, 0x4442c0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00418d20
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.00418d20
add esp, 0x10
push esi
push dword [ebp - 0x448]
lea eax, [ebp - 0x428]
call fcn.00409a7e
push 0x4442c4
push dword [ebp - 0x448]
lea eax, [ebp - 0x218]
call fcn.00409a7e
lea eax, [ebp - 0x218]
push eax
call fcn.00418c80
add esp, 0x14
push esi
mov dword [ebp - 0x430], eax
call fcn.00418c80
xor edi, edi
test eax, eax
pop ecx
mov dword [ebp - 0x440], eax
jle 0x4083e6
mov eax, dword [ebp - 0x430]
lea eax, [ebp + eax - 0x218]
cmp byte [edi + esi], 0x5c
jne 0x4083ca
mov byte [eax + edi], 0
lea eax, [ebp - 0x218]
push eax
call fcn.004099d0
pop ecx
mov eax, dword [ebp - 0x430]
mov cl, byte [edi + esi]
lea eax, [ebp + eax - 0x218]
mov byte [eax + edi], cl
inc edi
cmp edi, dword [ebp - 0x440]
jl 0x4083b3
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x440]
add ecx, eax
push esi
mov byte [ebp + ecx - 0x218], 0
call fcn.00418a1a
cmp dword [ebp - 0x444], 1
pop ecx
jne 0x408441
lea eax, [ebp - 0x110]
push eax
call fcn.004099d0
pop ecx
lea eax, [ebp - 0x320]
push eax
push str._t_Unarchiver__Created_folder__s_n
call fcn.00409ab5
push dword [ebp - 0x434]
mov esi, ebx
call fcn.004080cf
add esp, 0xc
xor eax, eax
jmp 0x40877c
push dword [ebp - 0x43c]
mov eax, ebx
call fcn.004080b2
mov edi, eax
test edi, edi
pop ecx
mov dword [ebp - 0x440], edi
jne 0x408469
lea eax, [ebp - 0x320]
push eax
push str._t_Unarchiver__Skipping_empty_file__s_n
jmp 0x408425
cmp dword [ebp - 0x450], 0
je 0x4084aa
push dword [ebp - 0x43c]
xor eax, eax
call fcn.004080b2
mov ecx, dword [ebp - 0x454]
mov dword [ecx], eax
mov dword [esp], 0x1000
push dword [ebp - 0x43c]
xor eax, eax
call fcn.00408055
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44c]
mov dword [ecx], eax
jmp 0x408779
push dword [ebp - 0x434]
mov esi, ebx
call fcn.004080cf
pop ecx
lea eax, [ebp - 0x110]
push eax
call fcn.00418c80
cmp eax, 4
pop ecx
jl 0x4085c7
lea eax, [ebp + eax - 0x110]
cmp byte [eax - 5], 0x70
jne 0x4085c7
cmp byte [eax - 4], 0x32
jne 0x4085c7
cmp byte [eax - 3], 0x2e
jne 0x4085c7
cmp byte [eax - 2], 0x6c
jne 0x4085c7
cmp byte [eax - 1], 0x32
jne 0x4085c7
push str._t_Unarchiver__.p2.l2_detected._Performing_in_sync_unarchive._n
call fcn.00409ab5
mov dword [esp], 0x100000
push 5
call fcn.004063e9
push dword [ebp - 0x448]
mov esi, eax
push esi
call fcn.00407da5
add esp, 0x10
test edi, edi
mov dword [ebp - 0x44c], eax
jle 0x4085a6
jmp 0x408542
mov edi, dword [ebp - 0x440]
sub edi, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x43c]
push edi
push dword [ebp - 0x438]
call fcn.00406837
mov edi, eax
cmp edi, 0xffffffff
pop ecx
pop ecx
je 0x4085a6
push edi
push dword [ebp - 0x438]
call fcn.004064b6
cmp dword [ebp - 0x434], 0
pop ecx
pop ecx
je 0x408592
add dword [ebx + 0x10], edi
push edi
push dword [ebp - 0x438]
push dword [ebp - 0x434]
call fcn.00401000
add esp, 0xc
add dword [ebp - 0x42c], edi
mov eax, dword [ebp - 0x42c]
cmp eax, dword [ebp - 0x440]
jl 0x40853c
mov eax, dword [ebp - 0x44c]
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str._t_Unarchiver__.p2.l2_in_sync_unarchive_complete._n
call fcn.00409ab5
pop ecx
jmp 0x40868f
lea eax, [ebp - 0x110]
push 0x4400e0
push eax
call fcn.0041a088
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x430], eax
jne 0x4085f6
push str._t_Unarchiver___Unable_to_extract_archive_file._Unable_to_open_file_for_writing._n
call fcn.00409ab5
pop ecx
push 1
call fcn.00419ad0
test edi, edi
jle 0x40865c
mov eax, edi
sub eax, dword [ebp - 0x42c]
push eax
push dword [ebp - 0x438]
mov eax, dword [ebp - 0x43c]
call fcn.00406837
push dword [ebp - 0x430]
mov esi, eax
push esi
push 1
push dword [ebp - 0x438]
call fcn.0041b0ba
add esp, 0x18
cmp dword [ebp - 0x434], 0
je 0x40864e
add dword [ebx + 0x10], esi
push esi
push dword [ebp - 0x438]
push dword [ebp - 0x434]
call fcn.00401000
add esp, 0xc
add dword [ebp - 0x42c], esi
cmp dword [ebp - 0x42c], edi
jl 0x4085fa
push dword [ebp - 0x430]
call fcn.00419e24
pop ecx
push dword [ebp - 0x430]
call fcn.0041b78d
pop ecx
push dword [ebp - 0x444]
lea eax, [ebp - 0x320]
push edi
push eax
push str._Unarchiver__Extracted__s__length:_d__type:_ld__n
call fcn.00409ab5
add esp, 0x10
cmp dword [ebp - 0x444], 2
jne 0x40843a
push str._t_Unarchiver__Requires_unpacking200..._n
call fcn.00409ab5
cmp dword [0x456e78], 0
pop ecx
jne 0x4086bf
call fcn.00409d30
mov dword [0x456e78], 1
push dword [0x456de8]
call fcn.00409415
test eax, eax
pop ecx
jne 0x4086e1
push dword [0x456de8]
push str._t_Unarchiver__ERROR:_unpack200_executable___s__does_not_exist__n
call fcn.00409ab5
pop ecx
pop ecx
call fcn.00406bce
push dword [0x456de8]
mov edi, eax
push edi
call fcn.00406c27
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.00406bfc
lea edx, [ebp - 0x428]
mov ecx, edi
call fcn.00406bfc
call fcn.00406c56
push edi
call fcn.00418a1a
lea eax, [ebp - 0x428]
add esp, 0xc
push eax
call fcn.00409415
test eax, eax
pop ecx
jne 0x408740
lea eax, [ebp - 0x428]
push eax
push str._t_Unarchiver__ERROR:_Unpacked_target___s__does_not_exist__n
call fcn.00409ab5
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
call fcn.0041c9af
pop ecx
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 0x110], 0
call fcn.00418d20
pop ecx
pop ecx
jmp 0x40843a
push str._Unarchiver__WARNING._EOF_encountered._n
call fcn.00409ab5
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a0b
leave
ret