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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44c9be
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45e200]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x45e200]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor esi, esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], eax
mov dword [edi + 0x64], esi
cmp dword [edi + 0x7c], esi
jne 0x41ec6e
xor eax, eax
jmp 0x41f3e7
mov eax, dword [edi + 0x178]
cmp eax, esi
je 0x41ec85
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x178], esi
mov esi, dword [edi + 0x74]
sub esi, dword [edi + 0x6c]
mov ebx, dword [edi + 0x70]
sub ebx, dword [edi + 0x68]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
push esi
add eax, 8
push ebx
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [edi + 0x174]
push eax
push edx
mov dword [edi + 0x178], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x174]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0xb8], 0
cmp dword [edi + 0x28], 0
je 0x41ed0c
push esi
push ebx
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea esi, [edi + 8]
call fcn.00411620
mov esi, dword [esp + 0x24]
mov ecx, dword [edi + 0x170]
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], dx
mov byte [esp + 0xb8], 1
mov ecx, dword [edi + 0x18c]
sub ecx, dword [edi + 0x188]
mov dword [esp + 0x18], eax
sar ecx, 2
test ecx, ecx
jbe 0x41f30d
jmp 0x41ed60
mov edx, dword [edi + 0x18c]
sub edx, dword [edi + 0x188]
sar edx, 2
cmp eax, edx
jb 0x41ed78
call fcn.00432beb
mov ecx, dword [edi + 0x188]
mov eax, dword [esp + 0x18]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
jge 0x41f2e5
mov dword [esp + 0x14], 0
cmp dword [edi + 0x16c], eax
jne 0x41edd4
cmp dword [edi + 0xc0], 0
je 0x41edd4
mov edx, dword [edi + 0x150]
mov eax, dword [edi + 0x14c]
push 1
push edx
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
lea edx, [edi + 0xa0]
push edx
xor eax, eax
call fcn.00411400
cmp dword [ebx + 4], 0
je 0x41ee08
cmp dword [edi + 0x128], 0
je 0x41ee08
mov eax, dword [edi + 0x134]
mov ecx, dword [edi + 0x130]
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
lea esi, [edi + 0x108]
call fcn.00411620
cmp dword [ebx + 0xc4], 0
je 0x41ee4d
mov edx, dword [edi + 0x158]
mov ecx, dword [edi + 0x154]
mov eax, dword [esp + 0x1c]
push 1
push edx
push ecx
add eax, 0xa
push eax
mov eax, dword [edi + 0x14c]
sub eax, ecx
lea ecx, [esp + 0x38]
push ecx
lea edx, [ebx + 0xa4]
sub eax, 0x14
push edx
mov dword [esp + 0x2c], 1
call fcn.00411400
cmp dword [edi + 0x13c], 0
je 0x41efc6
cmp dword [ebx + 0x1c], 0
je 0x41efc6
lea eax, [esp + 0x30]
push eax
push 0
push 0
mov dword [esp + 0x3c], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x34], eax
mov byte [esp + 0xb8], 2
mov ecx, dword [esp + 0x30]
push 0
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x41ee9a
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x41eeae
mov dword [esp + 0x34], eax
cmp dword [esp + 0x14], 0
fld dword [0x456818]
fstp dword [esp + 0x58]
jne 0x41eee4
mov eax, dword [esp + 0x1c]
add eax, 0xa
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x5c]
fild dword [edi + 0x15c]
fstp dword [esp + 0x60]
fild dword [edi + 0x160]
jmp 0x41ef26
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x15c]
sub edx, dword [edi + 0x154]
add ecx, 0xa
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x160]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov eax, ecx
cdq
fstp dword [esp + 0x5c]
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x14], eax
fstp dword [esp + 0x60]
fild dword [esp + 0x14]
cmp dword [ebx + 0x20], 0x10
fstp dword [esp + 0x64]
jb 0x41ef35
mov ebx, dword [ebx + 0xc]
jmp 0x41ef38
add ebx, 0xc
lea eax, [esp + 0x8c]
push eax
call fcn.004248a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
add esp, 4
cmp dword [edi + 0x16c], ecx
jne 0x41ef74
cmp dword [esp + 0xa4], 8
jae 0x41ef6c
lea eax, [esp + 0x90]
mov edi, dword [edi + 0x148]
jmp 0x41ef8b
cmp dword [esp + 0xa4], 8
jae 0x41ef85
lea eax, [esp + 0x90]
mov edi, dword [edi + 0x13c]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x34]
call fcn.0041ad10
mov byte [esp + 0xb8], 1
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
cmp dword [edi + 0x144], 0
je 0x41f118
cmp dword [ebx + 0x54], 0
je 0x41f118
lea eax, [esp + 0x3c]
push eax
push 0
push 0
mov dword [esp + 0x48], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x40], eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x3c]
push 0
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x41f013
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x3c]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x41f027
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x158]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 0xa]
mov eax, dword [edi + 0x160]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x58], 0x10
fstp dword [esp + 0x54]
fild dword [edi + 0x15c]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [0x456818]
fstp dword [esp + 0x6c]
fld dword [esp + 0x54]
fstp dword [esp + 0x70]
fld dword [esp + 0x20]
fstp dword [esp + 0x74]
fld dword [esp + 0x14]
fstp dword [esp + 0x78]
jb 0x41f08f
mov ebx, dword [ebx + 0x44]
jmp 0x41f092
add ebx, 0x44
lea eax, [esp + 0x8c]
push eax
call fcn.004248a0
mov edx, dword [esp + 0x94]
add esp, 4
cmp dword [esp + 0xa4], 8
jae 0x41f0ba
lea edx, [esp + 0x90]
mov eax, dword [edi + 0x144]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x41f0cf
mov ecx, dword [ecx + 4]
jmp 0x41f0d1
xor ecx, ecx
test eax, eax
je 0x41f0d9
mov eax, dword [eax]
jmp 0x41f0db
xor eax, eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xb0]
push eax
push edx
push ecx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x41f102
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb8], 1
mov edx, dword [esp + 0x3c]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ebx, dword [esp + 0x38]
cmp dword [edi + 0x140], 0
je 0x41f28b
cmp dword [ebx + 0x38], 0
je 0x41f28b
lea eax, [esp + 0x44]
push eax
push 0
push 0
mov dword [esp + 0x50], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x48], eax
mov byte [esp + 0xb8], 4
mov ecx, dword [esp + 0x44]
push 0
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x41f165
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x44]
push 1
push edx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x41f179
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x14c]
sub eax, dword [edi + 0x154]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x158]
sub eax, 0x14
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea eax, [ecx + edx + 0xa]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x160]
fstp dword [esp + 0x54]
cdq
fild dword [esp + 0x20]
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x3c], 0x10
fstp dword [esp + 0x38]
mov dword [esp + 0x20], eax
fild dword [edi + 0x15c]
fstp dword [esp + 0x14]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x54]
fstp dword [esp + 0x7c]
fld dword [esp + 0x38]
fstp dword [esp + 0x80]
fld dword [esp + 0x14]
fstp dword [esp + 0x84]
fld dword [esp + 0x20]
fstp dword [esp + 0x88]
jb 0x41f203
mov ebx, dword [ebx + 0x28]
jmp 0x41f206
add ebx, 0x28
lea ecx, [esp + 0x8c]
push ecx
call fcn.004248a0
mov edx, dword [esp + 0x94]
add esp, 4
cmp dword [esp + 0xa4], 8
jae 0x41f22e
lea edx, [esp + 0x90]
mov eax, dword [edi + 0x140]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x41f243
mov ecx, dword [ecx + 4]
jmp 0x41f245
xor ecx, ecx
test eax, eax
je 0x41f24d
mov eax, dword [eax]
jmp 0x41f24f
xor eax, eax
push ecx
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xb0]
push eax
push edx
push ecx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x41f279
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb8], 1
mov edx, dword [esp + 0x44]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
cmp dword [edi + 0xf4], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x150]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x1c], edx
je 0x41f2e5
mov eax, dword [edi + 0x18c]
sub eax, dword [edi + 0x188]
sar eax, 2
dec eax
cmp dword [esp + 0x18], eax
jae 0x41f2e5
mov ecx, dword [edi + 0x100]
mov edx, dword [edi + 0x14c]
mov eax, dword [esp + 0x1c]
push 1
push ecx
push edx
dec eax
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [edi + 0xd4]
push edx
xor eax, eax
call fcn.00411400
mov ecx, dword [edi + 0x18c]
sub ecx, dword [edi + 0x188]
mov eax, dword [esp + 0x18]
inc eax
sar ecx, 2
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x41ed60
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push ecx
mov dword [esp + 0x2c], 0
call sub.gdiplus.dll_GdipGetDC
test eax, eax
je 0x41f331
mov edx, dword [esp + 0x50]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0xff
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x54]
push ecx
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x174]
mov edx, dword [edi + 0x6c]
push eax
mov eax, dword [edi + 0x68]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push esi
push ebx
push edx
push eax
push ecx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
push edx
push eax
call sub.gdiplus.dll_GdipReleaseDC
test eax, eax
je 0x41f39e
mov dword [esi + 4], eax
cmp dword [esp + 0xa4], 8
jb 0x41f3b8
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0043279a
add esp, 4
mov eax, dword [esp + 0x28]
xor edx, edx
push eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], dx
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0043270e
mov esp, ebp
pop ebp
ret 4