Function at 0x42f530
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5073f7
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5512c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0xb0], esi
cmp eax, ebx
je 0x42f58d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0xa0], ebx
mov dword [esi], ebx
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x42f5a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x98], ebx
lea eax, [edi + 0x5d]
mov byte [eax], bl
mov byte [edi + 0x58], bl
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
mov byte [edi + 0x90], bl
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x5c]
mov dword [ebp - 0xc4], eax
mov dword [edi + 0x84], ebx
call fcn.00406230
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
push ebx
lea ecx, [ebp - 0x5c]
mov ebx, eax
mov dword [ebp - 0x70], esi
call fcn.004387a0
mov ebx, eax
test ebx, ebx
je 0x42f608
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
mov eax, ebx
jmp 0x43041d
mov ecx, dword [ebp + 0xc]
push 6
push ecx
sub edi, 0xffffff80
push esi
mov dword [ebp - 0xc0], edi
call fcn.004385a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4302cc
mov ebx, dword [ebp - 0x6c]
lea eax, [ebx + 0x44]
lea edi, [ebp - 0x5c]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xac]
push eax
push 0x1d
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push ecx
push esi
call edx
mov edi, eax
test edi, edi
je 0x42f6b7
movzx eax, word [ebp - 0xac]
add eax, 0xfffffffe
cmp eax, 0x3e
ja case.0x42f675.8
movzx eax, byte [eax + 0x430444]
jmp dword [eax*4 + 0x43043c]
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, edi
jmp 0x43041d
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, edi
jmp 0x43041d
mov ax, word [ebp - 0xac]
test ax, ax
je 0x42f700
cmp ax, 0x15
je 0x42f6ea
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e3e60
add esp, 4
mov eax, 0x80004005
jmp 0x43041d
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], edx
mov byte [ebx + 0x58], 1
movzx eax, ax
add eax, 0xfffffffe
mov byte [ebp - 4], 1
cmp eax, 0x3e
ja case.0x42f716.8
movzx eax, byte [eax + 0x43048c]
jmp dword [eax*4 + 0x430484]
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc4]
push 0xf
push edx
push esi
call fcn.004385a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4301fe
mov esi, ebx
call fcn.0042f360
mov esi, eax
test esi, esi
jne 0x42f833
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x42f79a
mov edx, dword [ebp - 0xc0]
cmp byte [edx], 0
lea edx, [ebp - 0x4d]
sete cl
push edx
mov byte [ebp - 0xc0], cl
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x5c]
push edx
push eax
call fcn.004481d0
test al, al
je 0x42fb24
cmp byte [ebp - 0x4d], 0
je 0x42fb24
cmp dword [ebp + 0x14], 0
jne 0x430352
cmp byte [ebx + 0xb9], 0
jne 0x430352
cmp byte [ebx + 0xb8], 0
je 0x42f7fe
push 8
call fcn.004471c0
add esp, 4
test eax, eax
je 0x42f7fa
mov dword [eax + 4], 0
mov dword [eax], vtable.CStdOutFileStream.0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov esi, eax
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xb0]
push ecx
mov dword [eax], esi
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
xor esi, esi
jmp 0x42f7df
xor edx, edx
mov dword [ebp - 0xac], edx
lea edx, [ebp - 0xac]
push edx
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 9
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
test esi, esi
je 0x42f846
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, esi
jmp 0x43041d
mov ax, word [ebp - 0xac]
cmp ax, 0x13
jne 0x42f862
mov edx, dword [ebp - 0xa4]
mov dword [ebx + 0x78], edx
mov byte [ebx + 0x7f], 1
jmp 0x42f86e
test ax, ax
jne 0x430331
mov byte [ebx + 0x7f], al
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00403f30
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp + 0xc]
push 0xa
add ebx, 0x7c
lea edi, [esi + 0x60]
push eax
mov edx, esi
call fcn.0042f150
mov edi, eax
test edi, edi
jne 0x42f6a4
mov edx, dword [ebp + 0xc]
push 0xb
push edx
lea ebx, [esi + 0x7d]
lea edi, [esi + 0x68]
mov edx, esi
call fcn.0042f150
mov edi, eax
test edi, edi
je 0x42f8c9
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
mov eax, edi
jmp 0x43041d
mov ecx, dword [ebp + 0xc]
push 0xc
lea ebx, [esi + 0x7e]
lea edi, [esi + 0x70]
push ecx
mov edx, esi
call fcn.0042f150
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4302cc
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push 0x15
push ecx
push eax
lea edi, [ebp - 0x4d]
mov byte [ebp - 0x4d], bl
call fcn.004385a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x4302cc
mov eax, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], vtable.CObjectVector_class_CStringBase_wchar_t__.0
mov byte [ebp - 4], al
lea eax, [ebp - 0x5c]
push eax
lea edi, [ebp - 0x84]
call fcn.00447ac0
mov ecx, dword [ebp - 0x7c]
add esp, 4
cmp ecx, ebx
je 0x43012c
mov eax, dword [esi + 0x30]
dec eax
je 0x42fa06
dec eax
jne 0x42f957
lea ebx, [ecx - 1]
push ebx
push 0
lea ecx, [ebp - 0x84]
call fcn.0041dec0
lea edx, [ebp - 0x84]
push edx
call fcn.00437180
lea eax, [ebp - 0x90]
add esp, 4
push eax
lea ebx, [ebp - 0x84]
call fcn.004373b0
add esp, 4
mov byte [ebp - 4], 5
cmp byte [ebp - 0x4d], 0
jne 0x42fabd
cmp byte [esi + 0x80], 0
jne 0x42f9bc
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x42fabd
mov edx, dword [ebp - 0x84]
dec eax
push 1
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
cmp dword [ebp - 0x7c], 0
je 0x42fabd
lea esi, [ebp - 0xbc]
call fcn.00406230
mov ebx, esi
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push ecx
mov eax, esi
mov byte [ebp - 4], 6
call fcn.0042f0f0
cmp byte [esi + 0x80], 0
je 0x42faaa
cmp byte [esi + 0x5c], 0
je 0x42fa63
cmp byte [esi + 0x7e], 0
je 0x42fa63
lea edx, [esi + 0x70]
jmp 0x42fa73
mov ebx, dword [esi + 0xac]
cmp ecx, ebx
jg 0x42fa36
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd70
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, 0x80004005
jmp 0x43041d
xor edi, edi
cmp edi, ebx
jge 0x42f957
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + edi*4]
mov edx, dword [eax]
mov ecx, dword [ecx]
push edx
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x42fa10
inc edi
jmp 0x42fa38
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x2c], 0
je 0x42fa71
lea edx, [eax + 0x24]
jmp 0x42fa73
xor edx, edx
cmp byte [esi + 0x5b], 0
je 0x42fa84
cmp byte [esi + 0x7d], 0
je 0x42fa84
lea ecx, [esi + 0x68]
jmp 0x42fa86
xor ecx, ecx
cmp byte [esi + 0x5a], 0
je 0x42fa97
cmp byte [esi + 0x7c], 0
je 0x42fa97
lea eax, [esi + 0x60]
jmp 0x42fa99
xor eax, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0xbc]
call fcn.00448f40
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004e3e60
add esp, 4
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.004218e0
add esp, 0xc
mov byte [ebp - 4], 7
cmp byte [esi + 0x80], 0
je 0x42fb37
lea edi, [ebp - 0x68]
lea eax, [esi + 0x38]
call fcn.004062b0
cmp byte [ebp - 0x4d], 0
je 0x42fafc
mov esi, dword [esi + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
cmp byte [esi + 0x58], 0
jne 0x430021
lea esi, [ebp - 0x24]
call fcn.00406230
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0x4c]
call fcn.00449e50
test al, al
je 0x43000e
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0x34]
sub eax, 0
je 0x42fbb8
sub eax, 2
jne case.0x42fc4f.0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
cmp byte [edi + 0x90], 0
je 0x42fbc9
lea edx, [edi + 0x88]
jmp 0x42fbcb
xor edx, edx
cmp byte [edi + 0x7e], 0
je 0x42fbd6
lea ecx, [edi + 0x70]
jmp 0x42fbd8
xor ecx, ecx
mov eax, dword [edi + 0x18]
mov esi, dword [eax]
lea ebx, [ebp - 0x70]
push ebx
push edx
push ecx
mov ecx, dword [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x34]
push ecx
push edx
push eax
mov eax, dword [esi + 0x14]
call eax
mov esi, eax
test esi, esi
je 0x42fc43
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e3e60
add esp, 4
mov eax, esi
jmp 0x43041d
mov eax, dword [ebp - 0x70]
cmp eax, 5
ja case.default.0x42fc4f
jmp dword [eax*4 + 0x4304cc]
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e3e60
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd70
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, 0x80004004
jmp 0x43041d
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 0xc
jmp 0x42fb14
mov ecx, dword [ebp - 0x24]
push ecx
mov dword [edi + 0x34], 2
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
mov dword [edi + 0x34], 1
jmp case.0x42fc4f.0
mov dword [edi + 0x34], 3
mov eax, dword [edi + 0x34]
cmp eax, 3
jne 0x42fde5
lea eax, [ebp - 0x68]
push eax
call fcn.00424230
add esp, 4
test al, al
jne 0x43000e
push str.ERROR:_Can_not_create_file_with_auto_name
lea esi, [ebp - 0x9c]
call fcn.00403530
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 9
call fcn.004218e0
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e3e60
mov edi, dword [edi + 0x18]
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1c]
add esp, 4
push edx
push edi
call eax
mov ecx, dword [ebp - 0xbc]
push ecx
mov esi, eax
call fcn.004e3e60
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
test esi, esi
je 0x42f6e0
mov eax, esi
jmp 0x43041d
cmp eax, 4
jne 0x430058
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.004070b0
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 0xc
call fcn.00424230
add esp, 4
test al, al
jne 0x42fee9
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x9c]
push str.ERROR:_Can_not_create_file_with_auto_name
push ecx
call fcn.00430880
add esp, 0xc
mov byte [ebp - 4], 0xd
mov edi, dword [edi + 0x18]
mov eax, dword [ebp - 0x9c]
mov edx, dword [edi]
mov ecx, dword [edx + 0x1c]
push eax
push edi
call ecx
mov esi, eax
test esi, esi
je 0x42fe8a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0x14
jmp 0x42fc20
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 0x14
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
mov eax, 0x80004005
jmp 0x43041d
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42ffff
push str.ERROR:_Can_not_rename_existing_file
lea esi, [ebp - 0xa8]
call fcn.00403530
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xe
call fcn.004218e0
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004e3e60
mov edi, dword [edi + 0x18]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1c]
add esp, 4
push edx
push edi
call eax
mov esi, eax
test esi, esi
je 0x42ffb1
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e3e60
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd70
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, esi
jmp 0x43041d
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0x14
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
jmp 0x42f6d4
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e3e60
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e3e60
mov esi, dword [ebp - 0x6c]
add esp, 4
cmp byte [ebp - 0x4d], 0
jne 0x4302f9
push 0x18
call fcn.004471c0
add esp, 4
test eax, eax
je 0x430141
mov dword [eax + 4], 0
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
mov ebx, eax
jmp 0x430143
mov esi, dword [ebp - 0x68]
call fcn.004492f0
test al, al
jne 0x43000e
push 0x51a3e0
lea esi, [ebp - 0xa8]
call fcn.00403530
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0x11
call fcn.004218e0
add esp, 0xc
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004e3e60
mov edi, dword [edi + 0x18]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1c]
add esp, 4
push edx
push edi
call eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov esi, eax
call fcn.004e3e60
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
test esi, esi
je 0x42f7f3
mov eax, esi
jmp 0x43041d
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
jmp 0x42f6d4
xor ebx, ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x430158
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
xor eax, eax
mov byte [ebp - 4], 0x14
cmp byte [esi + 0x58], al
mov ecx, dword [ebp - 0x68]
mov esi, dword [esi + 0x94]
setne al
lea eax, [eax + eax + 2]
push eax
push ecx
call fcn.0042eb80
test al, al
jne 0x43026b
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x9c]
push str.can_not_open_output_file
push eax
call fcn.00430880
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x15
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
je 0x430211
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e3e60
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4301d6
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e3e60
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e3e60
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e3e60
add esp, 4
mov eax, esi
jmp 0x43041d
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004e3e60
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x430230
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e3e60
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd70
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
mov esi, dword [ebp - 0x6c]
cmp byte [esi + 0x58], 0
je 0x4302df
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x50]
push ecx
push eax
call edx
mov edi, eax
test edi, edi
je 0x4302df
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4302a4
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e3e60
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e3e60
add esp, 8
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd70
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e3e60
add esp, 4
mov eax, edi
jmp 0x43041d
lea edi, [esi + 0x98]
lea eax, [ebp - 0x70]
call fcn.00430850
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
mov byte [ebp - 4], 7
lea eax, [esi + 0x38]
lea edi, [ebp - 0x68]
call fcn.004062b0
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e3e60
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e3e60
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd70
mov ebx, dword [ebp - 0x6c]
jmp 0x43035e
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
mov eax, 0x80004005
jmp 0x43041d
mov edx, dword [ebp - 0xb0]
mov dword [edx], 0
cmp byte [ebx + 0xba], 0
je 0x430402
push 0x20
call fcn.004471c0
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x430389
mov dword [eax + 4], ecx
mov dword [eax], vtable.COutStreamWithCRC.0
mov dword [eax + 8], ecx
jmp 0x43038b
xor eax, eax
lea edi, [ebx + 0xa0]
mov esi, eax
mov dword [ebx + 0x9c], eax
call fcn.00406210
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4303b9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 0x16
mov esi, dword [eax]
mov edi, dword [ebx + 0x9c]
call fcn.00408c60
mov esi, dword [ebp - 0xb0]
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x4303e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x70]
mov dword [esi], eax
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 0xffffffff
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e3e60
add esp, 4
xor eax, eax
jmp 0x43041d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e3e00
mov esp, ebp
pop ebp
ret 0x10