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

Disassembly:
push 0xffffffffffffffff
push 0x44e731
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 0x41d5e5
test ebp, ebp
jle 0x41d5d0
mov eax, ebp
test eax, eax
jne 0x41d5bc
mov ecx, dword [esi + 0x104]
xor eax, eax
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x41d71e
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x104]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x41d71e
mov ecx, dword [esi + 0x104]
push 0x475c1c
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x41d71e
mov eax, dword [esi + 0x80]
xor ebx, ebx
sub eax, ebx
je 0x41d62a
dec eax
jne 0x41d71e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x41d71e
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x41d61b
xor eax, eax
push ebp
push eax
call fcn.00422650
jmp 0x41d71e
mov eax, dword [esi + 0x70]
push ebp
push eax
call fcn.00422650
jmp 0x41d71e
cmp ebp, 0x258
jle 0x41d63e
mov dword [esp + 0xc], 0x258
mov ebp, dword [esp + 0xc]
mov eax, dword [esi + 0x78]
push edi
cmp eax, ebx
jne 0x41d64a
xor edi, edi
jmp 0x41d64d
mov edi, dword [esi + 0x70]
lea ecx, [esp + 0x1c]
call fcn.00401fb0
cmp ebp, ebx
mov dword [esp + 0xa0], ebx
jle 0x41d6ae
dec ebp
xor eax, eax
mov al, byte [edi]
inc edi
push eax
lea eax, [esp + 0x34]
push 0x467a54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x3c]
push ecx
call fcn.00402a00
add esp, 0x10
lea edx, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push edx
call fcn.004026e0
cmp ebx, ebp
je 0x41d6a3
push 0x2c
lea ecx, [esp + 0x20]
call fcn.00402280
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x41d662
mov ebp, eax
mov eax, dword [esi + 0x78]
pop edi
cmp ebp, eax
jge 0x41d6dd
push 0x2020
lea ecx, [esp + 0x1c]
call fcn.00402240
push 0x2e2e
lea ecx, [esp + 0x1c]
call fcn.00402240
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00402280
push 0
lea ecx, [esp + 0x1c]
call fcn.00402280
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], 0x456138
call fcn.004021b0
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x78]
cmp ecx, 0xc
jne 0x41d743
test eax, eax
jle 0x41d743
mov ecx, eax
test ecx, ecx
jne 0x41d737
xor ecx, ecx
jmp 0x41d73a
mov ecx, dword [esi + 0x70]
mov dl, byte [ecx + eax - 1]
test dl, dl
jne 0x41d743
dec eax
push eax
lea eax, [esp + 0x64]
push str.____
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
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x9c], ebx
call sub.MFC42.DLL_CString::CString_1
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 0x41d7b6
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