Function at 0x4042e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x484
mov eax, dword [0x46e3d0]
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], 0x401010
mov dword [esp + 0x18], 0x401000
mov dword [esp + 0x1c], 0x401010
mov dword [esp + 0x20], 0x401000
call fcn.00405370
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 0x404491
mov edx, dword [esp + 0x40]
xor ecx, ecx
xor esi, esi
cmp edx, edi
mov dword [0x470f10], ecx
mov dword [0x470f14], 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 [0x470f14], esi
mov dword [0x470f10], ecx
mov eax, dword [0x470f0c]
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.00404700
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x404491
push esi
push str.ExtractFile
push 0x400
lea edx, [esp + 0x94]
push 0x200
push edx
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x14
cmp edx, edi
je 0x404491
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.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x60]
add esp, 4
push ecx
call ebx
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call ebx
mov eax, dword [esp + 0x68]
add esp, 4
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00403f70
add esp, 8
cmp esi, edi
push ebp
jne 0x404556
push str._TestLzma_:
push 0x400
lea edx, [esp + 0x94]
push 0x200
push edx
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x14
cmp edx, edi
je 0x404538
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404507
sub eax, esi
sar eax, 1
push edx
add eax, eax
push eax
lea ecx, [esp + 0x90]
push 1
push ecx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov ecx, dword [0x470f0c]
cmp ecx, edi
je 0x40454f
mov eax, dword [0x470f10]
push edi
push eax
push eax
call ecx
add esp, 0xc
xor eax, eax
jmp 0x4046e6
cmp esi, 0x80004001
jne 0x4045a5
push str._TestLzma_:decoder_doesnt_support_this_archive__size:_d_r_n
push 0x400
lea eax, [esp + 0x94]
push 0x200
push eax
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x14
cmp edx, edi
je 0x4046e1
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404595
jmp 0x4046bb
cmp esi, 0x8007000e
jne 0x404613
push str._TestLzma_:can_not_allocate_memory__size:_d_r_n
push 0x400
lea ecx, [esp + 0x94]
push 0x200
push ecx
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x14
cmp edx, edi
je 0x4046e1
lea eax, [esp + 0x88]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4045e4
sub eax, esi
push edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x90]
push 1
push eax
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
jmp 0x4046d9
cmp esi, 3
jne 0x40467b
push str._TestLzma_:CRC_error__size:_d_r_n
push 0x400
lea edx, [esp + 0x94]
push 0x200
push edx
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x14
cmp edx, edi
je 0x4046e1
lea eax, [esp + 0x88]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404650
sub eax, esi
sar eax, 1
push edx
add eax, eax
push eax
lea ecx, [esp + 0x90]
push 1
push ecx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
jmp 0x4046d9
push esi
push str._TestLzma_:ERROR__d__size:_d_r_n
push 0x400
lea eax, [esp + 0x98]
push 0x200
push eax
call fcn.0043ef21
mov edx, dword [0x471b30]
add esp, 0x18
cmp edx, edi
je 0x4046e1
lea eax, [esp + 0x88]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4046b0
sub eax, esi
push edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x90]
push 1
push edx
call fcn.0043fe21
mov eax, dword [0x471b30]
push eax
call fcn.004402ef
add esp, 0x14
mov eax, 1
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ef12
add esp, 0x484
ret