Function at 0x42b940
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b0d8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xa8], 1
mov eax, dword [esi + 0x3cc]
push 0
push 0
push 0x146
push eax
call edi
mov ecx, dword [esi + 0x3cc]
push 0
push 0
push 0x146
push ecx
call edi
test eax, eax
jle 0x42b9bc
mov edx, dword [esi + 0x3cc]
push 0
push 0
push 0x144
push edx
call edi
mov eax, dword [esi + 0x3cc]
push 0
push 0
push 0x146
push eax
call edi
test eax, eax
jg 0x42b994
mov ecx, dword [esi + 0x3cc]
push 0
push 0
push 0x303
push ecx
call edi
mov edx, dword [0x473064]
mov eax, dword [0x4732c4]
push 0xb5
push str.IDS_NOTHING_TO_DO
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00452420
mov eax, dword [eax]
mov edx, dword [esi + 0x3cc]
add esp, 0x14
push eax
push 0
push 0x143
push edx
call edi
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [0x473064]
mov ecx, dword [0x4732c4]
push 0xb6
push str.IDS_OPENFILE
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00452420
mov eax, dword [eax]
add esp, 0x14
push eax
mov eax, dword [esi + 0x3cc]
push 0
push 0x143
push eax
call edi
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [0x473064]
mov edx, dword [0x4732c4]
push 0xb7
push str.IDS_OPENDIR
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00452420
mov eax, dword [eax]
mov ecx, dword [esi + 0x3cc]
add esp, 0x14
push eax
push 0
push 0x143
push ecx
call edi
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [0x45fc04]
mov ecx, dword [0x4732c8]
mov dword [esp + 0x14], eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x472fb4]
push eax
mov eax, dword [0x473018]
push eax
call dword [edx + 0x4c]
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x42bae8
dec eax
je 0x42bad6
dec eax
jne 0x42bafa
mov ecx, dword [esi + 0x3cc]
push 0
push 2
push 0x14e
push ecx
jmp 0x42baf8
mov edx, dword [esi + 0x3cc]
push 0
push 1
push 0x14e
push edx
jmp 0x42baf8
mov eax, dword [esi + 0x3cc]
push 0
push 0
push 0x14e
push eax
call edi
mov eax, dword [0x45fb28]
mov ecx, dword [0x4732c8]
mov dword [esp + 0xc], eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x473068]
push eax
mov eax, dword [0x472f78]
push eax
call dword [edx + 0x4c]
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x42bb56
mov ecx, dword [esi + 0x160]
push 0
push 0
push 0x146
push ecx
call edi
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jl 0x42bb56
mov edx, dword [esi + 0x160]
lea eax, [ecx - 1]
push 0
push eax
push 0x14e
push edx
call edi
mov eax, dword [0x45fc00]
mov ecx, dword [0x4732c8]
mov dword [esp + 0x18], eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x472fe8]
push eax
mov eax, dword [0x473018]
push eax
call dword [edx + 0x4c]
cmp dword [esp + 0x18], 0xffffffff
jne 0x42bbb9
push 0x403
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call edi
push 0x405
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push edx
jmp 0x42bbed
push 0x405
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
push 0x403
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call edi
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_3
push 0x472f44
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 8]
mov ecx, dword [0x4732c8]
push eax
lea eax, [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [0x472fb0]
push eax
mov eax, dword [0x473018]
push eax
call dword [edx + 0x58]
mov ecx, dword [esp + 8]
push ecx
push 0x44e
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::SetWindowTextW
mov dword [esi + 0xa8], 0
add esi, 0x22c
push 0
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x20]
push 0x803a
push edx
mov byte [esp + 0x34], 1
call fcn.00450a40
add esp, 8
mov eax, dword [eax]
mov ecx, dword [0x4732c4]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [0x473064]
push str.IDS_STATIC_FILE_SIZE_QUERY
push eax
mov byte [esp + 0x3c], 2
call dword [edx + 0x58]
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret