Function at 0x403370
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4e4c
call fcn.00417c70
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.00409440
mov ecx, eax
add esp, 8
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4033c0
sub ecx, esi
jne 0x4033d5
or eax, 0xffffffff
jmp 0x403b0e
push eax
call fcn.0040c3b8
add esp, 4
mov ebx, eax
push 0x400
push edi
mov dword [esp + 0x2c], ebx
call fcn.00409440
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x403403
mov byte [eax], 0x5c
add eax, 1
test ecx, ecx
jne 0x4033f8
push ebx
push ebp
push str._ExtractArchiveFile__Extracting__s__::_ld__n
call fcn.004014a0
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 0x403424
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 0x403438
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.00401880
cmp ebx, 2
jne 0x403476
mov edi, eax
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403465
mov eax, dword [0x41e5e8]
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 0x403486
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 0x4034a0
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.00401880
mov eax, ebx
mov byte [esp + 0x13b8], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4034d2
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 0x4034f0
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, 0x41e5ec
lea eax, [esp + 0x13b8]
call fcn.00401880
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403520
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 0x403534
sub eax, edx
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4035ea
jmp 0x403550
mov ecx, dword [esp + 0x14]
cmp byte [esi + ecx], 0x5c
jne 0x4035ca
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 0x4035ba
mov eax, dword [edi]
or ebx, 0xffffffff
cmp eax, 0xffffffff
je 0x403590
push eax
call fcn.0040a262
add esp, 4
mov ebx, eax
mov edx, dword [edi + 0x134]
push edx
call fcn.00409ca5
add esp, 4
push edi
call fcn.00409ca5
add esp, 4
cmp ebx, 0xffffffff
jne 0x4035ca
call fcn.00409f59
mov dword [eax], 9
jmp 0x4035ca
lea eax, [esp + 0x13b8]
push eax
call fcn.0040b054
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 0x403550
mov eax, dword [esp + 0x20]
add ebp, eax
cmp dword [esp + 0x24], 1
mov byte [esp + ebp + 0x13b8], 0
jne 0x403671
lea eax, [esp + 0x30]
call section..text
mov esi, eax
test esi, esi
je 0x40364d
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, 0xffffffff
je 0x403623
push eax
call fcn.0040a262
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0x134]
push ecx
call fcn.00409ca5
add esp, 4
push esi
call fcn.00409ca5
add esp, 4
cmp edi, 0xffffffff
jne 0x40365a
call fcn.00409f59
mov dword [eax], 9
jmp 0x40365a
lea edx, [esp + 0x30]
push edx
call fcn.0040b054
add esp, 4
lea eax, [esp + 0x30]
push eax
push str._t_ExtractArchiveFile__Created_folder__s_n
call fcn.004014a0
add esp, 8
jmp 0x403b0c
mov ebp, dword [esp + 0x2c]
push 0x28
push ebp
call fcn.00409440
push eax
call fcn.0040c3b8
add esp, 0xc
lea ecx, [esp + 0x30]
push 0x41dfe8
push ecx
mov esi, eax
call fcn.0040aec6
lea edx, [esp + 0x38]
push edx
push str._t_ExtractArchiveFile__Extracting_to__s_n
mov ebx, eax
call fcn.004014a0
add esp, 0x10
test ebx, ebx
jne 0x4036c9
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.004014a0
add esp, 0xc
push 1
call fcn.0040a825
xor edi, edi
test esi, esi
jle 0x4036fc
nop
push ebp
call fcn.0040aca1
add esp, 4
cmp eax, 0xffffffff
je 0x403a0f
push ebx
push eax
call fcn.0040a282
add esp, 8
cmp eax, 0xffffffff
je 0x403a2a
add edi, 1
cmp edi, esi
jl 0x4036d0
push str._t_ExtractArchiveFile__Done_extracting_n
call fcn.004014a0
add esp, 4
push ebx
call fcn.0040ac45
add esp, 4
push ebx
call fcn.0040ca6f
add esp, 4
cmp dword [esp + 0x24], 2
jne 0x4038ac
push str._t_ExtractArchiveFile__Requires_un_P2_n
call fcn.004014a0
mov esi, dword [esp + 0x20]
add esp, 4
cmp byte [0x431b8c], 0
jne 0x40374e
mov eax, esi
call fcn.00401930
mov byte [0x431b8c], 1
push str._Spawner__Creating_spawner_n
call fcn.004014a0
add esp, 4
push 0x7d0
call fcn.00409d82
add esp, 4
push 0x7d0
mov ebx, eax
push 0
push ebx
call fcn.004119c0
add esp, 0xc
push esi
push str._Spawner__Setting_spawner_exe_to__s_n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
add esp, 0xc
xor eax, eax
jmp 0x4037a0
cmp dword [ebx + eax*4], 0
je 0x403a3e
add eax, 1
cmp eax, 0x1f4
jl 0x4037a0
push esi
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.004014a0
add esp, 8
xor eax, eax
cmp dword [ebx + eax*4], 0
je 0x403a4c
add eax, 1
cmp eax, 0x1f4
jl 0x4037c4
lea ecx, [esp + 0x30]
push ecx
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.004014a0
add esp, 8
xor eax, eax
lea esp, [esp]
cmp dword [ebx + eax*4], 0
je 0x403a60
add eax, 1
cmp eax, 0x1f4
jl 0x4037f0
lea ecx, [esp + 0x2740]
push ecx
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.004014a0
add esp, 8
call fcn.00407f20
push ebx
call fcn.00409ca5
add esp, 4
lea edx, [esp + 0x2740]
push 0x41dedc
push edx
call fcn.0040aec6
add esp, 8
test eax, eax
je 0x403a77
push eax
call fcn.0040ca6f
add esp, 4
lea eax, [esp + 0x2740]
push eax
push str.File_exists:__s_n
call fcn.004014a0
lea ecx, [esp + 0x38]
add esp, 8
push ecx
call fcn.0040add8
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 0x403880
lea edi, [esp + 0x30]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403892
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 0x403af2
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4038c0
sub eax, edx
mov ebp, eax
cmp ebp, 4
jl 0x403a85
cmp byte [esp + ebp + 0x2d], 0x2e
jne 0x403a7e
cmp byte [esp + ebp + 0x2e], 0x6c
jne 0x403a7e
cmp byte [esp + ebp + 0x2f], 0x32
jne 0x403a7e
push str._t_ExtractArchiveFile__Requires_un_LZMA_n
call fcn.004014a0
add esp, 4
call fcn.00407e50
mov edi, dword [esp + 0x28]
mov ebx, eax
mov esi, ebx
call fcn.00407ec0
mov edx, 0x41e7a8
mov ecx, ebx
call fcn.00407e80
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.00407e80
push str._t_ExtractArchiveFile__Creating_outpath_n
call fcn.004014a0
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 0x403948
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 0x403960
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.004014a0
lea edx, [esp + 0x3ad0]
mov ecx, ebx
call fcn.00407e80
push str._t_ExtractArchiveFile__Running_spawner..._n
call fcn.004014a0
add esp, 0xc
call fcn.00407f20
push str._t_ExtractArchiveFile__Done__n
call fcn.004014a0
add esp, 4
push ebx
call fcn.00409ca5
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 0x4039d6
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 0x4039f0
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 0x403a8a
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.004014a0
add esp, 0x10
push 1
call fcn.0040a825
push str._t_ExtractArchiveFile__Unable_to_write_to_target_file_n
call fcn.004014a0
add esp, 4
push 1
call fcn.0040a825
push esi
mov dword [ebx + eax*4], esi
push str._Spawner__Appended_argument__s_n
jmp 0x4037ba
lea edx, [esp + 0x30]
mov dword [ebx + eax*4], edx
mov eax, edx
push eax
push str._Spawner__Appended_argument__s_n
jmp 0x4037e2
lea edx, [esp + 0x2740]
mov dword [ebx + eax*4], edx
mov eax, edx
push eax
push str._Spawner__Appended_argument__s_n
jmp 0x403811
push 0x65
call fcn.0040a825
push str._t_ExtractArchiveFile__No_LZMA_required_n
jmp 0x403a8a
push str._t_ExtractArchiveFile__Path_to_file_too_short_to_check_for_LZMA_n
call fcn.004014a0
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 0x403aa0
sub eax, edx
cmp eax, 4
jl 0x403aff
cmp byte [esp + eax + 0x2d], 0x2e
lea eax, [esp + eax + 0x30]
jne 0x403aff
cmp byte [eax - 2], 0x70
jne 0x403aff
cmp byte [eax - 1], 0x32
jne 0x403aff
push str._t_ExtractArchiveFile__Requires_un_p2Archiving_n
call fcn.004014a0
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.00403b30
add esp, 0xc
push str._t_ExtractArchiveFile__Finished_un_archiving_n
jmp 0x403af7
push str._t_ExtractArchiveFile__No_auto_extraction_required__nothing_is_compressed__n
call fcn.004014a0
add esp, 4
push str._ExtractArchiveFile__Extraction_complete_n
call fcn.004014a0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4e54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409c96
add esp, 0x4e4c
ret