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

Disassembly:
push 0xffffffffffffffff
push 0x51fedb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebp + 0x28]
xor ebx, ebx
cmp eax, ebx
je 0x4194d4
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0xa8], ebx
mov eax, dword [ebp + 0x6c]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x8c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x419110
mov esi, dword [ebp + 0x50]
cmp esi, ebx
je 0x41949f
jmp 0x419124
mov esi, dword [esp + 0x34]
push 1
push 0xc
push esi
call fcn.00467ae0
test eax, eax
jne 0x419146
push 0x334
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_afxtempl.h
call fcn.0045b590
test eax, eax
je 0x419146
int3
cmp dword [esp + 0x28], ebx
mov eax, dword [esi]
mov esi, dword [esi + 8]
mov dword [esp + 0x34], eax
jne 0x41915a
cmp dword [esi + 0x34], ebx
jmp 0x41915e
cmp dword [esi + 0x34], 1
je 0x419493
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.00510360
mov ecx, edi
call fcn.00510380
lea ecx, [esp + 0x2c]
push ecx
push 0x32ff0000
mov dword [esp + 0x70], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], edx
mov byte [esp + 0xa8], 2
fild dword [esi + 0x20]
lea edi, [esi + 0x20]
mov ecx, edi
fstp dword [esp + 0x74]
fild dword [esi + 0x24]
fstp dword [esp + 0x78]
call fcn.00510360
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov ecx, edi
fstp dword [esp + 0x7c]
call fcn.00510380
cmp dword [esi + 0x34], ebx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x80]
jne 0x419246
cmp dword [esi + 0x470], ebx
je 0x419246
mov eax, dword [ebp + 0x70]
push ebx
push eax
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, ebx
je 0x4191fc
mov dword [ebp + 0x74], eax
lea ebx, [ebp + 0xd8]
test ebx, ebx
je 0x419215
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041c320
fild dword [edi]
mov ecx, edi
fstp dword [esp + 0x3c]
fild dword [esi + 0x24]
fstp dword [esp + 0x40]
call fcn.00510360
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov ecx, edi
fstp dword [esp + 0x44]
call fcn.00510380
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jmp 0x41928b
mov eax, dword [ebp + 0x70]
push 3
push eax
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, ebx
je 0x419258
mov dword [ebp + 0x74], eax
fild dword [esi + 0x10]
lea edi, [esi + 0x10]
mov ecx, edi
fstp dword [esp + 0x3c]
fild dword [esi + 0x14]
fstp dword [esp + 0x40]
call fcn.00510360
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov ecx, edi
fstp dword [esp + 0x44]
call fcn.00510380
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
cmp dword [esi + 0x3c], 0
fstp dword [esp + 0x48]
jne 0x4192ae
lea ebx, [ebp + 0xd8]
test ebx, ebx
je 0x4192ae
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041c320
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x4192cc
lea ebx, [ebp + 0x90]
test ebx, ebx
je 0x4192ea
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
jmp 0x4192e5
cmp eax, 2
jne 0x4192ea
lea ebx, [ebp + 0xb4]
test ebx, ebx
je 0x4192ea
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041c320
mov ecx, dword [esi + 0x40]
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x4193c4
mov edx, dword [ebp + 0x130]
mov eax, dword [ebp + 0x120]
mov ebx, dword [esi + 0x4c]
mov ecx, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0x18], edx
cdq
sub eax, edx
mov edx, dword [ebp + 0x134]
mov edi, eax
mov eax, dword [ebp + 0x138]
add ebx, eax
lea eax, [esp + 0x38]
push eax
sar edi, 1
add edi, dword [esi + 0x48]
push ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x41934e
mov edx, dword [esp + 0x14]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x41937e
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41938a
mov eax, dword [eax + 4]
jmp 0x41938c
xor eax, eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 2
push edx
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push edx
mov edx, dword [esp + 0x44]
push ecx
push ebx
push edi
push eax
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x4193c4
mov dword [esp + 0x24], eax
lea ebx, [esi + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x419479
fild dword [esi]
mov ecx, esi
fstp dword [esp + 0x58]
fild dword [esi + 4]
fstp dword [esp + 0x5c]
call fcn.00510360
cmp dword [esi + 0x34], 0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x60]
jne 0x41940e
lea ecx, [esi + 0x20]
call fcn.00510380
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jmp 0x41941d
mov ecx, esi
call fcn.00510380
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
cmp dword [esi + 0x470], 0
fstp dword [esp + 0x64]
je 0x419479
mov edx, dword [ebp + 0x68]
push 3
mov eax, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebx
lea edi, [esp + 0x78]
mov dword [esp + 0x38], 0xb4323232
call fcn.0040ac70
mov eax, dword [esp + 0xcc]
push eax
mov eax, edi
mov ecx, esi
call fcn.00418890
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x6c], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jne 0x419120
cmp dword [esp + 0x28], ebx
jne 0x4194b2
mov dword [esp + 0x28], 1
jmp 0x419110
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0x20]
push edx
push esi
call sub.gdiplus.dll_GdipReleaseDC
mov eax, dword [esp + 0x1c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 8