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

Disassembly:
push 0xffffffffffffffff
push 0x55da71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
mov ebp, dword [esi + 0x78]
cmp eax, 0xc
mov dword [esp + 0xc], ebp
jne 0x4c2bf5
test ebp, ebp
jle 0x4c2be0
mov eax, ebp
test eax, eax
jne 0x4c2bcc
mov ecx, dword [esi + 0x104]
xor eax, eax
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x4c2d2e
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x104]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x4c2d2e
mov ecx, dword [esi + 0x104]
push 0x1505154
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x4c2d2e
mov eax, dword [esi + 0x80]
xor ebx, ebx
sub eax, ebx
je 0x4c2c3a
dec eax
jne 0x4c2d2e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4c2d2e
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4c2c2b
xor eax, eax
push ebp
push eax
call fcn.004c80c0
jmp 0x4c2d2e
mov eax, dword [esi + 0x70]
push ebp
push eax
call fcn.004c80c0
jmp 0x4c2d2e
cmp ebp, 0x258
jle 0x4c2c4e
mov dword [esp + 0xc], 0x258
mov ebp, dword [esp + 0xc]
mov eax, dword [esi + 0x78]
push edi
cmp eax, ebx
jne 0x4c2c5a
xor edi, edi
jmp 0x4c2c5d
mov edi, dword [esi + 0x70]
lea ecx, [esp + 0x1c]
call fcn.00494e60
cmp ebp, ebx
mov dword [esp + 0xa0], ebx
jle 0x4c2cbe
dec ebp
xor eax, eax
mov al, byte [edi]
inc edi
push eax
lea eax, [esp + 0x34]
push 0x14aacbc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x3c]
push ecx
call fcn.00495820
add esp, 0x10
lea edx, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push edx
call fcn.004955d0
cmp ebx, ebp
je 0x4c2cb3
push 0x2c
lea ecx, [esp + 0x20]
call fcn.00495170
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x4c2c72
mov ebp, eax
mov eax, dword [esi + 0x78]
pop edi
cmp ebp, eax
jge 0x4c2ced
push 0x2020
lea ecx, [esp + 0x1c]
call fcn.00495130
push 0x2e2e
lea ecx, [esp + 0x1c]
call fcn.00495130
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00495170
push 0
lea ecx, [esp + 0x1c]
call fcn.00495170
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x104]
neg eax
sbb eax, eax
and eax, edx
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x18], 0x13be2e8
call fcn.00495060
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x78]
cmp ecx, 0xc
jne 0x4c2d53
test eax, eax
jle 0x4c2d53
mov ecx, eax
test ecx, ecx
jne 0x4c2d47
xor ecx, ecx
jmp 0x4c2d4a
mov ecx, dword [esi + 0x70]
mov dl, byte [ecx + eax - 1]
test dl, dl
jne 0x4c2d53
dec eax
push eax
lea eax, [esp + 0x64]
push 0x14aaca8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x60]
lea edx, [esi + 0x60]
lea eax, [esp + 0x10]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator_2
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x9c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4c2dc6
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x94]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret