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

Disassembly:
push 0xffffffffffffffff
push 0x44c4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 0x80]
xor esi, esi
cmp eax, esi
je 0x40e03c
cmp eax, 2
jne 0x40e048
mov edi, dword [esp + 0x6c]
push edi
call fcn.0041cea3
jmp 0x40e04c
mov edi, dword [esp + 0x6c]
cmp dword [ebp + 0x80], 1
jne 0x40e0b5
push edi
call fcn.0041cea3
mov ebx, eax
cmp ebx, esi
je 0x40e0b5
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x88]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
call fcn.0041d2ea
cmp eax, esi
jne 0x40e091
xor eax, eax
jmp 0x40e094
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 4]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00410ed0
lea edx, [esp + 0x68]
push edx
push edi
mov dword [esp + 0x70], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x60], esi
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x4c]
mov eax, dword [ebp + 0xe8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
je 0x40e11a
cmp dword [ebp + 0xe4], 0
jne 0x40e440
xor ebx, ebx
test eax, eax
je 0x40e17c
cmp dword [ebp + 0xe4], ebx
jne 0x40e17c
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
test ebx, ebx
je 0x40e169
lea edx, [esp + 0x70]
push edx
push 0
push 0x26200a
push 0
push edi
push esi
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x88], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 4], eax
mov edi, ebx
jmp 0x40e16b
xor edi, edi
mov dword [ebp + 0xe4], edi
call fcn.00411170
mov edi, dword [esp + 0x44]
mov ebx, eax
cmp dword [ebp + 0xe0], 0
je 0x40e1e7
mov eax, dword [ebp + 0xdc]
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x78], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
push edi
push esi
push 0
push 0
push eax
push edx
mov dword [esp + 0x40], eax
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x40e1bf
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x40e1dd
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx]
push edi
push esi
push 0
push 0
push eax
push ecx
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x40e1dd
mov dword [ebx + 4], eax
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
cmp dword [ebp + 0x8c], 0
je 0x40e412
test esi, esi
jle 0x40e412
test edi, edi
jle 0x40e412
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateImageAttributes
mov ecx, dword [esp + 0x14]
push 0
push 0xff000000
push 3
push ecx
mov dword [esp + 0x28], eax
call sub.gdiplus.dll_GdipSetImageAttributesWrapMode
test eax, eax
je 0x40e235
mov dword [esp + 0x18], eax
cmp dword [ebp + 0xd8], 0
mov esi, dword [ebp + 0x8c]
je 0x40e39e
call fcn.00405d60
mov esi, dword [ebp + 0x8c]
mov dword [esp + 0x68], eax
call fcn.00405d90
fild dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov esi, dword [ebp + 0x8c]
fidiv dword [esp + 0x70]
fild dword [esp + 0x40]
fidiv dword [esp + 0x44]
fst qword [esp + 0x24]
fsubrp st(1)
fcomp qword [0x4551c8]
fnstsw ax
test ah, 0x41
jne 0x40e318
call fcn.00405d60
mov esi, dword [ebp + 0x8c]
mov dword [esp + 0x68], eax
call fcn.00405d60
test eax, eax
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
jge 0x40e2b3
fadd qword [0x4551b8]
fdiv qword [esp + 0x24]
call fcn.00435070
mov edx, dword [esp + 0x68]
mov esi, dword [ebp + 0x8c]
mov edi, eax
push edi
push edx
mov dword [esp + 0x78], edi
call fcn.00405d90
sub eax, edi
mov edi, dword [ebp + 0x8c]
shr eax, 1
push eax
push 0
lea ecx, [esp + 0x24]
lea eax, [esp + 0x48]
lea esi, [esp + 0x2c]
call fcn.004111b0
test ebx, ebx
je 0x40e400
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 0x8c]
push edi
push eax
call fcn.00405d90
sub eax, edi
shr eax, 1
push eax
jmp 0x40e3e9
call fcn.00405d90
test eax, eax
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
jge 0x40e32f
fadd qword [0x4551b8]
fmul qword [esp + 0x24]
call fcn.00435070
mov esi, dword [ebp + 0x8c]
mov edi, eax
mov dword [esp + 0x68], edi
call fcn.00405d90
mov esi, dword [ebp + 0x8c]
push eax
push edi
push 0
mov dword [esp + 0x7c], eax
call fcn.00405d60
sub eax, edi
mov edi, dword [ebp + 0x8c]
shr eax, 1
push eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x48]
lea esi, [esp + 0x2c]
call fcn.004111b0
test ebx, ebx
je 0x40e400
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov esi, dword [ebp + 0x8c]
push ecx
push edi
push 0
call fcn.00405d60
sub eax, edi
shr eax, 1
push eax
jmp 0x40e3eb
call fcn.00405d90
mov esi, dword [ebp + 0x8c]
push eax
call fcn.00405d60
mov edi, dword [ebp + 0x8c]
push eax
push 0
push 0
lea ecx, [esp + 0x24]
lea eax, [esp + 0x48]
lea esi, [esp + 0x2c]
call fcn.004111b0
test ebx, ebx
je 0x40e400
mov esi, dword [ebp + 0x8c]
call fcn.00405d90
mov esi, dword [ebp + 0x8c]
push eax
call fcn.00405d60
push eax
push 0
push 0
mov edi, dword [ebp + 0x8c]
lea ecx, [esp + 0x24]
lea eax, [esp + 0x48]
mov esi, ebx
call fcn.004111b0
mov edx, dword [esp + 0x14]
push edx
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
test ebx, ebx
je 0x40e43c
mov eax, dword [ebx]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
push ebx
call sub.gdiplus.dll_GdipFree
mov ebx, dword [ebp + 0xe4]
mov ecx, dword [ebx + 4]
push 6
push ecx
call sub.gdiplus.dll_GdipImageRotateFlip
test eax, eax
je 0x40e43c
mov dword [ebx + 8], eax
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push 0x1ffffff
mov dword [esp + 0x2c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x70], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov byte [esp + 0x60], 1
cmp dword [ebp + 0x80], 3
jne 0x40e497
cmp dword [ebp + 0xd4], 0
jne 0x40e497
push edi
push esi
push 0
push 0
push eax
push ebx
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x40e497
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x98]
xor esi, esi
test eax, eax
mov dword [esp + 0x70], eax
jle 0x40e5af
test esi, esi
jl 0x40e6ed
cmp esi, dword [ebp + 0x98]
jge 0x40e6ed
mov eax, dword [ebp + 0x94]
mov ebx, dword [eax + esi*4]
cmp dword [ebx + 0x34], 0
jne 0x40e4fb
cmp dword [ebx + 0x28], 0
je 0x40e4fb
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push edi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x74]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x40e4fb
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2c]
cmp eax, 9
ja case.0x40e507.7
jmp dword [eax*4 + 0x40e6f4]
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov eax, ebx
mov ebx, dword [esp + 0x6c]
call fcn.0040c5a0
jmp case.0x40e507.7
mov eax, dword [esp + 0x6c]
push eax
mov eax, ebx
call fcn.0040c860
jmp case.0x40e507.7
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.0040db50
jmp case.0x40e507.7
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov edx, dword [esp + 0x6c]
push edx
mov ecx, ebx
call fcn.0040db50
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov eax, dword [esp + 0x6c]
push eax
mov eax, ebx
call fcn.0040c670
jmp case.0x40e507.7
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov ecx, dword [esp + 0x6c]
push ecx
mov eax, ebx
call fcn.0040d550
jmp case.0x40e507.7
cmp dword [ebx + 0x28], 0
je case.0x40e507.7
mov edx, dword [esp + 0x6c]
push edx
call fcn.0040d700
jmp case.0x40e507.7
mov eax, dword [esp + 0x6c]
push ebx
push eax
call fcn.0040d0f0
add esi, 1
cmp esi, dword [esp + 0x70]
jl 0x40e4ab
mov ebx, dword [esp + 0x1c]
cmp dword [ebp + 0xa8], 0
je 0x40e6bc
cmp dword [ebp + 0xcc], 0
je 0x40e6bc
lea ecx, [esp + 0x70]
push ecx
push 0x643399ff
mov dword [esp + 0x78], 0
call sub.gdiplus.dll_GdipCreateSolidFill
fild dword [ebp + 0xbc]
mov edx, dword [ebp + 0xc4]
sub edx, dword [ebp + 0xbc]
mov ecx, dword [ebp + 0xc8]
fstp dword [esp + 0x38]
fild dword [ebp + 0xc0]
sub ecx, dword [ebp + 0xc0]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], edx
fstp dword [esp + 0x3c]
sub esp, 0x10
fild dword [esp + 0x84]
mov dword [esp + 0x84], ecx
mov esi, eax
fstp dword [esp + 0x50]
fild dword [esp + 0x84]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esp + 0xc]
fld dword [esp + 0x50]
fstp dword [esp + 8]
fld dword [esp + 0x4c]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fstp dword [esp]
push eax
push ebx
call sub.gdiplus.dll_GdipFillRectangle
fld1
lea edx, [esp + 0x1c]
push edx
push 0
push ecx
fstp dword [esp]
push 0xff3399ff
mov dword [esp + 0x2c], 0
call sub.gdiplus.dll_GdipCreatePen1
fld dword [esp + 0x44]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x30], eax
fld dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
fstp dword [esp + 8]
fld dword [esp + 0x4c]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fstp dword [esp]
push eax
push ebx
call sub.gdiplus.dll_GdipDrawRectangle
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeletePen
push esi
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x6c]
push edx
push ebx
call sub.gdiplus.dll_GdipReleaseDC
mov eax, dword [esp + 0x68]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
call fcn.00415e46
mov edi, edi
push cs
in eax, 64
add byte [0x330040e5], ah
in eax, 0x40
add byte [edi - 0x1b], al
inc eax
add byte [edi - 0x1b], al
inc eax
add byte [ebx], dh
in eax, 0x40
add byte [ebp - 0x1b], ch
inc eax
add byte [esi - 0x6cffbf1b], bl
in eax, 0x40
add byte [ecx - 0x33ffbf1b], al
int3