Function at 0x423c50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6212
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x82c], edi
call dword [0x4cb4cc]
mov ecx, 0x50a248
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::GetManager]
push eax
push 0x4cbbf0
lea ecx, [ebp - 0x824]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x824]
push eax
mov ecx, 0x50a248
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0x824]
sete bl
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
je 0x423fba
push str.PRONTO_Button
mov ecx, 0x50a248
call dword [0x4ca7f8]
mov edi, dword [0x50a248]
call sub.mfc100u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x854]
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x423e25
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x850], edx
mov dword [ebp - 0x854], 3
call sub.mfc100u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x88
push 0xe
push 0x88
mov dword [ebp - 0x844], eax
call sub.mfc100u.dll_AfxFindResourceHandle
push eax
call ebx
push 0x7f00
push 0
mov dword [ebp - 0x840], eax
call edi
mov ecx, dword [0x4f8e0c]
push ecx
mov dword [ebp - 0x83c], eax
call fcn.004445c0
mov edx, dword [0x50a248]
mov dword [ebp - 0x838], eax
add esp, 4
lea eax, [ebp - 0x854]
push eax
mov dword [ebp - 0x830], edx
call sub.mfc100u.dll_AfxRegisterClass
test eax, eax
jne 0x423e25
mov ecx, dword [0x501864]
push 0x88
push ecx
call ebx
mov edx, dword [0x4f8e0c]
push eax
push edx
call fcn.00449d00
add esp, 4
push eax
push 0x7f00
push 0
call edi
push eax
push 3
call sub.mfc100u.dll_AfxRegisterWndClass
push eax
mov ecx, 0x50a248
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push str.PRONTO_Link_Button
mov ecx, 0x50a250
call dword [0x4ca7f8]
mov eax, dword [0x50a250]
mov dword [ebp - 0x824], eax
call sub.mfc100u.dll_AfxGetModuleState
mov edx, dword [ebp - 0x824]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x854]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x423fb4
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x854], 3
call sub.mfc100u.dll_AfxGetModuleState
mov ecx, dword [eax + 8]
push 0x88
push 0xe
push 0x88
mov dword [ebp - 0x844], ecx
call sub.mfc100u.dll_AfxFindResourceHandle
push eax
call ebx
push 0x7f89
push 0
mov dword [ebp - 0x840], eax
call edi
mov edx, dword [0x4f8e0c]
push edx
mov dword [ebp - 0x83c], eax
call fcn.004445c0
add esp, 4
mov dword [ebp - 0x838], eax
mov eax, dword [0x50a250]
lea ecx, [ebp - 0x854]
push ecx
mov dword [ebp - 0x830], eax
call sub.mfc100u.dll_AfxRegisterClass
test eax, eax
jne 0x423f58
mov edx, dword [0x501864]
push 0x88
push edx
call ebx
push eax
mov eax, dword [0x4f8e0c]
push eax
call fcn.00449d00
add esp, 4
push eax
push 0x7f89
push 0
call edi
push eax
push 3
call sub.mfc100u.dll_AfxRegisterWndClass
push eax
mov ecx, 0x50a250
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, 0x50a250
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::GetManager]
push eax
push 0x4cbbf0
lea ecx, [ebp - 0x824]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0x824]
push ecx
mov ecx, 0x50a250
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0x824]
sete bl
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
je 0x423fb4
push 0x50a248
mov ecx, 0x50a250
call dword [0x4ca7ec]
mov edi, dword [ebp - 0x82c]
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 8]
mov ebx, dword [eax + 0x64]
mov dword [ebp - 0x824], ebx
test ebx, ebx
jne 0x423ffd
push ebx
push 0x4cbbf0
push eax
call fcn.0040d680
add esp, 0xc
test eax, eax
js 0x4242d6
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x64]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x4242d6
mov ebx, eax
cmp dword [ebx + 0x84], 0
jne 0x42401c
push 0
push 0x4dab4c
mov ecx, ebx
call fcn.0044fe40
test eax, eax
je 0x4242d6
cmp dword [ebx + 0x88], 0
je 0x42403b
mov edx, dword [esi + 0x7c]
cmp dword [edx + 0x48], 0
mov ecx, ebx
je 0x424034
push 1
jmp 0x424036
push 0
call fcn.00451070
test edi, edi
je 0x4240d1
mov eax, dword [esi + 0x7c]
cmp word [eax + 0x16], 1
ja 0x4240d1
test dword [eax + 0x40], 0x4000
je 0x4240d1
lea eax, [ebp - 0x810]
mov edx, 0x3fe
movzx ecx, word [edi]
test cx, cx
je 0x42409f
mov word [eax], cx
movzx ecx, word [edi + 2]
test cx, cx
je 0x424097
mov word [eax + 2], cx
movzx ecx, word [edi + 4]
test cx, cx
je 0x42409c
mov word [eax + 4], cx
add edi, 6
add eax, 6
sub edx, 3
jns 0x424065
jmp 0x42409f
add eax, 2
jmp 0x42409f
add eax, 4
xor ecx, ecx
mov word [eax], cx
sub eax, 2
lea edx, [ebp - 0x810]
cmp eax, edx
jb 0x4240c9
cmp word [eax], 0x20
ja 0x4240c9
xor ecx, ecx
mov word [eax], cx
sub eax, 2
lea edx, [ebp - 0x810]
cmp eax, edx
jae 0x4240b1
lea eax, [ebp - 0x810]
mov edi, eax
cmp dword [esi + 0x78], 0
mov ecx, dword [ebp + 0xc]
je 0x424153
test ecx, ecx
jne 0x424153
test edi, edi
je 0x4240fe
fld qword [0x4ce180]
push edi
push ecx
push ecx
sub esp, 0x10
fst qword [esp + 8]
fstp qword [esp]
push ecx
push ecx
mov ecx, esi
call fcn.004224d0
cmp dword [ebp + 0x10], 0
je 0x4243af
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx + 8]
cmp eax, dword [0x5096e4]
je 0x424121
push 0
push eax
call fcn.0040c5b0
add esp, 8
mov eax, dword [esi + 0x7c]
mov edx, dword [eax + 8]
mov dword [edx + 0x18], eax
cmp dword [ebx + 0x88], 0
jne 0x4243af
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call sub.mfc100u.dll_CWnd::FromHandle
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetFocus
jmp 0x4243af
mov eax, dword [esi + 0x7c]
cmp word [eax + 0x5c], 0
mov bl, 0xf
je 0x424163
test ecx, ecx
je 0x424192
cmp byte [eax + 0x56], bl
je 0x424170
lea ecx, [esi + 0x74]
call fcn.0040ab30
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x57], 0
jbe 0x424192
test dword [eax + 0x40], 0x200000
je 0x424192
cmp word [eax + 0x5e], 0x14
jge 0x424192
mov ecx, 0x14
mov word [eax + 0x5e], cx
cmp dword [esi + 0x78], 0
je 0x4241d7
push 0
lea ecx, [esi + 0x74]
call fcn.0040b560
mov eax, dword [esi + 0x7c]
movsx edx, word [eax + 0x5e]
movsx ecx, word [eax + 0x5c]
push 0x60
push edx
movsx edx, word [eax + 0x62]
movsx eax, word [eax + 0x60]
push ecx
push edx
push eax
push 0
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetWindowPos
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4243af
mov edx, dword [esi + 0x7c]
cmp byte [edx + 0x56], bl
jne 0x4241fd
mov eax, dword [ebp - 0x824]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x4241fd
mov ecx, dword [eax + 0x11c]
test ecx, ecx
je 0x4241fd
push edi
push edx
call fcn.004017c0
mov ecx, dword [esi + 0x7c]
cmp dword [ecx + 0xc], 0
jne 0x424217
mov eax, dword [0x4f883c]
inc eax
mov dword [0x4f883c], eax
mov edx, dword [esi + 0x7c]
mov dword [edx + 0xc], eax
mov dword [0x513248], 0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x424230
cmp dword [eax], 0
jne 0x424236
test byte [ecx + 0x40], 0x40
je 0x42423d
push 0x50a250
jmp 0x424242
push 0x50a248
lea ecx, [ebp - 0x828]
call dword [0x4ca7ec]
mov eax, dword [esi + 0x7c]
movsx ecx, word [eax + 0x60]
mov dword [ebp - 0x820], ecx
movsx edx, word [eax + 0x62]
mov dword [ebp - 0x81c], edx
movsx ebx, word [eax + 0x5c]
add ebx, ecx
mov dword [ebp - 0x818], ebx
movsx ecx, word [eax + 0x5e]
mov ebx, dword [esi]
add ecx, edx
mov edx, dword [ebp - 0x828]
mov dword [ebp - 0x814], ecx
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esi + 0x74]
push eax
mov dword [ebp - 0x82c], edx
call fcn.0040a260
mov edx, dword [ebp - 0x82c]
push eax
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x820]
push ecx
push 0x40030000
push 0x4dab4c
push edx
push 4
mov ecx, esi
call eax
test eax, eax
je 0x4242d6
push 0
lea ecx, [esi + 0x74]
call fcn.0040b560
test eax, eax
jne 0x4242e9
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
lea ecx, [ebp - 0x828]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
jmp 0x4243c0
test edi, edi
je 0x4242f5
push edi
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetWindowTextW
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x56], 3
jne 0x424360
cmp dword [0x5095ac], 0
je 0x424360
mov ebx, dword [ebp - 0x824]
cmp dword [ebx + 0x9c], 0
je 0x424366
test dword [eax + 0x40], 0x1000000
jne 0x424366
push 0x34
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x424353
mov ecx, dword [ebx + 0x9c]
push edi
push esi
push ecx
mov ecx, eax
call fcn.00480f90
mov byte [ebp - 4], 0
mov dword [esi + 0x80], eax
jmp 0x424366
xor eax, eax
mov byte [ebp - 4], al
mov dword [esi + 0x80], eax
jmp 0x424366
mov ebx, dword [ebp - 0x824]
push 1
mov ecx, esi
call sub.mfc100u.dll_CWnd::ShowWindow
cmp dword [ebp + 0x10], 0
je 0x42439e
cmp dword [ebx + 0x88], 0
jne 0x42439e
mov eax, dword [esi + 0x7c]
mov edx, dword [eax + 8]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call sub.mfc100u.dll_CWnd::FromHandle
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetFocus
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esi + 0x78], 1
lea ecx, [ebp - 0x828]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret 0xc