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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x5a7074]
xor eax, esp
mov dword [esp + 0xf4], eax
movups xmm0, xmmword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x24], edi
mov esi, ecx
mov dword [esp + 0x30], esi
push edi
movups xmmword [eax], xmm0
call fcn.004813c0
mov ecx, dword [esi + 0x130]
test ecx, ecx
je 0x46d93f
cmp dword [esi + 0x104], 0
jne 0x46d916
mov eax, dword [esi + 0x184]
jmp 0x46d93c
mov eax, dword [esi + 0x134]
cmp eax, 1
jne 0x46d929
mov eax, dword [esi + 0x17c]
jmp 0x46d93c
cmp eax, 2
jne 0x46d936
mov eax, dword [esi + 0x180]
jmp 0x46d93c
mov eax, dword [esi + 0x178]
mov dword [ecx + 0x40], eax
cmp dword [esi + 0x138], 0
je 0x46ddea
lea ecx, [esp + 0x30]
call fcn.004af210
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x190], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
je 0x46da62
mov ecx, dword [esi + 0x14c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x148]
imul ecx
mov dword [esp + 0xc], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46da62
xor edi, edi
xor ecx, ecx
nop
lea eax, [ecx + 1]
mov ecx, dword [esi + 0x14c]
sub ecx, dword [esi + 0x148]
mov dword [esp + 0x24], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
cmp edx, eax
jae 0x46d9f4
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx + edi + 8]
cmp eax, dword [ecx + edi + 0x38]
jle 0x46d9f4
cmp edi, 0x90
jg 0x46da22
mov ecx, dword [esi + 0x14c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x148]
add edi, 0x30
mov dword [esp + 0xc], edx
imul ecx
mov ecx, dword [esp + 0xc]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x46d9b0
jmp 0x46da5e
mov eax, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x18], eax
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, 8
add ecx, dword [esi + 0x148]
xor edi, edi
mov esi, eax
nop
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
add edi, eax
cmp edi, 9
jg 0x46da56
inc edx
dec esi
sub ecx, 0x30
cmp edx, 3
jl 0x46da40
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x14c]
sub ecx, dword [esi + 0x148]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46dd46
xor edx, edx
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x148]
xor ecx, ecx
cmp dword [edx + eax + 0x2c], ecx
je 0x46daa5
mov ecx, dword [edx + eax + 0x18]
jmp 0x46dab2
mov eax, dword [esi + 0x130]
test eax, eax
je 0x46dab2
mov ecx, dword [eax + 0x40]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x148]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + ecx + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x46dae5
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov eax, dword [esi + 0x130]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x46daf7
mov eax, dword [eax + 0x3c]
jmp 0x46dafc
mov eax, 0xc
mov edi, dword [esp + 0x6c]
cmp eax, edi
je 0x46db1f
mov edi, eax
mov dword [esp + 0x6c], edi
test ecx, ecx
je 0x46db27
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x46dbc3
push 0x5c
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.005111c0
add esp, 0xc
mov dword [esp + 0x98], edi
cmp dword [esp + 0x70], 0
mov eax, 0x190
mov edi, dword [esp + 0x68]
mov edx, 0x20
cmovne eax, dword [esp + 0x7c]
mov dword [esp + 0xa8], eax
movzx eax, byte [esp + 0x74]
mov byte [esp + 0xad], al
movzx eax, byte [esp + 0x78]
mov byte [esp + 0xac], al
lea eax, [esp + 0xb4]
mov ecx, eax
sub edi, ecx
lea ecx, [edx + 0x7fffffde]
test ecx, ecx
je 0x46dba2
movzx ecx, word [edi + eax]
test cx, cx
je 0x46dba2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x46db84
lea ecx, [eax - 2]
test edx, edx
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, eax
mov dword [esp + 0x64], ecx
push ecx
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x148]
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x1c], eax
mov edi, eax
mov ecx, dword [eax + 8]
add ecx, dword [ebp + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0xc]
add edx, dword [ebp + 0x10]
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0x10]
sub eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x88], eax
mov eax, edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add ecx, edx
cmp dword [esi + 0x190], 0
mov dword [esp + 0x8c], ecx
je 0x46dc44
cmp dword [esp + 0x18], 0xffffffff
je 0x46dc44
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x18]
je 0x46dcbc
cmp ecx, dword [ebp + 0x18]
jg 0x46dd46
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push 0
push ecx
push 1
add eax, 4
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x20]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46dc83
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x14c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x148]
inc dword [esp + 0xc]
add dword [esp + 0x10], 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc], eax
jae 0x46dd46
mov edx, dword [esp + 0x10]
jmp 0x46da91
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0x1c], 3
nop dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jne 0x46dcea
mov eax, dword [esi + 0x148]
lea ecx, [edx + edx*2]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x80], eax
add eax, 3
push 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
sub dword [esp + 0x1c], 1
je 0x46dd2b
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
jmp 0x46dcd0
push dword [esp + 0x20]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46dd46
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x2c]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], vtable.CXFont.0
test eax, eax
je 0x46dd73
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x68]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46ddc9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x46de71
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x30]
call fcn.00467a70
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x30]
call fcn.00467a70
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x130]
test ecx, ecx
je 0x46de59
mov eax, dword [esi + 0x12c]
sub esp, 0x10
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x168]
add eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x130]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x16c]
add eax, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [esi + 0x170]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [esi + 0x174]
mov dword [esp + 0x9c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x90]
push edi
movups xmmword [eax], xmm0
call dword [edx + 0x30]
mov ecx, dword [esp + 0xfc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x14
mov ecx, edx
call esi
jmp 0x46ddc9