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

Disassembly:
push 0xffffffffffffffff
push 0x415da7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x41b0e0]
push ebx
push ebp
push esi
push edi
push 1
mov dword [esp + 0x290], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x41dc00]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push edx
mov edi, eax
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x404967
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [0x41dc00]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x40498f
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1934]
mov dword [esp + 0x40], ecx
push edx
mov dword [esp + 0x48], ecx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x2a0]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
push ebx
push ebp
mov dword [esp + 0x2a0], ebx
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x4049fb
mov dword [esp + 0x1c], eax
push 2
push ebp
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x404a0b
mov dword [esp + 0x1c], eax
mov eax, dword [0x41dc00]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x404a2b
mov dword [edi + 8], eax
mov eax, dword [0x41dc00]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x404a4b
mov dword [edi + 8], eax
mov eax, dword [0x41dc00]
cmp eax, ebx
je 0x404a59
mov eax, dword [eax + 4]
jmp 0x404a5b
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404a76
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x158778], bl
je 0x404aba
mov ecx, dword [esi + 0x158770]
mov eax, 0x94f2095
imul ecx
mov ecx, dword [esi + 0x28]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
cmp ecx, ebx
je 0x404aa3
mov ecx, dword [ecx + 4]
jmp 0x404aa5
xor ecx, ecx
push 0x14
push 0x37
push ebx
push eax
push ecx
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404aba
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x22bc], bl
je 0x404ae9
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x404ace
mov eax, dword [eax + 4]
jmp 0x404ad0
xor eax, eax
push 0x14
push 0x37
push ebx
push 0xdc
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404ae9
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x22bc], bl
mov edi, 4
jne 0x404b3f
cmp word [esi + 0x15876e], 0x63
je 0x404b44
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x404b0c
mov eax, dword [eax + 4]
jmp 0x404b0e
xor eax, eax
push 0x14
push 0x37
push ebx
push 0xdc
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404b27
mov dword [esp + 0x1c], eax
movzx ecx, word [esi + 0x15876e]
imul ecx, ecx, 0xa34
mov dword [ecx + esi + 0xd3f8], 4
mov edi, 3
cmp word [esi + 0x15876c], 0x63
je 0x404b8b
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x404b5a
mov eax, dword [eax + 4]
jmp 0x404b5c
xor eax, eax
mov edx, edi
imul edx, edx, 0x37
push 0x14
push 0x37
push ebx
push edx
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404b76
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 0x15876c]
imul eax, eax, 0xa34
mov dword [eax + esi + 0xd3f8], edi
dec edi
cmp word [esi + 0x15876a], 0x63
je 0x404bd2
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x404ba1
mov eax, dword [eax + 4]
jmp 0x404ba3
xor eax, eax
mov ecx, edi
imul ecx, ecx, 0x37
push 0x14
push 0x37
push ebx
push ecx
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404bbd
mov dword [esp + 0x1c], eax
movzx edx, word [esi + 0x15876a]
imul edx, edx, 0xa34
mov dword [edx + esi + 0xd3f8], edi
dec edi
cmp word [esi + 0x158768], 0x63
je 0x404c19
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x404be8
mov eax, dword [eax + 4]
jmp 0x404bea
xor eax, eax
mov ecx, edi
imul ecx, ecx, 0x37
push 0x14
push 0x37
push ebx
push ecx
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404c04
mov dword [esp + 0x1c], eax
movzx edx, word [esi + 0x158768]
imul edx, edx, 0xa34
mov dword [edx + esi + 0xd3f8], edi
dec edi
cmp dword [esi + 0x1597cc], ebx
je 0x404d6e
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
push str.Data_
lea eax, [esi + 0x1938]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x2a4], 1
call fcn.004024f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2a4], 2
call fcn.00402080
cmp dword [esp + 0x6c], 0x10
mov byte [esp + 0x298], 1
jb 0x404c8d
mov edx, dword [esp + 0x58]
push edx
call fcn.0040c1b1
add esp, 4
lea edx, [esi + 0x14bb58]
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404ca0
sub eax, dword [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00402260
push 4
push str..png
lea ecx, [esp + 0x78]
call fcn.00402260
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x404cd8
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x84]
push pe_nt_image_headers32
lea edx, [esp + 0x90]
push edx
inc ecx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x2c], 0x4172bc
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov edx, dword [esp + 0x28]
mov ecx, edi
imul ecx, ecx, 0x37
push 0x14
push 0x37
push ebx
push ecx
push edx
push ebp
mov dword [esp + 0x44], eax
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x404d37
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x14c188], edi
push eax
dec edi
mov dword [esp + 0x28], 0x4172bc
call sub.gdiplus.dll_GdipDisposeImage
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0x298], bl
jb 0x404d6e
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0040c1b1
add esp, 4
cmp edi, 2
jge 0x404ed3
cmp dword [esi + 0x24c8], ebx
jle 0x404ed3
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
push str.Data_
lea edx, [esi + 0x1938]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x2a4], 3
call fcn.004024f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2a4], 4
call fcn.00402080
cmp dword [esp + 0x6c], 0x10
mov byte [esp + 0x298], 3
jb 0x404deb
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040c1b1
add esp, 4
mov edx, dword [esi + 0x24c4]
imul edx, edx, 0xa34
lea edx, [edx + esi + 0x14bb58]
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404e07
sub eax, dword [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00402260
push 4
push str..png
lea ecx, [esp + 0x78]
call fcn.00402260
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x404e3f
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x84]
push pe_nt_image_headers32
lea edx, [esp + 0x90]
push edx
inc ecx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x2c], 0x4172bc
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov edx, dword [esp + 0x28]
mov ecx, edi
imul ecx, ecx, 0x37
push 0x14
push 0x37
push ebx
push ecx
push edx
push ebp
mov dword [esp + 0x44], eax
call sub.gdiplus.dll_GdipDrawImageRectI
mov eax, dword [esi + 0x24c4]
imul eax, eax, 0xa34
mov dword [eax + esi + 0x14c188], edi
mov ecx, dword [esp + 0x28]
push ecx
dec edi
mov dword [esp + 0x28], 0x4172bc
call sub.gdiplus.dll_GdipDisposeImage
cmp dword [esp + 0x88], 0x10
jb 0x404ed3
mov edx, dword [esp + 0x74]
push edx
call fcn.0040c1b1
add esp, 4
cmp byte [esi + 0x158778], bl
mov dword [esi + 0x15877c], edi
je 0x404f19
mov ecx, dword [esi + 0x158770]
mov eax, 0x94f2095
imul ecx
mov ecx, dword [esi + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
add eax, 0x2d
cmp ecx, ebx
je 0x404f09
mov ecx, dword [ecx + 4]
jmp 0x404f0b
xor ecx, ecx
push 8
push 8
push 1
push eax
push ecx
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
lea ecx, [esp + 0x14]
push ecx
push ebp
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetDC
mov edi, dword [esp + 0x14]
push 2
lea edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x2b0]
push edi
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x1934]
lea edx, [esp + 0x54]
push edx
push eax
push ecx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0xff
mov byte [esp + 0x47], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push edi
push ebp
call sub.gdiplus.dll_GdipReleaseDC
push ebp
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x280]
pop ebx
call fcn.0040c0d7
add esp, 0x28c
ret 4