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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x64]
push ecx
xor esi, esi
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
jne 0x41e3ff
mov eax, dword [ebp + 8]
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x4a4aac]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push 0x498778
push 0x7e
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x41df85
mov ecx, esi
call fcn.0041de10
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, edi
jne 0x41dfbf
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x41dfb7
lea eax, [esp + 0xc]
push eax
push str.shadow_window.png
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x14], edi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
jmp 0x41dfb9
xor esi, esi
mov dword [esp + 0xc], esi
mov ebx, esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
sub edx, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
push 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x41e02e
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, edi
je 0x41dff9
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push edi
push edx
push edi
push eax
push ecx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esp + 0x14], esi
jmp 0x41e032
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x18], 0xff000000
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x41e053
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x38], edi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x41e06c
mov dword [ebx + 8], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [edx - 0x32]
mov dword [esp + 0x18], eax
lea eax, [ecx - 0x32]
mov dword [esp + 0x24], eax
test edx, edx
jle 0x41e116
xor esi, esi
test ecx, ecx
jle 0x41e10d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
sub ecx, edx
add ecx, edi
add eax, esi
cmp edi, 0x32
jge 0x41e1d7
cmp esi, 0x28
jl 0x41e0be
mov edx, dword [esp + 0x24]
cmp esi, edx
jl 0x41e1db
jmp 0x41e0c0
mov eax, esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x54]
push ecx
push eax
push edi
push edx
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
je 0x41e0d9
mov dword [ebx + 8], eax
jmp 0x41e0e1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
push ecx
push esi
push edi
push edx
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x41e0fc
mov dword [ebx + 8], eax
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc esi
cmp esi, ecx
jl 0x41e090
inc edi
cmp edi, edx
jl 0x41e08a
xor eax, eax
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov ecx, 1
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x6c], edx
mov word [esp + 0x74], cx
lea ecx, [esp + 0x60]
push ecx
mov edx, 0x20
mov word [esp + 0x7a], dx
push eax
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x84], eax
push eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x88], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
push 0
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x41e2ca
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x41e2cc
test esi, esi
je 0x41e2cc
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
jmp 0x41e2d4
mov edx, dword [esp + 0x24]
cmp edi, dword [esp + 0x18]
jl 0x41e1ea
cmp esi, 0x28
jl 0x41e20b
cmp esi, edx
jge 0x41e20d
cmp esi, 0x28
jl 0x41e256
cmp esi, edx
jge 0x41e258
cmp edi, 0x32
jl 0x41e2a2
cmp edi, dword [esp + 0x18]
jl 0x41e100
jmp 0x41e2a4
mov eax, esi
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
je 0x41e226
mov dword [ebx + 8], eax
jmp 0x41e22e
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push edx
push esi
push edi
push ecx
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x41e100
mov edx, dword [esp + 0x14]
mov dword [edx + 8], eax
jmp 0x41e100
mov eax, esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x4c]
push ecx
push eax
push 0x33
push edx
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
je 0x41e272
mov dword [ebx + 8], eax
jmp 0x41e27a
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
push esi
push edi
push eax
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x41e100
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], eax
jmp 0x41e100
mov ecx, edi
mov eax, dword [ebx + 4]
lea edx, [esp + 0x28]
push edx
push 0x29
push ecx
push eax
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
je 0x41e2c1
mov dword [ebx + 8], eax
jmp 0x41e22e
mov ecx, dword [esp + 0x28]
jmp 0x41e22a
xor edi, edi
mov dword [esp + 0x24], 0
test edi, edi
je 0x41e36c
push 8
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x41e36c
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipCreateFromHDC
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esi], ecx
je 0x41e37c
fld1
push ecx
mov edx, ecx
fstp dword [esp]
push edx
call sub.gdiplus.dll_GdipSetPageScale
test eax, eax
je 0x41e325
mov dword [esi + 4], eax
mov eax, dword [esi]
push 2
push eax
call sub.gdiplus.dll_GdipSetPageUnit
test eax, eax
je 0x41e336
mov dword [esi + 4], eax
mov ecx, dword [esi]
push 3
push ecx
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x41e347
mov dword [esi + 4], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esi]
push 0
push 0
push edx
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x41e36c
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e37c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x5c]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
test ebx, ebx
je 0x41e408
test edi, edi
je 0x41e408
push 2
lea edx, [esp + 0x10]
push edx
push 0xffffff
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x5c]
push edx
push ebx
push eax
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0xff
mov byte [esp + 0x33], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41e3e2
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 8]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret