Function at 0x42f470
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ead47
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x521390]
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 0x42f4cd
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 0x42f4e7
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.004061f0
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.00438790
mov ebx, eax
test ebx, ebx
je 0x42f548
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
mov eax, ebx
jmp 0x43035d
mov ecx, dword [ebp + 0xc]
push 6
push ecx
sub edi, 0xffffff80
push esi
mov dword [ebp - 0xc0], edi
call fcn.00438590
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x43020c
mov ebx, dword [ebp - 0x6c]
lea eax, [ebx + 0x44]
lea edi, [ebp - 0x5c]
call fcn.00406270
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 0x42f5f7
movzx eax, word [ebp - 0xac]
add eax, 0xfffffffe
cmp eax, 0x3e
ja case.0x42f5b5.8
movzx eax, byte [eax + 0x430384]
jmp dword [eax*4 + 0x43037c]
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, edi
jmp 0x43035d
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, edi
jmp 0x43035d
mov ax, word [ebp - 0xac]
test ax, ax
je 0x42f640
cmp ax, 0x15
je 0x42f62a
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004cbf71
add esp, 4
mov eax, 0x80004005
jmp 0x43035d
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.0x42f656.8
movzx eax, byte [eax + 0x4303cc]
jmp dword [eax*4 + 0x4303c4]
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.00438590
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43013e
mov esi, ebx
call fcn.0042f2a0
mov esi, eax
test esi, esi
jne 0x42f773
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x42f6da
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 0x42fa64
cmp byte [ebp - 0x4d], 0
je 0x42fa64
cmp dword [ebp + 0x14], 0
jne 0x430292
cmp byte [ebx + 0xb9], 0
jne 0x430292
cmp byte [ebx + 0xb8], 0
je 0x42f73e
push 8
call fcn.004471c0
add esp, 4
test eax, eax
je 0x42f73a
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.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
xor esi, esi
jmp 0x42f71f
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 0x42f786
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, esi
jmp 0x43035d
mov ax, word [ebp - 0xac]
cmp ax, 0x13
jne 0x42f7a2
mov edx, dword [ebp - 0xa4]
mov dword [ebx + 0x78], edx
mov byte [ebx + 0x7f], 1
jmp 0x42f7ae
test ax, ax
jne 0x430271
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.0042f090
mov edi, eax
test edi, edi
jne 0x42f5e4
mov edx, dword [ebp + 0xc]
push 0xb
push edx
lea ebx, [esi + 0x7d]
lea edi, [esi + 0x68]
mov edx, esi
call fcn.0042f090
mov edi, eax
test edi, edi
je 0x42f809
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
mov eax, edi
jmp 0x43035d
mov ecx, dword [ebp + 0xc]
push 0xc
lea ebx, [esi + 0x7e]
lea edi, [esi + 0x70]
push ecx
mov edx, esi
call fcn.0042f090
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43020c
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.00438590
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x43020c
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 0x43006c
mov eax, dword [esi + 0x30]
dec eax
je 0x42f946
dec eax
jne 0x42f897
lea ebx, [ecx - 1]
push ebx
push 0
lea ecx, [ebp - 0x84]
call fcn.0041deb0
lea edx, [ebp - 0x84]
push edx
call fcn.00437150
lea eax, [ebp - 0x90]
add esp, 4
push eax
lea ebx, [ebp - 0x84]
call fcn.00437380
add esp, 4
mov byte [ebp - 4], 5
cmp byte [ebp - 0x4d], 0
jne 0x42f9fd
cmp byte [esi + 0x80], 0
jne 0x42f8fc
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x42f9fd
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 0x42f9fd
lea esi, [ebp - 0xbc]
call fcn.004061f0
mov ebx, esi
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push ecx
mov eax, esi
mov byte [ebp - 4], 6
call fcn.0042f030
cmp byte [esi + 0x80], 0
je 0x42f9ea
cmp byte [esi + 0x5c], 0
je 0x42f9a3
cmp byte [esi + 0x7e], 0
je 0x42f9a3
lea edx, [esi + 0x70]
jmp 0x42f9b3
mov ebx, dword [esi + 0xac]
cmp ecx, ebx
jg 0x42f976
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd60
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, 0x80004005
jmp 0x43035d
xor edi, edi
cmp edi, ebx
jge 0x42f897
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 0x42f950
inc edi
jmp 0x42f978
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x2c], 0
je 0x42f9b1
lea edx, [eax + 0x24]
jmp 0x42f9b3
xor edx, edx
cmp byte [esi + 0x5b], 0
je 0x42f9c4
cmp byte [esi + 0x7d], 0
je 0x42f9c4
lea ecx, [esi + 0x68]
jmp 0x42f9c6
xor ecx, ecx
cmp byte [esi + 0x5a], 0
je 0x42f9d7
cmp byte [esi + 0x7c], 0
je 0x42f9d7
lea eax, [esi + 0x60]
jmp 0x42f9d9
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.004cbf71
add esp, 4
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00421850
add esp, 0xc
mov byte [ebp - 4], 7
cmp byte [esi + 0x80], 0
je 0x42fa77
lea edi, [ebp - 0x68]
lea eax, [esi + 0x38]
call fcn.00406270
cmp byte [ebp - 0x4d], 0
je 0x42fa3c
mov esi, dword [esi + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
cmp byte [esi + 0x58], 0
jne 0x42ff61
lea esi, [ebp - 0x24]
call fcn.004061f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0x4c]
call fcn.00449e50
test al, al
je 0x42ff4e
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0x34]
sub eax, 0
je 0x42faf8
sub eax, 2
jne case.0x42fb8f.0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
cmp byte [edi + 0x90], 0
je 0x42fb09
lea edx, [edi + 0x88]
jmp 0x42fb0b
xor edx, edx
cmp byte [edi + 0x7e], 0
je 0x42fb16
lea ecx, [edi + 0x70]
jmp 0x42fb18
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 0x42fb83
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004cbf71
add esp, 4
mov eax, esi
jmp 0x43035d
mov eax, dword [ebp - 0x70]
cmp eax, 5
ja case.default.0x42fb8f
jmp dword [eax*4 + 0x43040c]
mov eax, dword [ebp - 0x24]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x90]
push edx
call fcn.004cbf71
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd60
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, 0x80004004
jmp 0x43035d
mov edx, dword [ebp - 0x24]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 0xc
jmp 0x42fa54
mov ecx, dword [ebp - 0x24]
push ecx
mov dword [edi + 0x34], 2
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
mov dword [edi + 0x34], 1
jmp case.0x42fb8f.0
mov dword [edi + 0x34], 3
mov eax, dword [edi + 0x34]
cmp eax, 3
jne 0x42fd25
lea eax, [ebp - 0x68]
push eax
call fcn.00424140
add esp, 4
test al, al
jne 0x42ff4e
push str.ERROR:_Can_not_create_file_with_auto_name
lea esi, [ebp - 0x9c]
call fcn.00403610
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 9
call fcn.00421850
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004cbf71
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.004cbf71
mov edx, dword [ebp - 0x24]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
test esi, esi
je 0x42f620
mov eax, esi
jmp 0x43035d
cmp eax, 4
jne 0x42ff98
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00407120
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 0xc
call fcn.00424140
add esp, 4
test al, al
jne 0x42fe29
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x9c]
push str.ERROR:_Can_not_create_file_with_auto_name
push ecx
call fcn.004307c0
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 0x42fdca
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0x14
jmp 0x42fb60
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x24]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 0x14
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
mov eax, 0x80004005
jmp 0x43035d
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 0x42ff3f
push str.ERROR:_Can_not_rename_existing_file
lea esi, [ebp - 0xa8]
call fcn.00403610
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xe
call fcn.00421850
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004cbf71
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 0x42fef1
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x24]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x90]
push edx
call fcn.004cbf71
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd60
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, esi
jmp 0x43035d
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0x14
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
jmp 0x42f614
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004cbf71
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
push eax
call fcn.004cbf71
mov esi, dword [ebp - 0x6c]
add esp, 4
cmp byte [ebp - 0x4d], 0
jne 0x430239
push 0x18
call fcn.004471c0
add esp, 4
test eax, eax
je 0x430081
mov dword [eax + 4], 0
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
mov ebx, eax
jmp 0x430083
mov esi, dword [ebp - 0x68]
call fcn.004492f0
test al, al
jne 0x42ff4e
push 0x4f6d90
lea esi, [ebp - 0xa8]
call fcn.00403610
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0x11
call fcn.00421850
add esp, 0xc
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004cbf71
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.004cbf71
mov edx, dword [ebp - 0x24]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
test esi, esi
je 0x42f733
invalid
invalid
mov eax, esi
jmp 0x43035d
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
jmp 0x42f614
xor ebx, ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x430098
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.0042ea90
test al, al
jne 0x4301ab
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x9c]
push str.can_not_open_output_file
push eax
call fcn.004307c0
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 0x430151
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004cbf71
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x430116
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004cbf71
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004cbf71
add esp, 4
mov eax, esi
jmp 0x43035d
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004cbf71
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x430170
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x90]
push edx
call fcn.004cbf71
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd60
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
mov esi, dword [ebp - 0x6c]
cmp byte [esi + 0x58], 0
je 0x43021f
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 0x43021f
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4301e4
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x90]
push eax
call fcn.004cbf71
add esp, 8
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd60
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004cbf71
add esp, 4
mov eax, edi
jmp 0x43035d
lea edi, [esi + 0x98]
lea eax, [ebp - 0x70]
call fcn.00430790
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
mov byte [ebp - 4], 7
lea eax, [esi + 0x38]
lea edi, [ebp - 0x68]
call fcn.00406270
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004cbf71
mov edx, dword [ebp - 0x90]
push edx
call fcn.004cbf71
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd60
mov ebx, dword [ebp - 0x6c]
jmp 0x43029e
lea ecx, [ebp - 0xac]
call fcn.00403f30
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004cbf71
add esp, 4
mov eax, 0x80004005
jmp 0x43035d
mov edx, dword [ebp - 0xb0]
mov dword [edx], 0
cmp byte [ebx + 0xba], 0
je 0x430342
push 0x20
call fcn.004471c0
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4302c9
mov dword [eax + 4], ecx
mov dword [eax], vtable.COutStreamWithCRC.0
mov dword [eax + 8], ecx
jmp 0x4302cb
xor eax, eax
lea edi, [ebx + 0xa0]
mov esi, eax
mov dword [ebx + 0x9c], eax
call fcn.00403090
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4302f9
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.00408d00
mov esi, dword [ebp - 0xb0]
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x430326
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.004cbf71
add esp, 4
xor eax, eax
jmp 0x43035d
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.004cbf11
mov esp, ebp
pop ebp
ret 0x10