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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5020a8]
xor eax, esp
mov dword [esp + 0xa4], eax
movups xmm0, xmmword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x18], edi
mov esi, ecx
mov dword [esp + 0x2c], esi
push edi
movups xmmword [eax], xmm0
call fcn.00406250
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x411c8f
cmp dword [esi + 0xfc], 0
jne 0x411c66
mov eax, dword [esi + 0x170]
jmp 0x411c8c
mov eax, dword [esi + 0x124]
cmp eax, 1
jne 0x411c79
mov eax, dword [esi + 0x168]
jmp 0x411c8c
cmp eax, 2
jne 0x411c86
mov eax, dword [esi + 0x16c]
jmp 0x411c8c
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x3c], eax
cmp dword [esi + 0x128], 0
je 0x412088
lea ecx, [esp + 0x40]
call fcn.00429180
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x178], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
je 0x411d62
mov edx, dword [esi + 0x134]
xor edi, edi
mov eax, dword [esi + 0x138]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x20], edx
sar eax, 2
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0xc], eax
test eax, eax
je 0x411d5e
add edx, 8
nop dword [eax]
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jae 0x411d1d
mov eax, dword [edx]
cmp eax, dword [edx + 0x2c]
jle 0x411d19
cmp ecx, 3
jg 0x411d2a
mov eax, dword [esp + 0x10]
mov ecx, eax
add edx, 0x2c
cmp ecx, dword [esp + 0xc]
jb 0x411d00
jmp 0x411d5e
imul eax, ecx, 0x2c
mov esi, ecx
mov ecx, dword [esp + 0x20]
xor edx, edx
add ecx, 8
add ecx, eax
nop word [eax + eax]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
add edi, eax
cmp edi, 9
jg 0x411d56
inc edx
dec esi
sub ecx, 0x2c
cmp edx, 3
jl 0x411d40
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 8]
mov eax, dword [esi + 0x138]
xor ecx, ecx
sub eax, dword [esi + 0x134]
sar eax, 2
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
test eax, eax
jle 0x41201d
mov dword [esp + 0x34], 0xd800
mov eax, ecx
mov dword [esp + 0x2c], ecx
imul edx, eax, 0x2c
inc ecx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x134]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], edx
movzx eax, word [eax + edx + 4]
mov edx, eax
mov word [esp + 0x14], ax
cmp ax, word [esp + 0x34]
jb 0x411e1b
mov eax, 0xdfff
cmp dx, ax
ja 0x411e1b
mov eax, 0xdc00
cmp dx, ax
jae 0x411e1b
cmp ecx, dword [esp + 0x18]
jge 0x411e1b
imul eax, ecx, 0x2c
mov edx, 0x3ff
mov ecx, dword [esi + 0x134]
movzx eax, word [eax + ecx + 4]
mov word [esp + 0x16], ax
add eax, 0x2400
cmp ax, dx
ja 0x411e12
mov dword [esp + 0x10], 2
jmp 0x411e21
xor eax, eax
mov word [esp + 0x16], ax
jmp 0x411e21
mov ecx, dword [esi + 0x134]
mov edx, dword [esp + 0xc]
xor eax, eax
cmp dword [ecx + edx + 0x28], eax
je 0x411e33
mov eax, dword [ecx + edx + 0x18]
jmp 0x411e40
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x411e40
mov eax, dword [ecx + 0x3c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x134]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x411e76
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov eax, dword [esi + 0x120]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x411e88
mov eax, dword [eax + 0x3c]
jmp 0x411e8d
mov eax, 0xc
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x411ea4
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x40]
call fcn.00429320
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esi + 0x134]
xorps xmm0, xmm0
add edi, dword [esp + 0xc]
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0x20], eax
mov edx, dword [edi + 8]
add edx, dword [ebp + 0xc]
mov dword [esp + 0x90], edx
mov ecx, dword [edi + 0xc]
add ecx, dword [ebp + 0x10]
mov dword [esp + 0x94], ecx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
add eax, edx
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
add ecx, eax
cmp dword [esi + 0x178], 0
mov dword [esp + 0x9c], ecx
je 0x411f20
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x411f20
mov edx, dword [esp + 0x38]
cmp edx, eax
je 0x411f8e
mov edi, dword [esp + 8]
cmp ecx, dword [ebp + 0x18]
jg 0x412021
push 0
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x411f62
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
cmp eax, 1
jbe 0x411f75
xor ecx, ecx
cmp eax, 1
mov word [esp + 0x16], cx
mov ecx, dword [esp + 0x28]
cmovbe ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, dword [esp + 0x18]
jl 0x411d95
jmp 0x412021
mov edi, dword [esp + 8]
imul ecx, edx, 0x2c
mov dword [esp + 0x2c], 0x2e
mov dword [esp + 0x18], 3
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
jne 0x411fc6
mov eax, dword [esi + 0x134]
mov eax, dword [eax + ecx + 8]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x90], eax
add eax, 3
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x94]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
sub dword [esp + 0x18], 1
je 0x412000
mov ecx, dword [esp + 0x28]
jmp 0x411fb0
push dword [esp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x412021
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x412021
mov edi, dword [esp + 8]
push dword [esp + 0x3c]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], vtable.CXFont.0
test eax, eax
je 0x41204b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x78]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412067
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x40]
call fcn.00402560
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004a024d
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x4120f7
mov eax, dword [esi + 0x11c]
sub esp, 0x10
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x154]
add eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x120]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x158]
add eax, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [esi + 0x15c]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [esi + 0x160]
mov dword [esp + 0xac], eax
mov eax, esp
movups xmm0, xmmword [esp + 0xa0]
push edi
movups xmmword [eax], xmm0
call dword [edx + 0x2c]
mov ecx, dword [esp + 0xac]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004a024d
mov esp, ebp
pop ebp
ret 0x14