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

Disassembly:
push 0xffffffffffffffff
push 0x44a6b9
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
xor ebx, ebx
push str.CCZL:_Decompressing_CPZipperLib_data_to_folder:
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], ebx
call fcn.004010e0
lea ecx, [esp + 0x188]
push ecx
lea edx, [esp + 0x4c]
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 0x40dc05
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 5
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 1
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 0
call fcn.0040ed90
mov ecx, dword [esp + 0x184]
push ecx
lea ecx, [esp + 0xdc]
call fcn.00419a80
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], ebx
call fcn.00416f40
push str._t__n_r
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 4
call fcn.004010e0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x18c]
mov byte [esp + 0x180], 5
call fcn.0040f3a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
lea ecx, [esp + 0x20]
call fcn.0040ed60
mov byte [esp + 0x17c], 6
mov eax, dword [0x467cf8]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x7a666864
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.00416910
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x90], eax
je 0x40de9f
push 0x458368
lea ecx, [esp + 0x3c]
call fcn.00401f20
push str.__err_desc:__
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 7
call fcn.00401f20
push str.CCZL:_Couldnt_deserialise_header_data__err_
lea ecx, [esp + 0xac]
mov byte [esp + 0x180], 8
call fcn.004010e0
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xbc]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 9
call fcn.00401270
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0xa
call fcn.004011f0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0xb
call fcn.004011f0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov bl, 0xc
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 0x40ddb5
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push edi
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.0040ed90
lea ecx, [esp + 0x88]
mov byte [esp + 0x17c], 0xb
call fcn.0040ed90
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0xa
call fcn.0040ed90
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 9
call fcn.0040ed90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 8
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 7
call fcn.0040ed90
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 6
call fcn.0040ed90
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], vtable.CPBasePath.0
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
mov eax, 0x258
jmp 0x40e65c
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x40def0
push str.CCZL:_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 0x40ded8
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push edi
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0xa8]
jmp 0x40de33
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
lea ebp, [eax + 8]
cmp ebp, ebx
mov byte [esp + 0x17c], 0xf
jne 0x40df7b
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c480
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], vtable.CPBasePath.0
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
mov eax, 0x66
jmp 0x40e65c
sub esp, 8
lea edx, [esp + 0x190]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401050
lea ecx, [esp + 0xa0]
call fcn.00414fb0
mov byte [esp + 0x17c], 0x10
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x40], ebx
jle 0x40e5cd
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [esp + 0x88], esi
jmp 0x40dfd7
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x9c]
call fcn.0040a860
test esi, esi
mov byte [esp + 0x17c], 0x11
jl 0x40e909
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebp + 0x10]
jge 0x40e909
mov eax, dword [ebp + 0xc]
sub esp, 8
add eax, esi
mov esi, esp
mov dword [esp + 0x40], esp
call fcn.0040d190
lea ecx, [esp + 0x68]
call fcn.00414760
mov esi, eax
test esi, esi
jne 0x40e678
mov eax, dword [esp + 0x40]
cmp eax, dword [ebp + 0x10]
lea edx, [esp + 0x70]
push edx
jge 0x40e909
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x8c]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
call fcn.0040d170
lea ecx, [esp + 0x6c]
call fcn.00414a40
lea ecx, [esp + 0x60]
call fcn.00414090
test eax, eax
jne 0x40e07c
lea ecx, [esp + 0x60]
call fcn.004153a0
test eax, eax
jne 0x40e726
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0x74]
call fcn.00402060
mov esi, eax
push str.CCZL:_Decompressing_file:
lea ecx, [esp + 0xbc]
mov byte [esp + 0x180], 0x15
call fcn.004010e0
push esi
lea edx, [esp + 0xac]
push edx
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 0x40e0e5
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 5
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 0x16
call fcn.0040ed90
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 0x15
call fcn.0040ed90
lea ecx, [esp + 0x120]
mov byte [esp + 0x17c], 0x11
call fcn.0040ed90
mov edx, dword [esp + 0x40]
cmp edx, dword [ebp + 0x10]
jge 0x40e909
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x88]
mov ecx, dword [eax + esi + 0x28]
add eax, esi
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x3c], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jbe 0x40e19a
push ecx
mov dword [esp + 0x34], ecx
call dword [0x46230c]
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
je 0x40e196
mov ecx, dword [esp + 0x30]
push ecx
push 0
push eax
call fcn.00432d00
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x17c], 0x18
je 0x40e855
cmp edx, dword [ebp + 0x10]
jge 0x40e909
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + esi + 0x28]
add ecx, esi
mov ecx, dword [ecx + 0x2c]
push edx
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.00419b90
test eax, eax
mov dword [esp + 0x90], eax
jne 0x40e90e
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x150]
call fcn.00419a80
push 0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 0x1d
call fcn.004125d0
mov byte [esp + 0x17c], 0x1e
mov dword [esp + 0x38], 0
jmp 0x40e227
mov esi, dword [esp + 0x88]
push 0
push 2
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xcc]
call fcn.00412b80
mov edi, eax
test edi, edi
je 0x40e300
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x74]
call fcn.00402060
mov esi, eax
push str.CCZL:_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 0x40e2ab
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 1
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x12c]
mov byte [esp + 0x17c], 0x20
call fcn.0040ed90
lea ecx, [esp + 0x13c]
mov byte [esp + 0x17c], 0x1f
call fcn.0040ed90
lea ecx, [esp + 0x100]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed90
push 0x3e8
call ebx
jmp 0x40e474
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebp + 0x10]
jge 0x40e909
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + esi + 0x28]
mov edx, dword [eax + esi + 0x2c]
add eax, esi
mov eax, dword [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x9c], edx
call fcn.00412a80
test eax, eax
mov dword [esp + 0x90], eax
je 0x40e490
lea ecx, [esp + 0xc0]
call fcn.00412620
push str.__err_
lea ecx, [esp + 0x4c]
call fcn.004010e0
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 0x22
call fcn.00402060
mov esi, eax
push str.CCZL:_Could_not_write_to_file
lea ecx, [esp + 0x5c]
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 + 0x48]
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x108]
mov byte [esp + 0x17c], 0x26
call fcn.0040ed90
lea ecx, [esp + 0x110]
mov byte [esp + 0x17c], 0x25
call fcn.0040ed90
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x24
call fcn.0040ed90
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x23
call fcn.0040ed90
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 0x22
call fcn.0040ed90
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed90
push 0x3e8
call ebx
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x38], eax
jl 0x40e220
test edi, edi
jne 0x40e989
lea ecx, [esp + 0xc0]
call fcn.00412620
mov esi, eax
test esi, esi
jne 0x40eb1d
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x74]
call fcn.0040a840
mov esi, eax
push str.CCZL:_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
mov ecx, eax
mov byte [esp + 0x17c], 0x2d
call fcn.00401190
push eax
push 3
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x144]
mov byte [esp + 0x17c], 0x2c
call fcn.0040ed90
lea ecx, [esp + 0x118]
mov byte [esp + 0x17c], 0x2b
call fcn.0040ed90
lea ecx, [esp + 0x134]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed90
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00412850
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004196d0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40e591
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40e591
push eax
call dword [0x462310]
add esp, 4
mov byte [esp + 0x17c], 0x10
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], vtable.CPBasePath.0
call fcn.0040ed90
mov eax, dword [esp + 0x40]
add dword [esp + 0x88], 0x30
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
jl 0x40dfd0
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.0040ed90
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x40e609
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
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
mov byte [esp + 0x17c], 0x10
mov edi, vtable.CPBasePath.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], edi
call fcn.0040ed90
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.0040ed90
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40e6ce
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], edi
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
mov eax, esi
jmp 0x40e65c
lea ecx, [esp + 0xb0]
push ecx
lea edi, [esp + 0x64]
call fcn.00404850
mov esi, eax
push str.CCZL:_Couldnt_create_new_folder:
lea ecx, [esp + 0x5c]
mov byte [esp + 0x180], 0x12
call fcn.004010e0
push esi
lea edx, [esp + 0x54]
mov bl, 0x13
push edx
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040ed90
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x12
call fcn.0040ed90
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x11
call fcn.0040ed90
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], esi
call fcn.0040ed90
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c480
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
mov eax, 0x64
jmp 0x40e65c
cmp edx, dword [ebp + 0x10]
jge 0x40e909
lea eax, [edx + edx*2]
shl eax, 4
add eax, dword [ebp + 0xc]
push str.CCZL:_Couldnt_create_a_buffer_to_store_read_data__size_was
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], edx
call fcn.004010e0
mov bl, 0x19
push eax
lea edi, [esp + 0x4c]
lea esi, [esp + 0x54]
mov byte [esp + 0x180], bl
call fcn.0040a6c0
mov ecx, eax
mov byte [esp + 0x17c], 0x1a
call fcn.00401190
push eax
push 1
call fcn.0040ebf0
add esp, 8
mov ecx, esi
mov byte [esp + 0x17c], bl
call fcn.0040ed90
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x18
call fcn.0040ed90
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40e7b4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40e7b4
push eax
call dword [0x462310]
add esp, 4
jmp 0x40e7b4
call fcn.00428da0
push str.CCZL:_Couldnt_read_file_data__err_was
lea ecx, [esp + 0x5c]
call fcn.004010e0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x54]
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.0040ebf0
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040ed90
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x18
call fcn.0040ed90
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0x11
call fcn.0040a5e0
jmp 0x40e7b4
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x74]
call fcn.00402060
mov esi, eax
push str.CCZL:_Timed_out_trying_to_save_file_data__path_
lea ecx, [esp + 0x5c]
mov byte [esp + 0x180], 0x28
call fcn.004010e0
push esi
lea ecx, [esp + 0x54]
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 0x40e9e9
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 1
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040ed90
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x28
call fcn.0040ed90
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x1e
call fcn.0040ed90
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00412850
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004196d0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40ea7c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40ea7c
push eax
call dword [0x462310]
add esp, 4
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], esi
call fcn.0040ed90
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c480
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040ed90
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040ed90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004196d0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040ed90
mov eax, 0x1f5
jmp 0x40e65c
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.00412850
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004196d0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40eb6e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40eb6e
push eax
call dword [0x462310]
add esp, 4
mov byte [esp + 0x17c], 0x10
mov edi, vtable.CPBasePath.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], edi
call fcn.0040ed90
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c480
jmp 0x40e6ce