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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x4fe0a8]
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.004061c0
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x411c0f
cmp dword [esi + 0xfc], 0
jne 0x411be6
mov eax, dword [esi + 0x170]
jmp 0x411c0c
mov eax, dword [esi + 0x124]
cmp eax, 1
jne 0x411bf9
mov eax, dword [esi + 0x168]
jmp 0x411c0c
cmp eax, 2
jne 0x411c06
mov eax, dword [esi + 0x16c]
jmp 0x411c0c
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x3c], eax
cmp dword [esi + 0x128], 0
je 0x412008
lea ecx, [esp + 0x40]
call fcn.00429100
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 0x411ce2
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 0x411cde
add edx, 8
nop dword [eax]
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jae 0x411c9d
mov eax, dword [edx]
cmp eax, dword [edx + 0x2c]
jle 0x411c99
cmp ecx, 3
jg 0x411caa
mov eax, dword [esp + 0x10]
mov ecx, eax
add edx, 0x2c
cmp ecx, dword [esp + 0xc]
jb 0x411c80
jmp 0x411cde
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 0x411cd6
inc edx
dec esi
sub ecx, 0x2c
cmp edx, 3
jl 0x411cc0
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 0x411f9d
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 0x411d9b
mov eax, 0xdfff
cmp dx, ax
ja 0x411d9b
mov eax, 0xdc00
cmp dx, ax
jae 0x411d9b
cmp ecx, dword [esp + 0x18]
jge 0x411d9b
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 0x411d92
mov dword [esp + 0x10], 2
jmp 0x411da1
xor eax, eax
mov word [esp + 0x16], ax
jmp 0x411da1
mov ecx, dword [esi + 0x134]
mov edx, dword [esp + 0xc]
xor eax, eax
cmp dword [ecx + edx + 0x28], eax
je 0x411db3
mov eax, dword [ecx + edx + 0x18]
jmp 0x411dc0
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x411dc0
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 0x411df6
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 0x411e08
mov eax, dword [eax + 0x3c]
jmp 0x411e0d
mov eax, 0xc
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x411e24
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x40]
call fcn.004292a0
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 0x411ea0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x411ea0
mov edx, dword [esp + 0x38]
cmp edx, eax
je 0x411f0e
mov edi, dword [esp + 8]
cmp ecx, dword [ebp + 0x18]
jg 0x411fa1
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 0x411ee2
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
cmp eax, 1
jbe 0x411ef5
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 0x411d15
jmp 0x411fa1
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 0x411f46
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 0x411f80
mov ecx, dword [esp + 0x28]
jmp 0x411f30
push dword [esp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x411fa1
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x411fa1
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 0x411fcb
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 0x411fe7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x40]
call fcn.004024d0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x412077
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.0049d3dd
mov esp, ebp
pop ebp
ret 0x14