Function at 0x4042e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x484
mov eax, dword [0x4463d0]
xor eax, esp
mov dword [esp + 0x47c], eax
mov eax, dword [esp + 0x488]
push ebx
push ebp
mov ebp, dword [esp + 0x494]
mov dword [esp + 0x68], eax
push esi
mov eax, ebp
cdq
push edi
xor edi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x68], 0x4040a0
mov dword [esp + 0x6c], 0x404130
mov dword [esp + 0x14], 0x401000
mov dword [esp + 0x18], 0x401020
mov dword [esp + 0x1c], 0x401000
mov dword [esp + 0x20], 0x401020
call fcn.004050d0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
lea esi, [esp + 0x28]
lea eax, [esp + 0x68]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00403e00
mov esi, eax
cmp esi, edi
jne 0x404494
mov edx, dword [esp + 0x40]
xor ecx, ecx
xor esi, esi
cmp edx, edi
mov dword [0x4491f8], ecx
mov dword [0x4491fc], esi
jbe 0x4043ed
mov eax, dword [esp + 0x44]
add eax, 8
lea esp, [esp]
mov ebx, dword [eax]
add ecx, ebx
mov ebx, dword [eax + 4]
adc esi, ebx
add eax, 0x20
sub edx, 1
jne 0x4043d0
mov dword [0x4491fc], esi
mov dword [0x4491f8], ecx
mov eax, dword [0x4491f4]
cmp eax, edi
je 0x4043ff
push 1
push edi
push ecx
call eax
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.004046c0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x404494
push esi
push str.ExtractFile
push 0x400
lea edx, [esp + 0x94]
push 0x200
push edx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x14
cmp edx, edi
je 0x40448b
lea eax, [esp + 0x88]
lea ebx, [eax + 2]
jmp 0x404460
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404460
sub eax, ebx
sar eax, 1
push edx
add eax, eax
push eax
lea ecx, [esp + 0x90]
push 1
push ecx
call fcn.0041fe54
mov edx, dword [0x449a68]
add esp, 0x10
push edx
call fcn.004203e5
add esp, 4
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x18]
push edx
call ebx
mov eax, dword [esp + 0x60]
add esp, 4
push eax
call ebx
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call ebx
mov edx, dword [esp + 0x68]
add esp, 4
push edx
call ebx
add esp, 4
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00403f70
add esp, 8
cmp esi, edi
push ebp
lea ecx, [esp + 0x8c]
jne 0x404559
push str._TestLzma_:
push 0x400
push 0x200
push ecx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x14
cmp edx, edi
je 0x404532
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404506
sub eax, esi
push edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x90]
push 1
push eax
call fcn.0041fe54
mov edx, dword [0x449a68]
add esp, 0x10
push edx
call fcn.004203e5
mov ecx, dword [0x4491f4]
add esp, 4
cmp ecx, edi
je 0x404552
mov eax, dword [0x4491f8]
push edi
push eax
push eax
call ecx
add esp, 0xc
xor eax, eax
jmp 0x40469a
cmp esi, 0x80004001
jne 0x4045a1
push str._TestLzma_:decoder_doesnt_support_this_archive__size:_d_r_n
push 0x400
push 0x200
push ecx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x14
cmp edx, edi
je 0x40468c
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404591
jmp 0x40466b
cmp esi, 0x8007000e
jne 0x4045ed
push str._TestLzma_:can_not_allocate_memory__size:_d_r_n
push 0x400
push 0x200
push ecx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x14
cmp edx, edi
je 0x40468c
lea eax, [esp + 0x88]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4045e0
jmp 0x40466b
cmp esi, 3
jne 0x40462d
push str._TestLzma_:CRC_error__size:_d_r_n
push 0x400
push 0x200
push ecx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x14
cmp edx, edi
je 0x40468c
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404620
jmp 0x40466b
push esi
push str._TestLzma_:ERROR__d__size:_d_r_n
push 0x400
push 0x200
push ecx
call fcn.0041f497
mov edx, dword [0x449a68]
add esp, 0x18
cmp edx, edi
je 0x40468c
lea eax, [esp + 0x88]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404660
sub eax, esi
push edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x90]
push 1
push eax
call fcn.0041fe54
mov edx, dword [0x449a68]
add esp, 0x10
push edx
call fcn.004203e5
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041f488
add esp, 0x484
ret