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

Disassembly:
push 0xffffffffffffffff
push 0x44a859
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 0x40d2b5
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push 5
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 1
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 0
call fcn.0040fd60
mov ecx, dword [esp + 0x184]
push ecx
lea ecx, [esp + 0xdc]
call fcn.004198c0
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], ebx
call fcn.00413010
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.00410370
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 4
call fcn.0040fd60
lea ecx, [esp + 0x20]
call fcn.0040fd30
mov byte [esp + 0x17c], 6
mov eax, dword [0x467d00]
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.00416e00
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x90], eax
je 0x40d54f
push 0x4583b8
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 0x40d465
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push edi
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], bl
call fcn.0040fd60
lea ecx, [esp + 0x88]
mov byte [esp + 0x17c], 0xb
call fcn.0040fd60
lea ecx, [esp + 0x40]
mov byte [esp + 0x17c], 0xa
call fcn.0040fd60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 9
call fcn.0040fd60
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 8
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 7
call fcn.0040fd60
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 6
call fcn.0040fd60
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], vtable.CPBasePath.0
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
mov eax, 0x258
jmp 0x40dd0c
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x40d5a0
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 0x40d588
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push edi
call fcn.00410660
add esp, 8
lea ecx, [esp + 0xa8]
jmp 0x40d4e3
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 0x40d62b
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c470
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], vtable.CPBasePath.0
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
mov eax, 0x66
jmp 0x40dd0c
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.004154a0
mov byte [esp + 0x17c], 0x10
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov dword [esp + 0x40], ebx
jle 0x40dc7d
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [esp + 0x88], esi
jmp 0x40d687
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x9c]
call fcn.0040a850
test esi, esi
mov byte [esp + 0x17c], 0x11
jl 0x40dfb9
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebp + 0x10]
jge 0x40dfb9
mov eax, dword [ebp + 0xc]
sub esp, 8
add eax, esi
mov esi, esp
mov dword [esp + 0x40], esp
call fcn.0040c840
lea ecx, [esp + 0x68]
call fcn.00414c50
mov esi, eax
test esi, esi
jne 0x40dd28
mov eax, dword [esp + 0x40]
cmp eax, dword [ebp + 0x10]
lea edx, [esp + 0x70]
push edx
jge 0x40dfb9
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x8c]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
call fcn.0040c820
lea ecx, [esp + 0x6c]
call fcn.00414f30
lea ecx, [esp + 0x60]
call fcn.00414650
test eax, eax
jne 0x40d72c
lea ecx, [esp + 0x60]
call fcn.00415890
test eax, eax
jne 0x40ddd6
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 0x40d795
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push 5
call fcn.00410660
add esp, 8
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17c], 0x16
call fcn.0040fd60
lea ecx, [esp + 0xb8]
mov byte [esp + 0x17c], 0x15
call fcn.0040fd60
lea ecx, [esp + 0x120]
mov byte [esp + 0x17c], 0x11
call fcn.0040fd60
mov edx, dword [esp + 0x40]
cmp edx, dword [ebp + 0x10]
jge 0x40dfb9
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 0x40d84a
push ecx
mov dword [esp + 0x34], ecx
call dword [0x46230c]
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
je 0x40d846
mov ecx, dword [esp + 0x30]
push ecx
push 0
push eax
call fcn.004328a0
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x17c], 0x18
je 0x40df05
cmp edx, dword [ebp + 0x10]
jge 0x40dfb9
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.004199d0
test eax, eax
mov dword [esp + 0x90], eax
jne 0x40dfbe
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x150]
call fcn.004198c0
push 0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 0x1d
call fcn.00413150
mov byte [esp + 0x17c], 0x1e
mov dword [esp + 0x38], 0
jmp 0x40d8d7
mov esi, dword [esp + 0x88]
push 0
push 2
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xcc]
call fcn.004137b0
mov edi, eax
test edi, edi
je 0x40d9b0
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 0x40d95b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push 1
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x12c]
mov byte [esp + 0x17c], 0x20
call fcn.0040fd60
lea ecx, [esp + 0x13c]
mov byte [esp + 0x17c], 0x1f
call fcn.0040fd60
lea ecx, [esp + 0x100]
mov byte [esp + 0x17c], 0x1e
call fcn.0040fd60
push 0x3e8
call ebx
jmp 0x40db24
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebp + 0x10]
jge 0x40dfb9
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.00413600
test eax, eax
mov dword [esp + 0x90], eax
je 0x40db40
lea ecx, [esp + 0xc0]
call fcn.004131a0
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.00410660
add esp, 8
lea ecx, [esp + 0x108]
mov byte [esp + 0x17c], 0x26
call fcn.0040fd60
lea ecx, [esp + 0x110]
mov byte [esp + 0x17c], 0x25
call fcn.0040fd60
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x24
call fcn.0040fd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x23
call fcn.0040fd60
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 0x22
call fcn.0040fd60
lea ecx, [esp + 0x48]
mov byte [esp + 0x17c], 0x1e
call fcn.0040fd60
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 0x40d8d0
test edi, edi
jne 0x40e039
lea ecx, [esp + 0xc0]
call fcn.004131a0
mov esi, eax
test esi, esi
jne 0x40e1cd
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x74]
call fcn.0040a830
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.00410660
add esp, 8
lea ecx, [esp + 0x144]
mov byte [esp + 0x17c], 0x2c
call fcn.0040fd60
lea ecx, [esp + 0x118]
mov byte [esp + 0x17c], 0x2b
call fcn.0040fd60
lea ecx, [esp + 0x134]
mov byte [esp + 0x17c], 0x1e
call fcn.0040fd60
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004133d0
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004194f0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40dc41
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40dc41
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.0040fd60
mov eax, dword [esp + 0x40]
add dword [esp + 0x88], 0x30
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
jl 0x40d680
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.0040fd60
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x40dcb9
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.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
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.0040fd60
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.0040fd60
mov byte [esp + 0x17c], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40dd7e
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.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], edi
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
mov eax, esi
jmp 0x40dd0c
lea ecx, [esp + 0xb0]
push ecx
lea edi, [esp + 0x64]
call fcn.00404890
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.00410660
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040fd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x12
call fcn.0040fd60
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x11
call fcn.0040fd60
mov byte [esp + 0x17c], 0x10
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], esi
call fcn.0040fd60
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c470
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
mov eax, 0x64
jmp 0x40dd0c
cmp edx, dword [ebp + 0x10]
jge 0x40dfb9
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.0040a6b0
mov ecx, eax
mov byte [esp + 0x17c], 0x1a
call fcn.00401190
push eax
push 1
call fcn.00410660
add esp, 8
mov ecx, esi
mov byte [esp + 0x17c], bl
call fcn.0040fd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x18
call fcn.0040fd60
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40de64
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40de64
push eax
call dword [0x462310]
add esp, 4
jmp 0x40de64
call fcn.00428ce4
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.00410660
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040fd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x18
call fcn.0040fd60
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 0x11
call fcn.0040a5d0
jmp 0x40de64
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 0x40e099
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push esi
push 1
call fcn.00410660
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], bl
call fcn.0040fd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x28
call fcn.0040fd60
lea ecx, [esp + 0xb0]
mov byte [esp + 0x17c], 0x1e
call fcn.0040fd60
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004133d0
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004194f0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40e12c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40e12c
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.0040fd60
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], esi
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c470
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 4
call fcn.0040fd60
mov byte [esp + 0x17c], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call fcn.0040fd60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x17c], 0
call fcn.004194f0
lea ecx, [esp + 0x188]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0040fd60
mov eax, 0x1f5
jmp 0x40dd0c
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x1d
call fcn.004133d0
lea ecx, [esp + 0x14c]
mov byte [esp + 0x17c], 0x18
call fcn.004194f0
mov byte [esp + 0x17c], 0x11
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], vtable.CPMemBlock_char_.0
je 0x40e21e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40e21e
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.0040fd60
mov byte [esp + 0x17c], 0xf
lea ecx, [esp + 0xa0]
mov dword [esp + 0x98], edi
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 6
call fcn.0040c470
jmp 0x40dd7e