Function at 0x4ca670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d3037
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
call sub.mfc42u.dll_CWnd::CWnd
mov dword [esi], 0x5e2b4c
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 1
call fcn.004ca460
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.004cb030
lea edi, [esi + 0xb8]
mov byte [esp + 0x1c], 3
mov ecx, edi
call sub.mfc42u.dll_CString::CString_3
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, 4
mov dword [esi + 0xc4], ecx
mov byte [esp + 0x1c], al
mov dword [esi + 0xb4], eax
lea eax, [esp + 0x44]
mov ecx, edi
push eax
mov dword [esi], 0x5eeea0
mov dword [esi + 0xc8], edx
call sub.mfc42u.dll_CString::operator_2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], edx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push 3
or ebp, 0x50a00040
sub ebx, ecx
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov ecx, ebx
mov edx, dword [esp + 0x30]
imul ecx, dword [esi + 0xb4]
add eax, ecx
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [esp + 0x24]
push edx
push eax
mov dword [edi + 0xc], ecx
push edi
push ebp
mov ecx, esi
call sub.mfc42u.dll_CComboBox::Create
test eax, eax
je 0x4ca930
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push 0
push 0
mov edx, dword [ecx + 0x20]
push 0x31
push edx
call edi
push eax
call sub.mfc42u.dll_CGdiObject::FromHandle
test eax, eax
je 0x4ca794
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x20]
push 0x30
push eax
call edi
mov ecx, dword [esi + 0x20]
and ebx, 0xffff
push ebx
push 0xffffffffffffffff
push 0x153
push ecx
call edi
mov ecx, esi
call fcn.004cac90
mov edx, dword [esi + 0x20]
push 0
push eax
push 0x160
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x15e
push eax
call edi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0xd0]
push ecx
mov ecx, dword [esi + 0xcc]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push esi
lea ecx, [esi + 0x80]
call fcn.004cb110
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4ca83a
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x20]
push eax
push 0xffffffffffffffff
push 0x14d
push edx
call edi
cmp eax, 0xffffffff
jne 0x4ca83a
mov eax, dword [esi + 0xb8]
mov ecx, esi
push eax
call sub.mfc42u.dll_CWnd::SetWindowTextW
mov eax, dword [esi + 0x20]
push 0
push 1
push 0x14f
push eax
call edi
mov ecx, dword [esp + 0x2c]
and ecx, 3
cmp cl, 3
je 0x4ca929
lea ebx, [esi + 0x40]
push esi
push 0x3e9
mov ecx, ebx
call sub.mfc42u.dll_CWnd::SubclassDlgItem
mov ecx, esi
call sub.mfc42u.dll_CWnd::SetFocus
mov ebp, dword [esp + 0x48]
lea eax, [ebp - 1]
cmp eax, 0x27
ja case.0x4ca884.4
xor edx, edx
mov dl, byte [eax + 0x4ca968]
jmp dword [edx*4 + 0x4ca958]
mov eax, dword [ebx + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
jmp 0x4ca930
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov edx, dword [ebx + 0x20]
add esp, 4
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call edi
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0xb7
push eax
jmp 0x4ca917
mov ecx, dword [ebx + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0xb7
push edx
call edi
jmp 0x4ca930
mov eax, dword [ebx + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push ebp
push 0x102
push edx
call edi
jmp 0x4ca930
mov ecx, esi
call sub.mfc42u.dll_CWnd::SetFocus
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x34