Function at 0x43e470
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4b44d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, 1
mov dword [esi + 0xa8], edi
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c3ef0
call sub.MFC42.DLL_AfxDynamicDownCast
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x47]
push 0xc
mov byte [esp + 0x38], al
call sub.MFC42.DLL_operatornew
xor ebp, ebp
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x20], ebp
call fcn.004958d0
mov eax, dword [esi + 0xa4]
mov ebx, dword [esp + 0xa8]
cmp eax, ebp
mov byte [esp + 0xa0], 1
je 0x43e5cd
push eax
lea ecx, [esp + 0x80]
call fcn.00497150
cmp ebx, ebp
mov dword [esp + 0x14], ebp
je 0x43e52d
mov ecx, dword [esi + 0xa4]
push ecx
mov ecx, ebx
call fcn.00497250
test eax, eax
je 0x43e52d
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x20]
push ebp
push ebp
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x10], eax
jbe 0x43e5b3
mov eax, dword [esi + 0x20]
push 2
push edi
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
je 0x43e5aa
push 2
push ebp
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemState
cmp dword [esp + 0x14], ebp
je 0x43e5aa
cmp edi, ebp
je 0x43e5a2
mov eax, dword [esi + 0xd8]
mov edx, dword [esi + 0xa4]
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + 0x20]
shl ecx, 6
lea edx, [esp + 0x24]
lea eax, [ecx + eax + 8]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00426ef0
jmp 0x43e5aa
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x43e548
mov edi, dword [esi + 0xa4]
cmp edi, ebp
je 0x43e5cd
mov ecx, edi
call fcn.004a7830
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edi, [esi + 0xd4]
mov dword [esi + 0xa4], ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push eax
push eax
call fcn.0044ac00
add esp, 0xc
mov ebp, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebp
call fcn.0040c200
lea ecx, [esi + 0xe4]
mov dword [edi + 8], ebp
mov eax, dword [ecx + 4]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00449b50
test ebx, ebx
jne 0x43e708
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xc8]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00449ab0
mov eax, dword [esp + 0x1c]
xor edi, edi
push edi
mov ecx, dword [eax + 0x27c]
call fcn.00423180
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0x102f
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi + 0x144]
mov dword [esi + 0x150], edi
mov eax, dword [ecx + 4]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00449c80
mov eax, dword [esi + 0x13c]
lea ecx, [esi + 0x138]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00449a50
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa8], edi
mov eax, dword [ecx + 4]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00426f50
mov eax, dword [esi + 0xc0]
lea ecx, [esi + 0xbc]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00449a50
mov ecx, esi
call fcn.00446870
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa0], 0
call fcn.00496360
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], 0xffffffff
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
call fcn.00426f50
mov edx, dword [esp + 0x30]
push edx
jmp 0x43eff5
mov eax, dword [esi + 0xa4]
mov ecx, dword [edi + 8]
add eax, 0x1c
push eax
push 1
push ecx
mov ecx, edi
call fcn.0047bce0
mov ebp, dword [ebx + 0x1c]
mov eax, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], 0
test eax, eax
jne 0x43e736
xor ecx, ecx
jmp 0x43e73e
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebp
jae 0x43e767
test eax, eax
jne 0x43e74a
xor ecx, ecx
jmp 0x43e752
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
mov eax, dword [edi + 8]
lea edx, [esp + 0x14]
sub ebp, ecx
push edx
push ebp
push eax
mov ecx, edi
call fcn.0047bce0
jmp 0x43e784
mov ecx, edi
call fcn.0040c1e0
cmp ebp, eax
jae 0x43e784
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
lea eax, [ecx + ebp*4]
mov ecx, edi
push eax
call fcn.00449b10
mov ecx, dword [ebx + 0x1c]
xor ebp, ebp
xor eax, eax
cmp ecx, ebp
jle 0x43e7a9
mov ecx, 4
mov edx, dword [esi + 0xd8]
add ecx, 4
mov dword [edx + ecx - 4], eax
mov edx, dword [ebx + 0x1c]
inc eax
cmp eax, edx
jl 0x43e794
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x43e7b4
xor edi, edi
jmp 0x43e7bc
mov edi, dword [edi + 8]
sub edi, eax
sar edi, 2
mov ecx, dword [esi + 0x20]
push ebp
push edi
push 0x102f
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 0x10c]
push edx
push eax
mov ecx, esi
mov dword [esi + 0xa8], 1
call fcn.0043f300
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa8], ebp
cmp eax, ebp
je 0x43e806
push 2
push 2
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemState
mov ecx, esi
mov dword [esi + 0xa8], ebp
call fcn.00446870
cmp dword [esi + 0x150], ebp
je 0x43ef80
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esi + 0xa4]
call fcn.00497300
test eax, eax
je 0x43ef80
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0xa4]
push 0
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00497430
test eax, eax
jne 0x43e8b6
mov ecx, esi
call fcn.00446d30
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa0], 0
call fcn.00496360
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x43e8ac
lea edx, [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.00426e60
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0043d4a0
cmp dword [esp + 0x1c], esi
jne 0x43e885
mov edx, dword [esp + 0x30]
push edx
jmp 0x43eff5
mov eax, dword [esi + 0x13c]
mov edi, dword [eax]
cmp edi, eax
je 0x43e8e5
mov ecx, dword [esi + 0xa4]
lea eax, [edi + 8]
push eax
call fcn.00497250
test eax, eax
jne 0x43ed3d
mov edi, dword [edi]
mov eax, dword [esi + 0x13c]
cmp edi, eax
jne 0x43e8c2
mov ebp, dword [esi + 0x13c]
lea edi, [esi + 0x138]
mov ebx, dword [esi + 0xa4]
mov ecx, edi
mov edx, dword [ebp + 4]
push edx
push ebp
call fcn.00427060
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.004270b0
mov ebp, dword [edi + 8]
add esp, 8
inc ebp
lea ecx, [esp + 0x20]
mov dword [edi + 8], ebp
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0xa4]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xa4], 2
call fcn.004961f0
mov eax, dword [esi + 0x13c]
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 3
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00497430
test eax, eax
je 0x43ea3a
mov bl, 5
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
call fcn.00497320
push eax
lea edx, [esp + 0x14]
push 0x4df1dc
push edx
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x40]
lea ecx, [esp + 0x60]
push eax
call fcn.00497370
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 7
call fcn.00497150
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 3
call fcn.00496360
mov eax, dword [esi + 0x13c]
push 0
lea ecx, [esp + 0x64]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00497430
test eax, eax
jne 0x43e969
push 0x4df1dc
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, dword [esi + 0xa4]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x43ec0e
cmp dword [esi + 0x150], 1
jne 0x43ec0e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
call fcn.00460af0
mov ecx, eax
call fcn.0045e2b0
push 0x4df1dc
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0xa8], 8
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0xac], 9
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 0xb
call sub.MFC42.DLL_CString::CString
push 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x43eb01
push 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x43eaea
push 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4df1dc
lea ecx, [esp + 0x14]
call fcn.004abdba
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov bl, 0xd
push 0x4e58d8
push eax
mov byte [esp + 0xa8], bl
call ebp
add esp, 8
test eax, eax
je 0x43ebec
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
push 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 0
push eax
call edi
mov ecx, dword [esp + 0x10]
push 0x4e58d8
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x43eb4c
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xa4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x1c], ebx
jle 0x43ef57
mov dword [esp + 0x10], ebx
mov edx, dword [eax + 0x20]
lea ecx, [edx + ebx]
mov dl, byte [edx + ebx + 0x20]
test dl, dl
je 0x43ed9f
mov eax, dword [eax + 0x20]
push 0x4e16e0
lea eax, [eax + ebx + 4]
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x43ef36
mov ecx, dword [esi + 0xa4]
push 0x4e1890
mov edx, dword [ecx + 0x20]
lea eax, [edx + ebx + 4]
mov eax, dword [edx + ebx + 4]
push eax
call ebp
add esp, 8
test eax, eax
je 0x43ef36
lea ecx, [esp + 0x40]
call fcn.004958d0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0x10
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0xa4]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 0x11
call fcn.00497150
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x5c]
lea eax, [edx + ebx + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x148]
push 0x28
mov edi, dword [eax]
mov ebp, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, edi
test edi, edi
jne 0x43ecdf
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x43ece7
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x40]
add eax, 8
push ecx
push eax
call fcn.0044ac90
mov eax, dword [esi + 0x14c]
add esp, 8
inc eax
mov dword [esi + 0x14c], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 3
call fcn.00496360
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x43ef36
mov ecx, esi
call fcn.00446d30
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa0], 0
call fcn.00496360
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x43ed95
lea ecx, [esp + 0x18]
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00426e60
mov edx, dword [eax]
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0043d4a0
cmp dword [esp + 0x1c], esi
jne 0x43ed6e
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x43eff5
mov eax, dword [esi + 0x150]
cmp eax, 1
jne 0x43ee5a
push 0
push 0
push ecx
lea edx, [esi + 0xfc]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esi + 0xf8]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0xb4], 0x13
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x154]
mov edx, dword [esi + 0xa4]
push ecx
push edx
push ecx
mov byte [esp + 0xbc], 0x14
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x4e58d8
call fcn.004abd48
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0xc4], 0x15
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0xa4]
mov byte [esp + 0xc0], 0x16
push ecx
mov edx, dword [ecx + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
lea eax, [edx + ebx + 4]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x40]
push 1
mov byte [esp + 0xc8], 3
call fcn.00461440
jmp 0x43ef36
cmp eax, 2
jne 0x43ef36
mov edi, dword [esi + 0xb4]
push 0xc
lea ebx, [ecx + 4]
mov ebp, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, edi
test edi, edi
jne 0x43ee81
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x43ee89
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
mov byte [esp + 0xa0], 0x17
je 0x43eeb1
push ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0xb8]
push 0x24
inc ecx
mov byte [esp + 0xa4], 3
mov dword [esi + 0xb8], ecx
mov edi, dword [esi + 0xc0]
mov ebx, dword [esi + 0xa4]
mov ebp, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, edi
test edi, edi
jne 0x43eee7
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x43eeef
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
mov byte [esp + 0xa0], 0x18
je 0x43ef17
push ebx
call fcn.004961f0
mov eax, dword [esi + 0xc4]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, dword [esp + 0x10]
inc eax
mov byte [esp + 0xa0], 3
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [esp + 0x14]
inc ecx
add ebx, 0x40
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
cmp ecx, edx
mov dword [esp + 0x10], ebx
jl 0x43ec27
mov ecx, esi
call fcn.00446d30
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 2
call fcn.00496360
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa0], 0
call fcn.00496360
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xa0], 0xffffffff
mov edi, dword [ebp]
cmp edi, ebp
je 0x43eff0
lea ecx, [esp + 0x28]
push 0
mov eax, edi
mov edi, dword [edi]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00426e60
mov esi, dword [eax]
push 0
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
lea ecx, [esi + 8]
call fcn.00416090
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x38]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esp + 0x34], ecx
jne 0x43efa7
mov eax, dword [esp + 0x30]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4