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

Disassembly:
push 0xffffffffffffffff
push 0x46661b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482ad0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x26], 0xff
mov byte [esp + 0x27], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0041a9fd
mov esi, eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x3c], esi
call fcn.0041a44c
xor eax, eax
mov dword [esp + 0xa4], eax
cmp esi, eax
je 0x401179
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x8c]
call fcn.0041aa11
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
sub edi, dword [esp + 0x58]
sub ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.CBitmap.0
push ebx
mov byte [esp + 0xa8], 1
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.0041accd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.0041adac
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
mov byte [esp + 0xa4], 2
mov esi, dword [ebp + 0x80]
cmp esi, dword [ebp + 0x84]
jbe 0x401226
call fcn.0044aa49
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x30], eax
add esi, 0x10
mov ecx, dword [ebp + 0x84]
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0x80], ecx
jbe 0x40124b
call fcn.0044aa49
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x74]
test eax, eax
je 0x401256
cmp eax, ecx
je 0x40125f
call fcn.0044aa49
mov eax, dword [esp + 0x30]
lea ecx, [esi - 0x10]
cmp ecx, dword [esp + 0x14]
je 0x4013e1
test eax, eax
jne 0x4013cf
call fcn.0044aa49
xor eax, eax
lea ecx, [esi - 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x401288
call fcn.0044aa49
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
call fcn.00401870
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
lea edi, [eax + 4]
push edx
call fcn.004141e0
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4012b7
cmp edi, eax
je 0x4012bc
call fcn.0044aa49
cmp dword [esp + 0x2c], ebx
je 0x40139f
test edi, edi
jne 0x4013d6
call fcn.0044aa49
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x18]
jne 0x4012e1
call fcn.0044aa49
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40139f
fild dword [esi - 0xc]
mov edx, dword [esi - 4]
sub edx, dword [esi - 0xc]
mov ecx, dword [esi]
fstp dword [esp + 0x48]
sub ecx, dword [esi - 8]
fild dword [esi - 8]
mov dword [esp + 0x14], edx
push 0
mov edx, dword [eax + 4]
fstp dword [esp + 0x50]
push 0
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0
push 2
fstp dword [esp + 0x24]
sub esp, 0x20
fld dword [esp + 0x44]
mov dword [esp + 0x44], ecx
fst dword [esp + 0x80]
fild dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x84]
fstp dword [esp + 0x44]
fstp dword [esp + 0x70]
fld dword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawImageRectRect
test eax, eax
je 0x40139f
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4013dd
call fcn.0044aa49
xor eax, eax
lea ecx, [esi - 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x4013bb
call fcn.0044aa49
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
add esi, 0x18
jmp 0x401230
mov eax, dword [eax]
jmp 0x40127b
mov edi, dword [edi]
jmp 0x4012d3
mov eax, dword [eax]
jmp 0x4013ae
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x20]
push 0xffffffffffffffec
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 0x20]
or eax, reloc.USER32.dll_InflateRect
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 4]
push 2
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x94]
push 0
lea ecx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00403210
lea ecx, [esp + 0x88]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0041aa7a
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4