Function at 0x42f450
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507fa7
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5522c0]
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 0x42f4ad
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 0x42f4c7
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.004062a0
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.00438940
mov ebx, eax
test ebx, ebx
je 0x42f528
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
mov eax, ebx
jmp 0x43033d
mov ecx, dword [ebp + 0xc]
push 6
push ecx
sub edi, 0xffffff80
push esi
mov dword [ebp - 0xc0], edi
call fcn.00438740
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4301ec
mov ebx, dword [ebp - 0x6c]
lea eax, [ebx + 0x44]
lea edi, [ebp - 0x5c]
call fcn.00406320
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 0x42f5d7
movzx eax, word [ebp - 0xac]
add eax, 0xfffffffe
cmp eax, 0x3e
ja case.0x42f595.8
movzx eax, byte [eax + 0x430364]
jmp dword [eax*4 + 0x43035c]
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, edi
jmp 0x43033d
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, edi
jmp 0x43033d
mov ax, word [ebp - 0xac]
test ax, ax
je 0x42f620
cmp ax, 0x15
je 0x42f60a
lea ecx, [ebp - 0xac]
call fcn.00404030
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e4960
add esp, 4
mov eax, 0x80004005
jmp 0x43033d
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.0x42f636.8
movzx eax, byte [eax + 0x4303ac]
jmp dword [eax*4 + 0x4303a4]
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.00438740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43011e
mov esi, ebx
call fcn.0042f280
mov esi, eax
test esi, esi
jne 0x42f753
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x42f6ba
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 0x42fa44
cmp byte [ebp - 0x4d], 0
je 0x42fa44
cmp dword [ebp + 0x14], 0
jne 0x430272
cmp byte [ebx + 0xb9], 0
jne 0x430272
cmp byte [ebx + 0xb8], 0
je 0x42f71e
push 8
call fcn.004471c0
add esp, 4
test eax, eax
je 0x42f71a
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.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
xor esi, esi
jmp 0x42f6ff
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 0x42f766
lea ecx, [ebp - 0xac]
call fcn.00404030
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, esi
jmp 0x43033d
mov ax, word [ebp - 0xac]
cmp ax, 0x13
jne 0x42f782
mov edx, dword [ebp - 0xa4]
mov dword [ebx + 0x78], edx
mov byte [ebx + 0x7f], 1
jmp 0x42f78e
test ax, ax
jne 0x430251
mov byte [ebx + 0x7f], al
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00404030
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.0042f070
mov edi, eax
test edi, edi
jne 0x42f5c4
mov edx, dword [ebp + 0xc]
push 0xb
push edx
lea ebx, [esi + 0x7d]
lea edi, [esi + 0x68]
mov edx, esi
call fcn.0042f070
mov edi, eax
test edi, edi
je 0x42f7e9
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
mov eax, edi
jmp 0x43033d
mov ecx, dword [ebp + 0xc]
push 0xc
lea ebx, [esi + 0x7e]
lea edi, [esi + 0x70]
push ecx
mov edx, esi
call fcn.0042f070
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4301ec
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.00438740
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x4301ec
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 0x43004c
mov eax, dword [esi + 0x30]
dec eax
je 0x42f926
dec eax
jne 0x42f877
lea ebx, [ecx - 1]
push ebx
push 0
lea ecx, [ebp - 0x84]
call fcn.0041dee0
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 0x42f9dd
cmp byte [esi + 0x80], 0
jne 0x42f8dc
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x42f9dd
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 0x42f9dd
lea esi, [ebp - 0xbc]
call fcn.004062a0
mov ebx, esi
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push ecx
mov eax, esi
mov byte [ebp - 4], 6
call fcn.0042f010
cmp byte [esi + 0x80], 0
je 0x42f9ca
cmp byte [esi + 0x5c], 0
je 0x42f983
cmp byte [esi + 0x7e], 0
je 0x42f983
lea edx, [esi + 0x70]
jmp 0x42f993
mov ebx, dword [esi + 0xac]
cmp ecx, ebx
jg 0x42f956
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd90
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, 0x80004005
jmp 0x43033d
xor edi, edi
cmp edi, ebx
jge 0x42f877
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 0x42f930
inc edi
jmp 0x42f958
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x2c], 0
je 0x42f991
lea edx, [eax + 0x24]
jmp 0x42f993
xor edx, edx
cmp byte [esi + 0x5b], 0
je 0x42f9a4
cmp byte [esi + 0x7d], 0
je 0x42f9a4
lea ecx, [esi + 0x68]
jmp 0x42f9a6
xor ecx, ecx
cmp byte [esi + 0x5a], 0
je 0x42f9b7
cmp byte [esi + 0x7c], 0
je 0x42f9b7
lea eax, [esi + 0x60]
jmp 0x42f9b9
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.004e4960
add esp, 4
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.004218b0
add esp, 0xc
mov byte [ebp - 4], 7
cmp byte [esi + 0x80], 0
je 0x42fa57
lea edi, [ebp - 0x68]
lea eax, [esi + 0x38]
call fcn.00406320
cmp byte [ebp - 0x4d], 0
je 0x42fa1c
mov esi, dword [esi + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
cmp byte [esi + 0x58], 0
jne 0x42ff41
lea esi, [ebp - 0x24]
call fcn.004062a0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0x4c]
call fcn.00449e50
test al, al
je 0x42ff2e
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0x34]
sub eax, 0
je 0x42fad8
sub eax, 2
jne case.0x42fb6f.0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
cmp byte [edi + 0x90], 0
je 0x42fae9
lea edx, [edi + 0x88]
jmp 0x42faeb
xor edx, edx
cmp byte [edi + 0x7e], 0
je 0x42faf6
lea ecx, [edi + 0x70]
jmp 0x42faf8
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 0x42fb63
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e4960
add esp, 4
mov eax, esi
jmp 0x43033d
mov eax, dword [ebp - 0x70]
cmp eax, 5
ja case.default.0x42fb6f
jmp dword [eax*4 + 0x4303ec]
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e4960
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd90
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, 0x80004004
jmp 0x43033d
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 0xc
jmp 0x42fa34
mov ecx, dword [ebp - 0x24]
push ecx
mov dword [edi + 0x34], 2
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
mov dword [edi + 0x34], 1
jmp case.0x42fb6f.0
mov dword [edi + 0x34], 3
mov eax, dword [edi + 0x34]
cmp eax, 3
jne 0x42fd05
lea eax, [ebp - 0x68]
push eax
call fcn.00424210
add esp, 4
test al, al
jne 0x42ff2e
push str.ERROR:_Can_not_create_file_with_auto_name
lea esi, [ebp - 0x9c]
call fcn.00403720
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 9
call fcn.004218b0
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e4960
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.004e4960
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
test esi, esi
je 0x42f600
mov eax, esi
jmp 0x43033d
cmp eax, 4
jne 0x42ff78
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.00424210
add esp, 4
test al, al
jne 0x42fe09
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x9c]
push str.ERROR:_Can_not_create_file_with_auto_name
push ecx
call fcn.004307a0
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 0x42fdaa
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 0x14
jmp 0x42fb40
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 0x14
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
mov eax, 0x80004005
jmp 0x43033d
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 0x42ff1f
push str.ERROR:_Can_not_rename_existing_file
lea esi, [ebp - 0xa8]
call fcn.00403720
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xe
call fcn.004218b0
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004e4960
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 0x42fed1
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e4960
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd90
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, esi
jmp 0x43033d
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 0x14
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
jmp 0x42f5f4
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004e4960
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e4960
mov esi, dword [ebp - 0x6c]
add esp, 4
cmp byte [ebp - 0x4d], 0
jne 0x430219
push 0x18
call fcn.004471c0
add esp, 4
test eax, eax
je 0x430061
mov dword [eax + 4], 0
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
mov ebx, eax
jmp 0x430063
mov esi, dword [ebp - 0x68]
call fcn.004492f0
test al, al
jne 0x42ff2e
push 0x51b3e0
lea esi, [ebp - 0xa8]
call fcn.00403720
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0x11
call fcn.004218b0
add esp, 0xc
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004e4960
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.004e4960
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 0x10
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
test esi, esi
je 0x42f713
mov eax, esi
jmp 0x43033d
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
call dword [eax - 0x18]
pop ss
dec ecx
or eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
jmp 0x42f5f4
xor ebx, ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x430078
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.0042eaa0
test al, al
jne 0x43018b
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x9c]
push str.can_not_open_output_file
push eax
call fcn.004307a0
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 0x430131
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e4960
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4300f6
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e4960
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e4960
add esp, 8
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004e4960
add esp, 4
mov eax, esi
jmp 0x43033d
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004e4960
add esp, 4
mov byte [ebp - 4], 7
test ebx, ebx
je 0x430150
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e4960
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd90
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
mov esi, dword [ebp - 0x6c]
cmp byte [esi + 0x58], 0
je 0x4301ff
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 0x4301ff
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4301c4
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e4960
mov eax, dword [ebp - 0x90]
push eax
call fcn.004e4960
add esp, 8
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 1
call fcn.0041dd90
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004e4960
add esp, 4
mov eax, edi
jmp 0x43033d
lea edi, [esi + 0x98]
lea eax, [ebp - 0x70]
call fcn.00430770
mov eax, dword [ebp - 0xb0]
mov dword [eax], ebx
mov byte [ebp - 4], 7
lea eax, [esi + 0x38]
lea edi, [ebp - 0x68]
call fcn.00406320
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e4960
mov edx, dword [ebp - 0x90]
push edx
call fcn.004e4960
add esp, 8
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.0041dd90
mov ebx, dword [ebp - 0x6c]
jmp 0x43027e
lea ecx, [ebp - 0xac]
call fcn.00404030
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004e4960
add esp, 4
mov eax, 0x80004005
jmp 0x43033d
mov edx, dword [ebp - 0xb0]
mov dword [edx], 0
cmp byte [ebx + 0xba], 0
je 0x430322
push 0x20
call fcn.004471c0
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4302a9
mov dword [eax + 4], ecx
mov dword [eax], vtable.COutStreamWithCRC.0
mov dword [eax + 8], ecx
jmp 0x4302ab
xor eax, eax
lea edi, [ebx + 0xa0]
mov esi, eax
mov dword [ebx + 0x9c], eax
call fcn.004310b0
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4302d9
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.00408d40
mov esi, dword [ebp - 0xb0]
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x430306
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.004e4960
add esp, 4
xor eax, eax
jmp 0x43033d
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.004e4900
mov esp, ebp
pop ebp
ret 0x10