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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449851
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45c020]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x40], 0
mov dword [esp + 0x30], ebx
je 0x428f2e
call fcn.004474b0
push 0x7530
mov ecx, eax
call fcn.00447750
mov ecx, dword [ebx]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetDC
test eax, eax
je 0x42899d
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x50]
cmp eax, 0xf
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
jle 0x4289b2
lea ecx, [eax - 0xf]
jmp 0x4289b4
xor ecx, ecx
mov eax, dword [edi + 0x4c]
cmp eax, 0x14
jle 0x4289c1
add eax, 0xffffffec
jmp 0x4289c3
xor eax, eax
push 0xcc0020
push 0x1e
push 0x28
push ecx
push eax
mov eax, dword [edi + 0x40]
push eax
push 0x5a
push 0x78
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
push ecx
push edx
call sub.gdiplus.dll_GdipReleaseDC
test eax, eax
je 0x4289f5
mov dword [ebx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428a12
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x428a37
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428a5c
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x428a81
mov dword [esi + 8], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 2
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push 0
push 0
push ecx
mov ecx, dword [ebx]
push edx
push 0
push 0
push eax
push ecx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x428ab8
mov dword [ebx + 4], eax
lea edx, [esp + 0x20]
push edx
push 0xff2e2220
mov dword [esp + 0x40], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x80], 0
mov edx, dword [esi + 4]
mov ebx, dword [edi + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428b0e
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x428b33
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428b58
mov dword [esi + 8], eax
sub ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
push ecx
push 0
push ebx
push eax
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x428b85
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
push 0xffffffffffffffff
push ebx
call sub.gdiplus.dll_GdipSetSolidFillColor
test eax, eax
je 0x428b95
mov dword [esp + 0x40], eax
push 0
push 0x10
call fcn.004474b0
mov ecx, eax
call fcn.00447530
push str.1000_X_1000
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x80], 1
mov eax, dword [edi + 0x44]
mov ebx, dword [sym.imp.MSVCR80.dll__itow]
push 0xa
lea edx, [esp + 0x64]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
call dword [0x44d270]
push 0x450c50
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [edi + 0x48]
push 0xa
lea edx, [esp + 0x64]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428c30
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x10]
fld dword [0x451a54]
add ecx, 3
fstp dword [esp + 0x28]
test ecx, ecx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
jge 0x428c53
fadd dword [0x451a50]
cmp dword [esp + 0x5c], 8
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
jae 0x428c66
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x30]
call fcn.0040f3a0
push str.RGB_0_0_0_
lea ecx, [esp + 0x48]
call dword [0x44d270]
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x40]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
push str.RGB_
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call dword [0x44d270]
movzx edi, byte [esp + 0x18]
push 0xa
lea eax, [esp + 0x64]
push eax
push edi
call ebx
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x450c7c
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
movzx eax, byte [esp + 0x19]
push 0xa
lea edx, [esp + 0x64]
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
add esp, 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x450c7c
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx eax, al
push 0xa
lea ecx, [esp + 0x64]
push ecx
push eax
mov dword [esp + 0x24], eax
call ebx
add esp, 0xc
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x450c80
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428d73
mov dword [esi + 8], eax
mov edx, dword [esp + 0x10]
fld dword [0x451a54]
add edx, 0xf
fstp dword [esp + 0x28]
test edx, edx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
jge 0x428d96
fadd dword [0x451a50]
cmp dword [esp + 0x5c], 8
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
jae 0x428da9
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x30]
call fcn.0040f3a0
push 0x450c84
lea ecx, [esp + 0x48]
call dword [0x44d270]
push 0x450c94
lea ecx, [esp + 0x48]
call dword [0x44d270]
push 0x10
lea edx, [esp + 0x64]
push edx
push edi
call ebx
add esp, 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x64]
push ecx
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x64]
push ecx
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov esi, dword [esp + 0x34]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428e5f
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
fld dword [0x451a54]
add eax, 0x1b
fstp dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x428e82
fadd dword [0x451a50]
cmp dword [esp + 0x5c], 8
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
jae 0x428e95
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x30]
call fcn.0040f3a0
or edi, 0xffffff00
shl edi, 8
or edi, dword [esp + 0x1c]
shl edi, 8
or edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x24]
push edi
call sub.gdiplus.dll_GdipSetSolidFillColor
test eax, eax
je 0x428ed7
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x428ef8
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
push 0xc
push 0xc
add eax, 0x1d
push eax
push 0x66
push edi
push ecx
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x428f16
mov dword [esi + 4], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044664e
mov esp, ebp
pop ebp
ret 4