Function at 0x409249
Capabilities:
Accept command line arguments

Disassembly:
push 0x17c
mov eax, 0x43b642
call fcn.00425da2
call fcn.0041eb14
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
push dword [0x456fb8]
push str._n7_Zip_SFX_19.00__x86__:_Copyright__c__1999_2018_Igor_Pavlov_:_2019_02_21_n
call fcn.0042d53e
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.00418c28
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418774
push dword [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00425cdc
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00418c5f
push 2
pop ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], bl
call fcn.00418c5f
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
call fcn.0041b0c5
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xd4]
call fcn.0041b471
add esp, 0xc
test al, al
jne 0x409313
push dword [0x456fb8]
push str.GetFullPathName_Error
call fcn.0042d53e
push dword [ebp - 0xd4]
call fcn.00425cdc
add esp, 0xc
jmp 0x4099bd
push dword [ebp - 0xd4]
mov byte [ebp - 4], bl
call fcn.00425cdc
cmp dword [ebp - 0x30], 0
pop ecx
jbe 0x409332
push 0
lea ecx, [ebp - 0x34]
call fcn.00409176
lea ecx, [ebp - 0xc8]
call fcn.004183bf
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
push 6
push 0x43e6a8
lea ecx, [ebp - 0xc8]
call fcn.00418663
test al, al
jne 0x4093c2
push dword [0x456fb8]
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xb4]
push str.Command_line_error:
call fcn.0042d53e
mov ebx, 0x456fb8
push ebx
call fcn.00419e31
push dword [0x456fb8]
push esi
call fcn.0042d53e
push ebx
call fcn.00419e31
add esp, 0x18
mov ecx, ebx
push edi
call fcn.00419b89
push eax
call fcn.00419e31
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.0041841a
push dword [ebp - 0x40]
call fcn.00425cdc
pop ecx
push 7
pop ebx
jmp 0x4099c6
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 4], 4
cmp byte [eax], 0
jne 0x4099ab
cmp byte [eax + 0x14], 0
jne 0x4099ab
mov ecx, dword [ebp - 0xc0]
xor edi, edi
test ecx, ecx
jne 0x4093f3
xor esi, esi
inc esi
jmp 0x40945f
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00409a0f
pop ecx
pop ecx
test al, al
jne 0x40944d
push dword [0x456fb8]
mov esi, dword [esi]
push str.ERROR:_Unknown_command:
call fcn.0042d53e
mov ebx, 0x456fb8
push ebx
call fcn.00419e31
add esp, 0xc
mov ecx, ebx
push esi
call fcn.00419b89
push eax
call fcn.00419e31
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.0041841a
push 7
pop ebx
jmp 0x4099bd
mov ecx, dword [ebp - 0xc0]
xor edi, edi
mov eax, dword [ebp - 0xc8]
inc edi
mov esi, dword [ebp - 0x18]
mov ebx, dword [esi*4 + 0x43e6f0]
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
and dword [ebp - 0x68], 0
and dword [ebp - 0x64], 0
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
mov byte [ebp - 4], 7
cmp edi, ecx
jne 0x4094c1
push 0x43e924
lea ecx, [ebp - 0x28]
call fcn.00418bdc
push ebx
push 1
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.00409103
push dword [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00425cdc
mov ecx, dword [ebp - 0xc0]
add esp, 0x14
mov eax, dword [ebp - 0xc8]
cmp edi, ecx
jae 0x4094f1
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + edi*4]
cmp dword [eax + 4], 0
je 0x409544
push ebx
push 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00409103
add esp, 0x10
inc edi
cmp edi, dword [ebp - 0xc0]
jb 0x4094c3
mov eax, dword [ebp - 0xc8]
mov cl, byte [eax + 0x3c]
mov bl, byte [eax + 0x50]
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0xec]
mov byte [ebp - 0x11], bl
call fcn.00418c5f
mov byte [ebp - 4], 9
test bl, bl
je 0x409526
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xec]
mov eax, dword [eax + 0x58]
push dword [eax]
call fcn.00418d23
push dword [ebp - 0x40]
call fcn.0041b616
pop ecx
test al, al
jne 0x409559
mov dword [ebp - 0x78], str._cannot_find_sfx
lea eax, [ebp - 0x78]
push 0x450d40
jmp 0x409553
mov dword [ebp - 0x74], str.Empty_file_path
lea eax, [ebp - 0x74]
push 0x450cec
push eax
call fcn.0042c124
lea ecx, [ebp - 0x9c]
call fcn.00418c5f
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x64], 0
je 0x409591
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x9c]
push dword [eax]
call fcn.00418d23
lea eax, [ebp - 0x9c]
push eax
call fcn.0041c5f2
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
call fcn.0041aa5f
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x58]
call fcn.004090c1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004090c1
mov eax, dword [ebp - 0x70]
push 0x18
mov eax, dword [eax]
add eax, 0xc
mov dword [ebp - 0x1c], eax
call fcn.00425c92
mov ebx, eax
mov dword [ebp - 0x18], ebx
pop ecx
test ebx, ebx
je 0x409600
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], vtable.CCodecs.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov word [ebx + 0x14], ax
jmp 0x409602
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
test ebx, ebx
je 0x409612
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.004137f1
test eax, eax
je 0x409631
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push 0x450d50
jmp 0x409553
cmp esi, 2
je 0x409991
push 0x178
call fcn.00425c92
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x40965e
mov ecx, eax
call fcn.00408b74
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x409663
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xf4], edi
test edi, edi
je 0x409677
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [0x456fa4]
mov ecx, edi
push eax
push 0x456fc0
push eax
mov byte [ebp - 4], 0xf
call fcn.004091b2
mov al, byte [ebp - 0x11]
lea ecx, [edi + 0xe4]
mov byte [edi + 0xe1], al
lea eax, [ebp - 0xec]
push eax
call fcn.00418d23
lea ecx, [ebp - 0x140]
call fcn.00408c2c
mov cl, byte [ebp - 0x12]
test esi, esi
mov byte [ebp - 0x116], cl
sete byte [ebp - 0x115]
mov byte [ebp - 4], 0x10
and dword [ebp - 0x13c], 0
xor eax, eax
test cl, cl
mov byte [ebp - 0x117], 0
lea ecx, [ebp - 0x130]
setne al
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00418d23
lea ecx, [ebp - 0x90]
call fcn.00418c5f
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x150], 0
call fcn.00418c5f
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x90]
push eax
push edi
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
call fcn.00411bba
add esp, 0x2c
lea ecx, [ebp - 0xe0]
mov esi, eax
mov dword [ebp - 0x1c], esi
call fcn.00408e82
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00425cdc
cmp dword [ebp - 0x8c], 0
pop ecx
je 0x4097d1
mov edi, dword [0x456fa4]
mov esi, dword [ebp - 0x90]
push edi
call fcn.00419e31
push dword [edi]
push str.Error:
call fcn.0042d53e
add esp, 0xc
mov ecx, edi
push esi
call fcn.00419b89
mov esi, dword [ebp - 0x1c]
mov eax, 0x80004005
mov edi, dword [ebp - 0x18]
test esi, esi
cmove esi, eax
mov ecx, dword [edi + 0x138]
mov eax, ecx
mov edx, dword [edi + 0x13c]
or eax, edx
jne 0x4098a4
mov eax, dword [edi + 0x158]
or eax, dword [edi + 0x15c]
jne 0x4098a4
test esi, esi
je 0x40980d
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x80]
push 0x450d50
jmp 0x409553
push dword [ebp - 0x14c]
call fcn.00425cdc
push dword [ebp - 0x90]
call fcn.00425cdc
pop ecx
pop ecx
lea ecx, [ebp - 0x140]
call fcn.00408fb4
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x17
call dword [eax + 8]
mov byte [ebp - 4], 0x18
test ebx, ebx
je 0x409848
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
call fcn.00408f09
lea ecx, [ebp - 0x58]
call fcn.00408f09
push dword [ebp - 0x9c]
call fcn.00425cdc
push dword [ebp - 0xec]
call fcn.00425cdc
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00408e13
lea ecx, [ebp - 0x70]
call fcn.00408ea9
lea ecx, [ebp - 0xc8]
call fcn.0041841a
push dword [ebp - 0x40]
call fcn.00425cdc
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00408f09
xor eax, eax
call fcn.00425d00
ret
or ecx, edx
je 0x4098c9
mov esi, dword [0x456fa4]
push esi
call fcn.00419e31
push dword [esi]
push str.Archive_Errors
call fcn.0042d53e
push esi
call fcn.00419e31
add esp, 0x10
mov eax, dword [edi + 0x158]
or eax, dword [edi + 0x15c]
je 0x40990c
mov esi, dword [0x456fa4]
push esi
call fcn.00419e31
push dword [esi]
push str.Sub_items_Errors:
call fcn.0042d53e
add esp, 0xc
mov ecx, esi
push dword [edi + 0x15c]
push dword [edi + 0x158]
call fcn.00419c61
push eax
call fcn.00419e31
pop ecx
push dword [ebp - 0x14c]
call fcn.00425cdc
push dword [ebp - 0x90]
call fcn.00425cdc
pop ecx
pop ecx
lea ecx, [ebp - 0x140]
call fcn.00408fb4
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x15
call dword [eax + 8]
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x409947
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
call fcn.00408f09
lea ecx, [ebp - 0x58]
call fcn.00408f09
push dword [ebp - 0x9c]
call fcn.00425cdc
push dword [ebp - 0xec]
call fcn.00425cdc
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00408e13
lea ecx, [ebp - 0x70]
call fcn.00408ea9
lea ecx, [ebp - 0xc8]
call fcn.0041841a
push 2
jmp 0x409447
mov dword [ebp - 0x84], 0x80004001
lea eax, [ebp - 0x84]
push 0x450d50
jmp 0x409553
call fcn.00409a71
lea ecx, [ebp - 0xc8]
call fcn.0041841a
xor ebx, ebx
push dword [ebp - 0x40]
call fcn.00425cdc
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00408f09
mov eax, ebx
jmp 0x40989e