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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bab16
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x14], edi
call edx
cmp dword [ebx + 0x5d8], 0
mov dword [esp + 0x10], eax
jne 0x450a05
push 0x58
lea eax, [esp + 0x6c]
push 0
push eax
mov dword [esp + 0x70], 0
call fcn.004a1210
mov ecx, dword [ebx + 0x1e8]
add esp, 0xc
push edi
lea esi, [esp + 0x68]
call fcn.00447b80
cmp dword [ebx + 0x5e8], 0
mov eax, dword [ebx + 0x5d4]
mov ecx, dword [ebx + 0x1c8]
mov dl, byte [ebx + 0x5e0]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov al, byte [ebx + 0x5e4]
mov byte [esp + 0x7e], 3
mov byte [esp + 0x7b], 1
mov dword [esp + 0x64], ecx
mov byte [esp + 0x78], dl
mov byte [esp + 0x79], al
je 0x4509ea
cmp dword [esp + 0x10], 1
jne 0x4509ea
mov dword [esp + 0x74], 0x2bc
jmp 0x4509f4
mov ecx, dword [ebx + 0x1cc]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x5d8], eax
mov eax, dword [ebx + 0x5d8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1c0], 0
mov dword [esp + 0x28], eax
je 0x450a27
push edi
push ebx
call fcn.00443810
mov esi, dword [sym.imp.GDI32.dll_SetBkMode]
push 2
push edi
call esi
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x450a5f
cmp dword [ebx + 0x5a0], 0
je 0x450a48
push eax
push edi
call esi
mov ecx, dword [ebx + 0x1d4]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx + 0x1dc]
push edx
jmp 0x450abf
cmp eax, 2
jne 0x450a79
push 1
push edi
call esi
mov eax, dword [ebx + 0x1d0]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x450ac6
cmp eax, 3
jne 0x450a93
push 1
push edi
call esi
mov ecx, dword [ebx + 0x1e0]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x450ac6
test eax, eax
je 0x450a9c
cmp eax, 5
jne 0x450ac6
cmp dword [ebx + 0x5a0], 0
je 0x450aaa
push 1
push edi
call esi
mov edx, dword [ebx + 0x1e4]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0x1dc]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc4]
mov ecx, ebx
call eax
test eax, eax
jne 0x450ae2
push 0xff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
sub eax, 0xffffff80
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x578]
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0x578]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, edx
jge 0x450b1e
push 0
call fcn.00402050
mov eax, dword [ebx + 0x5c4]
cmp dword [ebx + 0x18c], eax
jle 0x450b37
test eax, eax
jle 0x450b37
dec eax
mov dword [ebx + 0x18c], eax
mov eax, dword [ebx + 0x5bc]
test eax, eax
jne 0x450b5b
mov eax, dword [ebx + 0x578]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x450d5b
jmp 0x450d69
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea esi, [eax + 8]
mov ecx, 7
lea edi, [esp + 0x48]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x450d51
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0xd8], 0
mov ecx, dword [ebx + 0x65c]
cmp dword [ecx - 0xc], 0
lea eax, [ebx + 0x65c]
je 0x450bbc
push eax
lea ecx, [esp + 0x20]
call fcn.00408830
jmp 0x450c02
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.004511c0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 1
call fcn.00408830
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450c02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x634]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
push str.CURRENTLANGUAGE
call fcn.0046ccd0
mov edi, eax
mov ecx, 0x4cc198
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450c78
test dx, dx
je 0x450c74
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450c78
add eax, 4
add ecx, 4
test dx, dx
jne 0x450c52
xor eax, eax
jmp 0x450c7d
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x450cbf
mov ecx, 0x4cc1a0
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450cb6
test dx, dx
je 0x450cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450cb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x450c90
xor eax, eax
jmp 0x450cbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x450ce2
mov eax, dword [esi - 0xc]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov ecx, dword [ebx + 0xb0]
sub ecx, dword [esp + 0x40]
add dword [esp + 0x18], ecx
push edi
call fcn.0049081d
mov eax, dword [esi - 0xc]
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x18]
push esi
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push 4
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esi - 0x10]
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450d3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jne 0x450b57
mov edi, dword [esp + 0x14]
jmp 0x450b41
push 0x80004005
call fcn.004010d0
push ecx
push eax
call fcn.0049df12
add esp, 8
test eax, eax
jl 0x450dbb
mov ecx, dword [ebx + 0x578]
cmp eax, dword [ecx - 8]
jg 0x450dbb
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx + 0x578]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x28]
push eax
push edi
mov dword [ebx + 0x1c0], edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0049dc2a
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.004010d0
int3