Function at 0x4d8b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x545239
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x6b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x6cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6dc]
mov edi, ecx
xor eax, eax
mov dword [esp + 0x6d4], eax
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x50], 0x28
cmp esi, eax
jbe 0x4d8baf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
lea ebx, [ebx]
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x20]
add esi, eax
cmp eax, esi
jbe 0x4d8bd2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
test ebx, ebx
je 0x4d8bdd
cmp ebx, eax
je 0x4d8be3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], esi
je 0x4d8cdd
lea eax, [esp + 0x1c]
call fcn.00413720
mov ecx, dword [esp + 0x6e0]
push ecx
lea ecx, [eax + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x4d8c23
lea eax, [esp + 0x1c]
call fcn.00413720
mov edx, dword [esp + 0x6e8]
cmp dword [eax + 0x1f0], edx
je 0x4d8c52
test ebx, ebx
jne 0x4d8c4c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x20], ecx
jb 0x4d8c43
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
inc dword [esp + 0x20]
jmp 0x4d8bc0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x4d8c31
lea eax, [esp + 0x1c]
call fcn.00413720
mov edx, dword [eax + 0x1e4]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x1e8]
mov dword [esp + 0x30], ecx
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x54], 0
je 0x4d8ff9
push 0x634
lea ecx, [esp + 0x90]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov eax, dword [ebp + 0x20]
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0x94], 0x634
mov dword [esp + 0xa4], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x6f4]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x88]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x6e4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [ebp + 0x84]
mov dword [esp + 0x98], edx
mov edx, dword [ebp + 0x7c]
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], ebx
mov dword [esp + 0xb0], 0xffffff
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x90], ecx
test edi, edi
je 0x4d8ff9
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6ec]
mov ecx, dword [eax]
mov esi, 0x20
xor edx, edx
mov dword [esp + 0x28], esi
cmp dword [ecx - 0xc], edx
je 0x4d8e0f
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6f0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], esi
lea edx, [esp + 0x28]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x70]
push ecx
push edx
lea edx, [esp + 0x94]
push edx
call edi
add esp, 0xc
lea ecx, [esp + 0x24]
mov edi, eax
call dword [0x55a6c4]
mov byte [esp + 0x6d4], 1
push 0x5879c0
lea ecx, [esp + 0x28]
call dword [0x55a194]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x28]
call dword [0x55a294]
cmp ebx, 1
jne 0x4d8fb2
xor ebx, ebx
cmp dword [esp + 0x6b8], ebx
je 0x4d8ec2
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
je 0x4d8e7a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0x1c8
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x6d4], 2
cmp eax, ebx
je 0x4d8ea1
push ebx
mov ecx, eax
call sub.libImage.module_public:_void___thiscall_CxImage::constructor_unsigned_long_int_
jmp 0x4d8ea3
xor eax, eax
mov byte [esp + 0x6d4], 1
mov ecx, dword [esp + 0x6b8]
push ecx
mov ecx, eax
mov dword [ebp + 0x78], eax
call sub.libImage.module_public:_bool___thiscall_CxImage::CreateFromHICON_struct_HICON____
jmp 0x4d8f68
mov eax, dword [esp + 0x6bc]
cmp eax, ebx
je 0x4d8f56
push eax
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x6d4], 3
lea edx, [esp + 0x18]
push edx
call fcn.004b9ae0
mov esi, eax
mov byte [esp + 0x6d4], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
je 0x4d8f11
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp + 0x78], ebx
cmp esi, ebx
je 0x4d8f68
push 0x1c8
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x6d4], 4
cmp eax, ebx
je 0x4d8f3f
push ebx
mov ecx, eax
call sub.libImage.module_public:_void___thiscall_CxImage::constructor_unsigned_long_int_
jmp 0x4d8f41
xor eax, eax
mov byte [esp + 0x6d4], 1
push esi
mov ecx, eax
mov dword [ebp + 0x78], eax
call sub.libImage.module_public:_class_CxImage____thiscall_CxImage::operator_class_CxImage_const__
jmp 0x4d8f68
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
je 0x4d8f65
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp + 0x78], ebx
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x6d4], 5
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call dword [sym.imp.libUI.module_public:_void___thiscall_CUIWin7Dialog::SetHeaders_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov byte [esp + 0x6d4], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 0x20]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x1c]
call fcn.00413720
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x1ec], edx
mov byte [esp + 0x6d4], 0
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x6d4], 0xffffffff
lea ecx, [esp + 0x6e0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
jmp 0x4d9013
mov dword [esp + 0x6d4], 0xffffffff
lea ecx, [esp + 0x6e0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x6cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6b0]
xor ecx, esp
call fcn.00532776
add esp, 0x6c4
ret 0x1c