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

Disassembly:
push 0xffffffffffffffff
push 0x44c279
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650f0]
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 0x40b695
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push 5
call fcn.00411380
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 1
call fcn.00411520
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0
call fcn.00411520
mov ecx, dword [esp + 0x184]
push ecx
lea ecx, [esp + 0xdc]
call fcn.0041b280
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00414e40
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.00411b30
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 4
call fcn.00411520
lea ecx, [esp + 0x20]
call fcn.004114f0
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.00414a60
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x90], eax
je 0x40b926
push 0x45a528
lea ecx, [esp + 0x2c]
call fcn.004020f0
push str.__err_desc:__
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 7
call fcn.004020f0
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 0x40b83c
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push edi
call fcn.00411380
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], bl
call fcn.00411520
lea ecx, [esp + 0x60]
mov byte [esp + 0x17c], 0xb
call fcn.00411520
lea ecx, [esp + 0x30]
mov byte [esp + 0x17c], 0xa
call fcn.00411520
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 9
call fcn.00411520
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 8
call fcn.00411520
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 7
call fcn.00411520
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 6
call fcn.00411520
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], vtable.CPBasePath.0
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
mov eax, 0x258
jmp 0x40c0f0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x40b977
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 0x40b95f
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push edi
call fcn.00411380
add esp, 8
lea ecx, [esp + 0xa8]
jmp 0x40b8b7
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 0x40ba05
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c5d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], vtable.CPBasePath.0
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
mov eax, 0x66
jmp 0x40c0f0
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.00412d30
mov byte [esp + 0x17c], 0x10
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jle 0x40c05e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [esp + 0x60], esi
jmp 0x40ba54
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x68]
push ecx
lea edi, [esp + 0x9c]
call fcn.0040aa10
test esi, esi
mov byte [esp + 0x17c], 0x11
jl 0x40c3c1
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x10]
jge 0x40c3c1
mov eax, dword [ebp + 0xc]
sub esp, 8
add eax, esi
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.0040d0b0
lea ecx, [esp + 0x70]
call fcn.004124e0
mov esi, eax
test esi, esi
jne 0x40c12a
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebp + 0x10]
lea eax, [esp + 0x78]
push eax
jge 0x40c3c1
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x64]
sub esp, 8
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040d090
lea ecx, [esp + 0x74]
call fcn.004127c0
lea ecx, [esp + 0x68]
call fcn.00411e10
test eax, eax
jne 0x40baf6
lea ecx, [esp + 0x68]
call fcn.00413120
test eax, eax
jne 0x40c1db
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x7c]
call fcn.00402220
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 0x40bb5f
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push 5
call fcn.00411380
add esp, 8
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 0x16
call fcn.00411520
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 0x15
call fcn.00411520
lea ecx, [esp + 0x120]
mov byte [esp + 0x17c], 0x11
call fcn.00411520
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x10]
jge 0x40c3c1
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 0x40bc11
push ecx
mov dword [esp + 0x5c], ecx
call dword [0x46436c]
add esp, 4
test eax, eax
mov dword [esp + 0x5c], eax
je 0x40bc0d
mov ecx, dword [esp + 0x58]
push ecx
push 0
push eax
call fcn.00433810
mov eax, dword [esp + 0x68]
add esp, 0xc
mov edx, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x17c], 0x18
je 0x40c30d
cmp edx, dword [ebp + 0x10]
jge 0x40c3c1
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.0041b390
test eax, eax
mov dword [esp + 0x90], eax
jne 0x40c3c6
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x150]
call fcn.0041b280
mov byte [esp + 0x17c], 0x1d
mov dword [esp + 0x28], 0
jmp 0x40bc84
mov esi, dword [esp + 0x60]
push 0
lea ecx, [esp + 0xc4]
call fcn.00416d50
push 0
push 2
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x188], 0x1e
call fcn.004173b0
mov edi, eax
test edi, edi
je 0x40bd8a
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402220
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 0x40bd21
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push 1
call fcn.00411380
add esp, 8
lea ecx, [esp + 0x12c]
mov byte [esp + 0x17c], 0x20
call fcn.00411520
lea ecx, [esp + 0x13c]
mov byte [esp + 0x17c], 0x1f
call fcn.00411520
lea ecx, [esp + 0x100]
mov byte [esp + 0x17c], 0x1e
call fcn.00411520
push 0x3e8
call ebx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00416fd0
jmp 0x40bf1e
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebp + 0x10]
jge 0x40c3c1
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.00417200
test eax, eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0xc0]
je 0x40c10c
call fcn.00416da0
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.00402220
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.00411380
add esp, 8
lea ecx, [esp + 0x108]
mov byte [esp + 0x17c], 0x26
call fcn.00411520
lea ecx, [esp + 0x110]
mov byte [esp + 0x17c], 0x25
call fcn.00411520
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x24
call fcn.00411520
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x23
call fcn.00411520
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 0x22
call fcn.00411520
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 0x1e
call fcn.00411520
push 0x3e8
call ebx
lea ecx, [esp + 0xc0]
call fcn.00416da0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00416fd0
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x28], eax
jl 0x40bc80
test edi, edi
jne 0x40c441
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040a9f0
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 0x40bf9f
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push 3
call fcn.00411380
add esp, 8
lea ecx, [esp + 0x144]
mov byte [esp + 0x17c], 0x2c
call fcn.00411520
lea ecx, [esp + 0x118]
mov byte [esp + 0x17c], 0x2b
call fcn.00411520
lea ecx, [esp + 0x134]
mov byte [esp + 0x17c], 0x1d
call fcn.00411520
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.0041aed0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40c025
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40c025
push eax
call dword [0x464370]
add esp, 4
mov byte [esp + 0x17c], 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], vtable.CPBasePath.0
call fcn.00411520
mov eax, dword [esp + 0x30]
add dword [esp + 0x60], 0x30
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
jl 0x40ba50
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.00411520
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x40c09a
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.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
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.00416da0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00416fd0
jmp 0x40bf3a
mov byte [esp + 0x17c], 0x10
mov edi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], edi
call fcn.00411520
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.00411520
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40c180
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.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], edi
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
mov eax, esi
jmp 0x40c0f0
lea eax, [esp + 0xb0]
push eax
lea edi, [esp + 0x6c]
call fcn.00404ac0
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.00411380
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.00411520
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x12
call fcn.00411520
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x11
call fcn.00411520
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], esi
call fcn.00411520
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.00411520
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c5d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
mov eax, 0x64
jmp 0x40c0f0
cmp edx, dword [ebp + 0x10]
jge 0x40c3c1
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.0040a870
mov ecx, eax
mov byte [esp + 0x17c], 0x1a
call fcn.00401190
push eax
push 1
call fcn.00411380
add esp, 8
mov ecx, esi
mov byte [esp + 0x17c], bl
call fcn.00411520
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x18
call fcn.00411520
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40c269
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40c269
push eax
call dword [0x464370]
add esp, 4
jmp 0x40c269
call fcn.0042a314
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.00411380
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.00411520
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x18
call fcn.00411520
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 0x11
call fcn.0040a790
jmp 0x40c269
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402220
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 0x40c4a1
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push esi
push 1
call fcn.00411380
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.00411520
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0x28
call fcn.00411520
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x1d
call fcn.00411520
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.0041aed0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x54], 0
mov dword [esp + 0x50], vtable.CPMemBlock_char_.0
je 0x40c520
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40c520
push eax
call dword [0x464370]
add esp, 4
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], esi
call fcn.00411520
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.00411520
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.0040c5d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.00411520
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], esi
call fcn.00411520
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.0041aed0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411520
mov eax, 0x1f5
jmp 0x40c0f0