Function at 0x40b480
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44aa89
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
xor ebx, ebx
push str.Decompressing_data_to_folder:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x180], ebx
call fcn.004010e0
lea ecx, [esp + 0x188]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
mov byte [esp + 0x184], 1
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 2
mov eax, dword [esi]
sub eax, 0x10
mov edi, 1
cmp dword [eax + 0xc], edi
jle 0x40b505
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 5
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 1
call fcn.0040ed80
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0
call fcn.0040ed80
mov ecx, dword [esp + 0x184]
push ecx
lea ecx, [esp + 0xdc]
call fcn.00419b20
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00416fa0
push str._t__n_r
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 4
call fcn.004010e0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18c]
mov byte [esp + 0x180], 5
call fcn.0040f390
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
lea ecx, [esp + 0x20]
call fcn.0040ed50
lea eax, [esp + 0x20]
push eax
push 0x7a666864
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x138]
push eax
mov byte [esp + 0x190], 6
call fcn.00416c70
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x90], eax
je 0x40b796
push 0x4583b8
lea ecx, [esp + 0x2c]
call fcn.00401f20
push str.__err_desc:__
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 7
call fcn.00401f20
push str.CCZA:_Couldnt_deserialise_header_data__err_
lea ecx, [esp + 0xac]
mov byte [esp + 0x180], 8
call fcn.004010e0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xbc]
push edx
mov ecx, eax
mov byte [esp + 0x184], 9
call fcn.00401270
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0xa
call fcn.004011f0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0xb
call fcn.004011f0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
mov bl, 0xc
push edx
mov ecx, eax
mov byte [esp + 0x184], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0xd
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x40b6ac
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push edi
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], bl
call fcn.0040ed80
lea ecx, [esp + 0x60]
mov byte [esp + 0x17c], 0xb
call fcn.0040ed80
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 0xa
call fcn.0040ed80
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 9
call fcn.0040ed80
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 8
call fcn.0040ed80
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 7
call fcn.0040ed80
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 6
call fcn.0040ed80
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], vtable.CPBasePath.0
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
mov eax, 0x258
jmp 0x40bf60
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x40b7e7
push str.CCZA:_Failed_to_retrieve_helper_from_header_data
lea ecx, [esp + 0xac]
call fcn.004010e0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0xe
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x40b7cf
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push edi
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0xa8]
jmp 0x40b727
lea edx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
lea ebp, [eax + 8]
cmp ebp, ebx
mov byte [esp + 0x17c], 0xf
jne 0x40b875
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c440
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], vtable.CPBasePath.0
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
mov eax, 0x66
jmp 0x40bf60
sub esp, 8
lea eax, [esp + 0x190]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401050
lea ecx, [esp + 0xa0]
call fcn.00415010
mov byte [esp + 0x17c], 0x10
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jle 0x40bece
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [esp + 0x60], esi
jmp 0x40b8c4
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x68]
push ecx
lea edi, [esp + 0x9c]
call fcn.0040a820
test esi, esi
mov byte [esp + 0x17c], 0x11
jl 0x40c231
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x10]
jge 0x40c231
mov eax, dword [ebp + 0xc]
sub esp, 8
add eax, esi
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.0040d150
lea ecx, [esp + 0x70]
call fcn.004147c0
mov esi, eax
test esi, esi
jne 0x40bf9a
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebp + 0x10]
lea eax, [esp + 0x78]
push eax
jge 0x40c231
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x64]
sub esp, 8
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040d130
lea ecx, [esp + 0x74]
call fcn.00414aa0
lea ecx, [esp + 0x68]
call fcn.004140f0
test eax, eax
jne 0x40b966
lea ecx, [esp + 0x68]
call fcn.00415400
test eax, eax
jne 0x40c04b
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x7c]
call fcn.00402040
mov esi, eax
push str.CCZA:_Decompressing_file:
lea ecx, [esp + 0xbc]
mov byte [esp + 0x180], 0x15
call fcn.004010e0
push esi
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x16
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0x17
mov eax, dword [esi]
sub eax, 0x10
mov edi, 1
cmp dword [eax + 0xc], edi
jle 0x40b9cf
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 5
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 0x16
call fcn.0040ed80
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 0x15
call fcn.0040ed80
lea ecx, [esp + 0x120]
mov byte [esp + 0x17c], 0x11
call fcn.0040ed80
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x10]
jge 0x40c231
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x60]
mov ecx, dword [eax + esi + 0x28]
add eax, esi
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x2c], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
jbe 0x40ba81
push ecx
mov dword [esp + 0x5c], ecx
call dword [0x46230c]
add esp, 4
test eax, eax
mov dword [esp + 0x5c], eax
je 0x40ba7d
mov ecx, dword [esp + 0x58]
push ecx
push 0
push eax
call fcn.00432e50
mov eax, dword [esp + 0x68]
add esp, 0xc
mov edx, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x17c], 0x18
je 0x40c17d
cmp edx, dword [ebp + 0x10]
jge 0x40c231
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + esi + 0x28]
add ecx, esi
mov ecx, dword [ecx + 0x2c]
push edx
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.00419c30
test eax, eax
mov dword [esp + 0x90], eax
jne 0x40c236
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x150]
call fcn.00419b20
mov byte [esp + 0x17c], 0x1d
mov dword [esp + 0x28], 0
jmp 0x40baf4
mov esi, dword [esp + 0x60]
push 0
lea ecx, [esp + 0xc4]
call fcn.00412630
push 0
push 2
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x188], 0x1e
call fcn.00412be0
mov edi, eax
test edi, edi
je 0x40bbfa
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402040
mov esi, eax
push str.CCZA:_Couldnt_init_save_file__path_
lea ecx, [esp + 0x140]
mov byte [esp + 0x180], 0x1f
call fcn.004010e0
push esi
lea edx, [esp + 0x130]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0x20
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0x21
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40bb91
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 1
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x12c]
mov byte [esp + 0x17c], 0x20
call fcn.0040ed80
lea ecx, [esp + 0x13c]
mov byte [esp + 0x17c], 0x1f
call fcn.0040ed80
lea ecx, [esp + 0x100]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed80
push 0x3e8
call ebx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004128b0
jmp 0x40bd8e
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebp + 0x10]
jge 0x40c231
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + esi + 0x28]
mov edx, dword [eax + esi + 0x2c]
add eax, esi
mov eax, dword [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x9c], edx
call fcn.00412ae0
test eax, eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0xc0]
je 0x40bf7c
call fcn.00412680
push str.__err_
lea ecx, [esp + 0x3c]
call fcn.004010e0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x180], 0x22
call fcn.00402040
mov esi, eax
push str.CCZA:_Could_not_write_to_file
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x23
call fcn.004010e0
push esi
lea edx, [esp + 0xb4]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0x24
call fcn.004011f0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x114]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0x25
call fcn.004011f0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x10c]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0x26
call fcn.00401270
mov ecx, eax
mov byte [esp + 0x17c], 0x27
call fcn.00401190
push eax
push 1
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x108]
mov byte [esp + 0x17c], 0x26
call fcn.0040ed80
lea ecx, [esp + 0x110]
mov byte [esp + 0x17c], 0x25
call fcn.0040ed80
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x24
call fcn.0040ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x23
call fcn.0040ed80
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 0x22
call fcn.0040ed80
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed80
push 0x3e8
call ebx
lea ecx, [esp + 0xc0]
call fcn.00412680
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004128b0
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x28], eax
jl 0x40baf0
test edi, edi
jne 0x40c2b1
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040a800
mov esi, eax
push str.CCZA:_File_decompressed:
lea ecx, [esp + 0x11c]
mov byte [esp + 0x180], 0x2b
call fcn.004010e0
push esi
lea ecx, [esp + 0x148]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x2c
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0x2d
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40be0f
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 3
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x144]
mov byte [esp + 0x17c], 0x2c
call fcn.0040ed80
lea ecx, [esp + 0x118]
mov byte [esp + 0x17c], 0x2b
call fcn.0040ed80
lea ecx, [esp + 0x134]
mov byte [esp + 0x17c], 0x1d
call fcn.0040ed80
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.00419770
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40be95
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40be95
push eax
call dword [0x462310]
add esp, 4
mov byte [esp + 0x17c], 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], vtable.CPBasePath.0
call fcn.0040ed80
mov eax, dword [esp + 0x30]
add dword [esp + 0x60], 0x30
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
jl 0x40b8c0
mov edi, 1
xor ebx, ebx
mov byte [esp + 0x17c], 0xf
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040ed80
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x40bf0a
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
xor eax, eax
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0xc
call fcn.00412680
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004128b0
jmp 0x40bdaa
mov byte [esp + 0x17c], 0x10
mov edi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], edi
call fcn.0040ed80
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.0040ed80
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40bff0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], edi
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
mov eax, esi
jmp 0x40bf60
lea eax, [esp + 0xb0]
push eax
lea edi, [esp + 0x6c]
call fcn.00404800
mov esi, eax
push str.CCZA:_Couldnt_create_new_folder:
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x12
call fcn.004010e0
push esi
lea ecx, [esp + 0x4c]
push ecx
mov bl, 0x13
mov ecx, eax
mov byte [esp + 0x184], bl
call fcn.004011f0
mov ecx, eax
mov byte [esp + 0x17c], 0x14
call fcn.00401190
push eax
push 1
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.0040ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x12
call fcn.0040ed80
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x11
call fcn.0040ed80
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], esi
call fcn.0040ed80
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040ed80
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c440
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
mov eax, 0x64
jmp 0x40bf60
cmp edx, dword [ebp + 0x10]
jge 0x40c231
lea eax, [edx + edx*2]
shl eax, 4
add eax, dword [ebp + 0xc]
push str.CCZA:_Couldnt_create_a_buffer_to_store_read_data__size_was
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.004010e0
mov bl, 0x19
push eax
lea edi, [esp + 0x3c]
lea esi, [esp + 0x4c]
mov byte [esp + 0x180], bl
call fcn.0040a680
mov ecx, eax
mov byte [esp + 0x17c], 0x1a
call fcn.00401190
push eax
push 1
call fcn.0040ebe0
add esp, 8
mov ecx, esi
mov byte [esp + 0x17c], bl
call fcn.0040ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x18
call fcn.0040ed80
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40c0d9
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40c0d9
push eax
call dword [0x462310]
add esp, 4
jmp 0x40c0d9
call fcn.00428ef0
push str.CCZA:_Couldnt_read_file_data__err_was
lea ecx, [esp + 0x44]
call fcn.004010e0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x4c]
mov bl, 0x1b
push edx
mov ecx, eax
mov byte [esp + 0x184], bl
call fcn.00401270
mov ecx, eax
mov byte [esp + 0x17c], 0x1c
call fcn.00401190
push eax
push edi
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.0040ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x18
call fcn.0040ed80
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 0x11
call fcn.0040a5a0
jmp 0x40c0d9
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402040
mov esi, eax
push str.CCZA:_Timed_out_trying_to_save_file_data__path_
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x28
call fcn.004010e0
push esi
lea ecx, [esp + 0x4c]
push ecx
mov bl, 0x29
mov ecx, eax
mov byte [esp + 0x184], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x17c], 0x2a
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40c311
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 1
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.0040ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x28
call fcn.0040ed80
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x1d
call fcn.0040ed80
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.00419770
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40c390
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40c390
push eax
call dword [0x462310]
add esp, 4
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], esi
call fcn.0040ed80
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040ed80
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c440
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.0040ed80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.00419770
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed80
mov eax, 0x1f5
jmp 0x40bf60