Function at 0x488200
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bc4f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x6c], ebp
mov dword [ebp + 0xb0], ebx
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c4120
call sub.MFC42.DLL_AfxDynamicDownCast
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ebx
call fcn.00492f50
lea eax, [ebp + 0x68]
lea esi, [ebp + 0x78]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov edx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
cmp eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x20], edx
je 0x4882e4
cmp dword [eax + 0x70], ebx
je 0x4882e4
mov ecx, dword [eax + 0x88]
cmp ecx, ebx
jne 0x4882aa
mov dword [esp + 0x40], 1
jmp 0x4882b3
call fcn.0042c2e0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
mov dword [eax + 0x7c], 1
call fcn.00492f60
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
cmp eax, ecx
jne 0x488291
lea eax, [ebp + 0x68]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov edx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
cmp eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x20], edx
je 0x488365
mov ecx, dword [eax + 0x6c]
mov edi, 2
cmp ecx, edi
jne 0x488339
cmp dword [eax + 0x70], ebx
jne 0x488339
mov dword [eax + 0x6c], 1
lea ecx, [esp + 0x28]
call fcn.00492f60
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
cmp eax, ecx
jne 0x488321
jmp 0x48836a
mov edi, 2
cmp dword [ebp + 0xb8], ebx
je 0x488426
cmp dword [ebp + 0x90], ebx
je 0x488426
lea eax, [ebp + 0x68]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov edx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
cmp eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x20], edx
je 0x4883f1
cmp dword [eax + 0x70], ebx
je 0x4883f1
lea ecx, [esp + 0x28]
mov dword [eax + 0x6c], edi
call fcn.00492f60
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
cmp eax, ecx
jne 0x4883bf
cmp dword [ebp + 0xcc], ebx
jne 0x488453
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.00461330
mov ecx, eax
call fcn.00495110
mov ecx, eax
call fcn.00445f70
test eax, eax
je 0x488457
mov ecx, dword [edi + 0x27c]
push ebx
push 9
call fcn.0041e200
jmp 0x488457
mov ecx, dword [esp + 0x10]
call fcn.00461330
mov ecx, eax
call fcn.00495110
mov ecx, eax
call fcn.00445f70
test eax, eax
je 0x488453
mov ecx, dword [esp + 0x10]
push ebx
push 9
mov ecx, dword [ecx + 0x27c]
call fcn.0041e200
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp + 0xcc]
mov edx, dword [ebp + 0x20]
add eax, ecx
push eax
push ebx
push 0x1015
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x40]
mov dword [ebp + 0xb8], ebx
cmp eax, ebx
je 0x48848f
mov ecx, dword [edi + 0x27c]
call fcn.0041f500
mov ecx, dword [edi + 0x27c]
call fcn.00423270
test eax, eax
jne 0x4884b3
push 0x55
call fcn.00474fd0
add esp, 4
test eax, eax
jne 0x4884b3
mov ecx, edi
call fcn.00468d10
mov al, byte [esp + 0x27]
push ebx
push ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.004517b0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov cl, byte [esp + 0x27]
push ebx
mov byte [esp + 0x48], cl
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa4], ebx
call fcn.004935c0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
lea eax, [ebp + 0x68]
mov byte [esp + 0x9c], 1
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], edi
mov eax, dword [eax + 0xc]
cmp edi, ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], edx
je 0x48865d
jmp 0x48853b
mov eax, dword [esp + 0x34]
lea ecx, [ebp + 0x68]
mov edx, dword [ebp + 0x68]
mov dword [esp + 0x74], edx
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jne 0x48856d
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
jmp 0x4885b8
sub eax, ecx
mov ecx, edi
sar eax, 2
sub esi, ebx
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
mov eax, dword [esp + 0x28]
sub ecx, eax
mov eax, 0x2e8ba2e9
mov dword [esp + 0x40], edx
imul ecx
mov eax, dword [esp + 0x40]
sar edx, 5
mov ecx, edx
add edx, eax
shr ecx, 0x1f
mov eax, 0x2e8ba2e9
add ecx, edx
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, ecx
lea ecx, [eax + edx - 0x17]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x48862a
mov eax, dword [edi + 0x98]
test eax, eax
jne 0x48862a
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x64]
mov eax, dword [edx]
lea edx, [esp + 0x74]
push eax
push edx
call fcn.0044a170
lea eax, [ebp + 0x68]
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x24], edx
call fcn.00493ae0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
push edx
mov eax, dword [ecx]
lea ecx, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00493500
lea ecx, [esp + 0x28]
call fcn.00492f60
lea eax, [ebp + 0x78]
mov edi, dword [esp + 0x30]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 8]
cmp edi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x5c], ecx
jne 0x488537
xor ebx, ebx
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
cmp esi, eax
je 0x488729
lea ecx, [ebp + 0x68]
mov eax, dword [esi + 8]
push eax
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x5c], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x54]
call fcn.00493ae0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], edx
mov ebp, ecx
mov dword [esp + 0x18], ecx
mov edx, ebx
push 1
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
call fcn.00493ae0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0xc], edx
mov eax, esp
lea edx, [esp + 0xa4]
mov dword [eax], edi
push edx
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x90]
mov dword [eax + 8], ecx
lea ecx, [ebp + 0x64]
mov dword [eax + 0xc], ebx
call fcn.00492b20
mov esi, dword [esi]
mov eax, dword [esp + 0x64]
cmp esi, eax
jne 0x48866b
xor ebx, ebx
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x38], eax
je 0x4888d3
mov bl, 6
push 0x4e59d8
lea ecx, [eax + 0xa8]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [ecx + 0x70], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
mov dword [edx + 0x9c], eax
call fcn.004925c0
sub esp, 0xb0
mov esi, eax
mov edi, esp
mov dword [esp + 0xec], esp
push esi
mov ecx, edi
mov dword [esp + 0xf0], edi
call sub.MFC42.DLL_CString::CString_1
lea eax, [esi + 4]
lea ecx, [edi + 4]
push eax
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x14c], 3
push ecx
lea ecx, [edi + 8]
call fcn.00496af0
mov edx, dword [esi + 0x24]
mov byte [esp + 0x14c], 4
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x30]
mov dword [edi + 0x2c], ecx
push edx
lea ecx, [edi + 0x30]
call fcn.0041e150
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov ecx, dword [esi + 0x60]
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x68]
mov byte [esp + 0x14c], 5
mov dword [edi + 0x68], eax
mov ecx, dword [esi + 0x6c]
mov dword [edi + 0x6c], ecx
mov edx, dword [esi + 0x70]
mov dword [edi + 0x70], edx
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov ecx, dword [esi + 0x78]
mov dword [edi + 0x78], ecx
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x7c], edx
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov ecx, dword [esi + 0x84]
mov dword [edi + 0x84], ecx
mov edx, dword [esi + 0x88]
mov dword [edi + 0x88], edx
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov ecx, dword [esi + 0x90]
mov dword [edi + 0x90], ecx
mov edx, dword [esi + 0x94]
mov dword [edi + 0x94], edx
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov ecx, dword [esi + 0x9c]
lea edx, [esi + 0xa0]
mov dword [edi + 0x9c], ecx
push edx
lea ecx, [edi + 0xa0]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esi + 0xa4]
lea ecx, [edi + 0xa4]
push eax
mov byte [esp + 0x150], bl
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x14c], 1
mov dword [edi + 0xa8], ecx
mov ecx, ebp
call fcn.0047f650
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx]
cmp eax, ecx
mov dword [esp + 0x38], eax
jne 0x48873d
xor ebx, ebx
mov ecx, ebp
call fcn.00487dd0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x9c], 0
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x488909
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
call fcn.00494270
cmp esi, edi
jne 0x4888ee
mov eax, dword [esp + 0x48]
push eax
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x68]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
add esp, 4
mov esi, dword [edi]
mov dword [esp + 0x9c], 0xffffffff
cmp esi, edi
je 0x488946
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.00451a30
cmp esi, edi
jne 0x48892f
mov edx, dword [esp + 0x64]
push edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret