Function at 0x403340
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4e4c
call fcn.004170f0
mov eax, dword [0x4234e0]
xor eax, esp
mov dword [esp + 0x4e44], eax
mov eax, dword [esp + 0x4e50]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4e64]
push 0x400
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
call fcn.00409190
mov ecx, eax
add esp, 8
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x403390
sub ecx, esi
jne 0x4033a5
or eax, 0xffffffff
jmp 0x403ade
push eax
call fcn.0040b6b8
add esp, 4
mov ebx, eax
push 0x400
push edi
mov dword [esp + 0x2c], ebx
call fcn.00409190
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4033d3
mov byte [eax], 0x5c
add eax, 1
test ecx, ecx
jne 0x4033c8
push ebx
push ebp
push str._ExtractArchiveFile__Extracting__s__::_ld__n
call fcn.00401480
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x30], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4033f4
lea edi, [esp + 0x30]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403408
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea eax, [esp + 0x30]
call fcn.00401860
cmp ebx, 2
jne 0x403446
mov edi, eax
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403435
mov eax, dword [0x41e628]
mov dword [edi], eax
mov ebx, dword [esp + 0x18]
mov eax, ebx
mov byte [esp + 0x2740], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403456
lea edi, [esp + 0x2740]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403470
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea eax, [esp + 0x2740]
call fcn.00401860
mov eax, ebx
mov byte [esp + 0x13b8], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4034a2
lea edi, [esp + 0x13b8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4034c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41e62c
lea eax, [esp + 0x13b8]
call fcn.00401860
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4034f0
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403504
sub eax, edx
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4035ba
jmp 0x403520
mov ecx, dword [esp + 0x14]
cmp byte [esi + ecx], 0x5c
jne 0x40359a
mov eax, dword [esp + 0x20]
lea eax, [esp + eax + 0x13b8]
mov byte [eax + esi], 0
lea eax, [esp + 0x13b8]
call section..text
mov edi, eax
test edi, edi
je 0x40358a
mov eax, dword [edi]
or ebx, 0xffffffff
cmp eax, 0xffffffff
je 0x403560
push eax
call fcn.00409862
add esp, 4
mov ebx, eax
mov edx, dword [edi + 0x134]
push edx
call fcn.004092a3
add esp, 4
push edi
call fcn.004092a3
add esp, 4
cmp ebx, 0xffffffff
jne 0x40359a
call fcn.00409559
mov dword [eax], 9
jmp 0x40359a
lea eax, [esp + 0x13b8]
push eax
call fcn.0040a354
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dl, byte [esi + ecx]
lea eax, [esp + eax + 0x13b8]
mov byte [eax + esi], dl
add esi, 1
cmp esi, ebp
jl 0x403520
mov eax, dword [esp + 0x20]
add ebp, eax
cmp dword [esp + 0x24], 1
mov byte [esp + ebp + 0x13b8], 0
jne 0x403641
lea eax, [esp + 0x30]
call section..text
mov esi, eax
test esi, esi
je 0x40361d
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, 0xffffffff
je 0x4035f3
push eax
call fcn.00409862
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0x134]
push ecx
call fcn.004092a3
add esp, 4
push esi
call fcn.004092a3
add esp, 4
cmp edi, 0xffffffff
jne 0x40362a
call fcn.00409559
mov dword [eax], 9
jmp 0x40362a
lea edx, [esp + 0x30]
push edx
call fcn.0040a354
add esp, 4
lea eax, [esp + 0x30]
push eax
push str._t_ExtractArchiveFile__Created_folder__s_n
call fcn.00401480
add esp, 8
jmp 0x403adc
mov ebp, dword [esp + 0x2c]
push 0x28
push ebp
call fcn.00409190
push eax
call fcn.0040b6b8
add esp, 0xc
lea ecx, [esp + 0x30]
push 0x41e028
push ecx
mov esi, eax
call fcn.0040a1be
lea edx, [esp + 0x38]
push edx
push str._t_ExtractArchiveFile__Extracting_to__s_n
mov ebx, eax
call fcn.00401480
add esp, 0x10
test ebx, ebx
jne 0x403699
mov eax, dword [esp + 0x14]
push esi
push eax
push str._t_ExtractArchiveFile__Unable_to_extract_archive_file__s___ld___unable_to_open_file_for_writing_n
call fcn.00401480
add esp, 0xc
push 1
call fcn.0040c0a3
xor edi, edi
test esi, esi
jle 0x4036cc
nop
push ebp
call fcn.00409f99
add esp, 4
cmp eax, 0xffffffff
je 0x4039df
push ebx
push eax
call fcn.00409882
add esp, 8
cmp eax, 0xffffffff
je 0x4039fa
add edi, 1
cmp edi, esi
jl 0x4036a0
push str._t_ExtractArchiveFile__Done_extracting_n
call fcn.00401480
add esp, 4
push ebx
call fcn.00409f3d
add esp, 4
push ebx
call fcn.0040bd6f
add esp, 4
cmp dword [esp + 0x24], 2
jne 0x40387c
push str._t_ExtractArchiveFile__Requires_un_P2_n
call fcn.00401480
mov esi, dword [esp + 0x20]
add esp, 4
cmp byte [0x4316fc], 0
jne 0x40371e
mov eax, esi
call fcn.00401910
mov byte [0x4316fc], 1
push str._Spawner__Creating_spawner_n
call fcn.00401480
add esp, 4
push 0x7d0
call fcn.00409380
add esp, 4
push 0x7d0
mov ebx, eax
push 0
push ebx
call fcn.004109c0
add esp, 0xc
push esi
push str._Spawner__Setting_spawner_exe_to__s_n
call fcn.00401480
call fcn.00409ba9
add eax, 0x20
push eax
call fcn.00409f3d
add esp, 0xc
xor eax, eax
jmp 0x403770
cmp dword [ebx + eax*4], 0
je 0x403a0e
add eax, 1
cmp eax, 0x1f4
jl 0x403770
push esi
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.00401480
add esp, 8
xor eax, eax
cmp dword [ebx + eax*4], 0
je 0x403a1c
add eax, 1
cmp eax, 0x1f4
jl 0x403794
lea ecx, [esp + 0x30]
push ecx
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.00401480
add esp, 8
xor eax, eax
lea esp, [esp]
cmp dword [ebx + eax*4], 0
je 0x403a30
add eax, 1
cmp eax, 0x1f4
jl 0x4037c0
lea ecx, [esp + 0x2740]
push ecx
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.00401480
add esp, 8
call fcn.00407c70
push ebx
call fcn.004092a3
add esp, 4
lea edx, [esp + 0x2740]
push 0x41df0c
push edx
call fcn.0040a1be
add esp, 8
test eax, eax
je 0x403a47
push eax
call fcn.0040bd6f
add esp, 4
lea eax, [esp + 0x2740]
push eax
push str.File_exists:__s_n
call fcn.00401480
lea ecx, [esp + 0x38]
add esp, 8
push ecx
call fcn.0040a0d0
lea eax, [esp + 0x2744]
add esp, 4
mov byte [esp + 0x30], 0
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403850
lea edi, [esp + 0x30]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403862
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x28], 0
je 0x403ac2
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403890
sub eax, edx
mov ebp, eax
cmp ebp, 4
jl 0x403a55
cmp byte [esp + ebp + 0x2d], 0x2e
jne 0x403a4e
cmp byte [esp + ebp + 0x2e], 0x6c
jne 0x403a4e
cmp byte [esp + ebp + 0x2f], 0x32
jne 0x403a4e
push str._t_ExtractArchiveFile__Requires_un_LZMA_n
call fcn.00401480
add esp, 4
call fcn.00407ba0
mov edi, dword [esp + 0x28]
mov ebx, eax
mov esi, ebx
call fcn.00407c10
mov edx, 0x41e7e8
mov ecx, ebx
call fcn.00407bd0
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.00407bd0
push str._t_ExtractArchiveFile__Creating_outpath_n
call fcn.00401480
lea eax, [esp + 0x34]
add esp, 4
mov byte [esp + 0x3ac8], 0
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403918
lea edi, [esp + 0x3ac8]
sub eax, esi
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403930
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x3ac8]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push str._t_ExtractArchiveFile__Created_outpath__s_n
mov byte [esp + ebp + 0x3acd], 0
call fcn.00401480
lea edx, [esp + 0x3ad0]
mov ecx, ebx
call fcn.00407bd0
push str._t_ExtractArchiveFile__Running_spawner..._n
call fcn.00401480
add esp, 0xc
call fcn.00407c70
push str._t_ExtractArchiveFile__Done__n
call fcn.00401480
add esp, 4
push ebx
call fcn.004092a3
lea eax, [esp + 0x3acc]
add esp, 4
mov byte [esp + 0x30], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4039a6
lea edi, [esp + 0x30]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4039c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str._t_ExtractArchiveFile__Finished_decompressing_n
jmp 0x403a5a
mov ecx, dword [esp + 0x14]
push esi
push edi
push ecx
push str._t_ExtractArchiveFile__Unable_to_read_til_end_of_archive_file__s___ld_of__ld__n
call fcn.00401480
add esp, 0x10
push 1
call fcn.0040c0a3
push str._t_ExtractArchiveFile__Unable_to_write_to_target_file_n
call fcn.00401480
add esp, 4
push 1
call fcn.0040c0a3
push esi
mov dword [ebx + eax*4], esi
push str._Spawner__Appended_argument__s_n
jmp 0x40378a
lea edx, [esp + 0x30]
mov dword [ebx + eax*4], edx
mov eax, edx
push eax
push str._Spawner__Appended_argument__s_n
jmp 0x4037b2
lea edx, [esp + 0x2740]
mov dword [ebx + eax*4], edx
mov eax, edx
push eax
push str._Spawner__Appended_argument__s_n
jmp 0x4037e1
push 0x65
call fcn.0040c0a3
push str._t_ExtractArchiveFile__No_LZMA_required_n
jmp 0x403a5a
push str._t_ExtractArchiveFile__Path_to_file_too_short_to_check_for_LZMA_n
call fcn.00401480
lea eax, [esp + 0x34]
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403a70
sub eax, edx
cmp eax, 4
jl 0x403acf
cmp byte [esp + eax + 0x2d], 0x2e
lea eax, [esp + eax + 0x30]
jne 0x403acf
cmp byte [eax - 2], 0x70
jne 0x403acf
cmp byte [eax - 1], 0x32
jne 0x403acf
push str._t_ExtractArchiveFile__Requires_un_p2Archiving_n
call fcn.00401480
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00403b00
add esp, 0xc
push str._t_ExtractArchiveFile__Finished_un_archiving_n
jmp 0x403ac7
push str._t_ExtractArchiveFile__No_auto_extraction_required__nothing_is_compressed__n
call fcn.00401480
add esp, 4
push str._ExtractArchiveFile__Extraction_complete_n
call fcn.00401480
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4e54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409294
add esp, 0x4e4c
ret