Function at 0x403650
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4e4c
call fcn.004180a0
mov eax, dword [0x421420]
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 + 0x28], edx
mov dword [esp + 0x34], edi
call fcn.00409490
mov ecx, eax
add esp, 8
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4036a0
sub ecx, esi
jne 0x4036b5
or eax, 0xffffffff
jmp 0x403ec6
push eax
call fcn.0040abd0
add esp, 4
mov ebx, eax
push 0x400
push edi
mov dword [esp + 0x20], ebx
call fcn.00409490
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4036e3
mov byte [eax], 0x5c
add eax, 1
test ecx, ecx
jne 0x4036d8
push ebx
push ebp
push str._ExtractArchiveFile__Extracting__s__::_ld__n
call fcn.0040a3e4
add esp, 0xc
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov eax, dword [esp + 0x24]
add esp, 4
mov byte [esp + 0x30], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403715
lea edi, [esp + 0x30]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403730
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.004013e0
cmp ebx, 2
jne 0x403771
mov edi, eax
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403760
mov eax, dword [0x41d418]
mov dword [edi], eax
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov byte [esp + 0x2740], 0
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403781
lea edi, [esp + 0x2740]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403798
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.004013e0
mov eax, ebx
mov byte [esp + 0x13b8], 0
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4037d0
lea edi, [esp + 0x13b8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4037e7
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, 0x41d41c
lea eax, [esp + 0x13b8]
call fcn.004013e0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403813
sub eax, edx
mov dword [esp + 0x24], eax
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403827
sub eax, edx
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4038da
mov edi, edi
mov ecx, dword [esp + 0x14]
cmp byte [esi + ecx], 0x5c
jne 0x4038ba
mov eax, dword [esp + 0x24]
lea eax, [esp + eax + 0x13b8]
mov byte [eax + esi], 0
lea eax, [esp + 0x13b8]
call section..text
mov edi, eax
test edi, edi
je 0x4038aa
mov eax, dword [edi]
or ebx, 0xffffffff
cmp eax, 0xffffffff
je 0x403880
push eax
call fcn.00409b62
add esp, 4
mov ebx, eax
mov edx, dword [edi + 0x134]
push edx
call fcn.004095a3
add esp, 4
push edi
call fcn.004095a3
add esp, 4
cmp ebx, 0xffffffff
jne 0x4038ba
call fcn.00409859
mov dword [eax], 9
jmp 0x4038ba
lea eax, [esp + 0x13b8]
push eax
call fcn.0040a5d0
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dl, byte [esi + ecx]
lea eax, [esp + eax + 0x13b8]
mov byte [eax + esi], dl
add esi, 1
cmp esi, ebp
jl 0x403840
mov eax, dword [esp + 0x24]
add ebp, eax
cmp dword [esp + 0x18], 1
mov byte [esp + ebp + 0x13b8], 0
jne 0x403973
lea eax, [esp + 0x30]
call section..text
mov esi, eax
test esi, esi
je 0x403941
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, 0xffffffff
je 0x403917
push eax
call fcn.00409b62
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0x134]
push ecx
call fcn.004095a3
add esp, 4
push esi
call fcn.004095a3
add esp, 4
cmp edi, 0xffffffff
jne 0x40394e
call fcn.00409859
mov dword [eax], 9
jmp 0x40394e
lea edx, [esp + 0x30]
push edx
call fcn.0040a5d0
add esp, 4
lea eax, [esp + 0x30]
push eax
push str._t_ExtractArchiveFile__Created_folder__s_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
jmp 0x403ec4
mov ecx, dword [esp + 0x2c]
push 0x28
push ecx
call fcn.00409490
push eax
call fcn.0040abd0
add esp, 0xc
lea edx, [esp + 0x30]
push 0x41cdb4
push edx
mov edi, eax
call fcn.0040a56d
mov esi, eax
lea eax, [esp + 0x38]
push eax
push str._t_ExtractArchiveFile__Extracting_to__s_n
call fcn.0040a3e4
add esp, 0x10
test esi, esi
jne 0x4039cb
mov ecx, dword [esp + 0x14]
push edi
push ecx
push str._t_ExtractArchiveFile__Unable_to_extract_archive_file__s___ld___unable_to_open_file_for_writing_n
call fcn.0040a3e4
add esp, 0xc
push 1
call fcn.0040b19d
xor ebx, ebx
test edi, edi
jle 0x403a01
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.0040a156
add esp, 4
cmp eax, 0xffffffff
je 0x403d86
push esi
push eax
call fcn.00409b82
add esp, 8
cmp eax, 0xffffffff
je 0x403da1
add ebx, 1
cmp ebx, edi
jl 0x4039d5
push str._t_ExtractArchiveFile__Done_extracting_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
push esi
call fcn.0040a0fa
add esp, 4
push esi
call fcn.0040ae69
add esp, 4
cmp dword [esp + 0x18], 2
jne 0x403bcc
push str._t_ExtractArchiveFile__Requires_un_P2_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov esi, dword [esp + 0x20]
add esp, 4
cmp byte [0x42f6e8], 0
jne 0x403a75
mov eax, esi
call fcn.00401490
mov byte [0x42f6e8], 1
push str._Spawner__Creating_spawner_n
call fcn.0040a3e4
add esp, 4
push 0x7d0
call fcn.00409680
add esp, 4
push 0x7d0
mov ebx, eax
push 0
push ebx
call fcn.0040fa70
add esp, 0xc
push esi
push str._Spawner__Setting_spawner_exe_to__s_n
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
xor eax, eax
nop
cmp dword [ebx + eax*4], 0
je 0x403db5
add eax, 1
cmp eax, 0x1f4
jl 0x403ac0
push esi
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.0040a3e4
add esp, 8
xor eax, eax
cmp dword [ebx + eax*4], 0
je 0x403dc3
add eax, 1
cmp eax, 0x1f4
jl 0x403ae4
lea eax, [esp + 0x30]
push eax
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.0040a3e4
add esp, 8
xor eax, eax
lea esp, [esp]
cmp dword [ebx + eax*4], 0
je 0x403dd7
add eax, 1
cmp eax, 0x1f4
jl 0x403b10
lea eax, [esp + 0x2740]
push eax
push str._Spawner__WARNING:_couldnt_append_argument__s_n
call fcn.0040a3e4
add esp, 8
call fcn.00408020
push ebx
call fcn.004095a3
add esp, 4
lea ecx, [esp + 0x2740]
push 0x41cc98
push ecx
call fcn.0040a56d
add esp, 8
test eax, eax
je 0x403dee
push eax
call fcn.0040ae69
add esp, 4
lea edx, [esp + 0x2740]
push edx
push str.File_exists:__s_n
call fcn.0040a3e4
lea eax, [esp + 0x38]
add esp, 8
push eax
call fcn.0040a28d
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 0x403ba0
lea edi, [esp + 0x30]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403bb2
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 0x403e88
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403be0
sub eax, edx
mov ebp, eax
cmp ebp, 4
jl 0x403dfc
cmp byte [esp + ebp + 0x2d], 0x2e
jne 0x403df5
cmp byte [esp + ebp + 0x2e], 0x6c
jne 0x403df5
cmp byte [esp + ebp + 0x2f], 0x32
jne 0x403df5
push str._t_ExtractArchiveFile__Requires_un_LZMA_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
call fcn.00407f50
mov edi, dword [esp + 0x28]
mov ebx, eax
mov esi, ebx
call fcn.00407fc0
mov edx, 0x41d5d8
mov ecx, ebx
call fcn.00407f80
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.00407f80
push str._t_ExtractArchiveFile__Creating_outpath_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
lea eax, [esp + 0x34]
add esp, 4
mov byte [esp + 0x3ac8], 0
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403c90
lea edi, [esp + 0x3ac8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403ca5
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]
lea ecx, [esp + 0x3ac8]
push ecx
push str._t_ExtractArchiveFile__Created_outpath__s_n
mov byte [esp + ebp + 0x3acd], 0
call fcn.0040a3e4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 0xc
lea edx, [esp + 0x3ac8]
mov ecx, ebx
call fcn.00407f80
push str._t_ExtractArchiveFile__Running_spawner..._n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
call fcn.00408020
push str._t_ExtractArchiveFile__Done__n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
push ebx
call fcn.004095a3
lea eax, [esp + 0x3acc]
add esp, 4
mov byte [esp + 0x30], 0
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403d50
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 0x403d64
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 0x403e01
mov edx, dword [esp + 0x14]
push edi
push ebx
push edx
push str._t_ExtractArchiveFile__Unable_to_read_til_end_of_archive_file__s___ld_of__ld__n
call fcn.0040a3e4
add esp, 0x10
push 1
call fcn.0040b19d
push str._t_ExtractArchiveFile__Unable_to_write_to_target_file_n
call fcn.0040a3e4
add esp, 4
push 1
call fcn.0040b19d
push esi
mov dword [ebx + eax*4], esi
push str._Spawner__Appended_argument__s_n
jmp 0x403ada
lea ecx, [esp + 0x30]
mov edx, ecx
push edx
mov dword [ebx + eax*4], ecx
push str._Spawner__Appended_argument__s_n
jmp 0x403b02
lea ecx, [esp + 0x2740]
mov edx, ecx
push edx
mov dword [ebx + eax*4], ecx
push str._Spawner__Appended_argument__s_n
jmp 0x403b31
push 0x65
call fcn.0040b19d
push str._t_ExtractArchiveFile__No_LZMA_required_n
jmp 0x403e01
push str._t_ExtractArchiveFile__Path_to_file_too_short_to_check_for_LZMA_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
lea eax, [esp + 0x34]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403e21
sub eax, edx
cmp eax, 4
jl 0x403ea6
cmp byte [esp + eax + 0x2d], 0x2e
lea eax, [esp + eax + 0x30]
jne 0x403ea6
cmp byte [eax - 2], 0x70
jne 0x403ea6
cmp byte [eax - 1], 0x32
jne 0x403ea6
push str._t_ExtractArchiveFile__Requires_un_p2Archiving_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 4
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.00403ee0
add esp, 0xc
push str._t_ExtractArchiveFile__Finished_un_archiving_n
jmp 0x403e8d
push str._t_ExtractArchiveFile__No_auto_extraction_required__nothing_is_compressed__n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
push str._ExtractArchiveFile__Extraction_complete_n
call fcn.0040a3e4
add esp, 4
call fcn.00409e01
add eax, 0x20
push eax
call fcn.0040a0fa
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4e54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409594
add esp, 0x4e4c
ret