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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c2fb4
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, ecx
cmp dword [ebx + 0x6c], 4
push esi
push edi
jne 0x41bdf8
xor edx, edx
cmp dword [ebx + 0x70], edx
je 0x41bcf3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor ecx, ecx
cmp dword [ebx + 0x74], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x78]
add ecx, eax
mov dword [esp + 0x50], ecx
xor edx, edx
jmp 0x41bd0d
cmp dword [ebx + 0x74], edx
je 0x41bd06
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
sub eax, dword [ebx + 0x78]
mov dword [esp + 0x50], eax
jmp 0x41bd10
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x50], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x88], edx
je 0x41bd40
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x8c], edx
mov esi, dword [ebp + 0xc]
sete cl
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x90]
add ecx, eax
mov edi, ecx
xor edx, edx
jmp 0x41bd58
cmp dword [ebx + 0x8c], edx
je 0x41bd52
mov edi, dword [esi]
sub edi, dword [ebx + 0x90]
jmp 0x41bd58
mov edi, dword [ebx + 0x90]
cmp dword [ebx + 0x7c], edx
je 0x41bd84
mov eax, dword [esi + 4]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [ebx + 0x80], edx
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x84]
add ecx, eax
xor edx, edx
jmp 0x41bd9d
cmp dword [ebx + 0x80], edx
je 0x41bd97
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x84]
jmp 0x41bd9d
mov ecx, dword [ebx + 0x84]
cmp dword [ebx + 0x94], edx
je 0x41bdcf
xor eax, eax
cmp dword [ebx + 0x98], edx
sete al
lea eax, [eax + eax - 1]
imul eax, dword [ebx + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, edx
jmp 0x41bde8
cmp dword [ebx + 0x98], edx
je 0x41bde2
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0x9c]
jmp 0x41bde8
mov eax, dword [ebx + 0x9c]
sub edi, dword [esp + 0x50]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x41c178
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x18], eax
and dword [esp + 0x6c], 0
and dword [esp + 0x10], 0
mov byte [esp + 0x6c], 1
push dword [ebx + 0x4c]
lea esi, [ebx + 0x14]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00418b4f
pop ecx
push dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov dword [esp + 0x10], eax
je 0x41be5e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, dword [esp + 0x50]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
push 0
mov esi, ebx
call fcn.0041c18e
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41be92
mov esi, dword [esi + 8]
test esi, esi
je 0x41be92
push esi
call fcn.0042a435
mov esi, eax
test esi, esi
pop ecx
je 0x41be92
push 0
call fcn.0041c18e
test eax, eax
mov dword [esp + 0x14], eax
je 0x41be6f
mov eax, dword [ebx + 0x34]
and eax, 1
cmp al, 1
jne 0x41bef8
cmp word [edi + 0x2e], 0
je 0x41beb0
push ebx
call fcn.00410bf7
push eax
movzx eax, word [edi + 0x2e]
jmp 0x41beec
mov esi, ebx
mov esi, dword [esi + 8]
test esi, esi
je 0x41bef8
push esi
call fcn.0042a435
mov esi, eax
test esi, esi
pop ecx
je 0x41bef8
push dword [esi + 0x4c]
call fcn.00418b4f
cmp word [eax + 0x2e], 0
pop ecx
je 0x41beb2
push dword [esi + 0x4c]
call fcn.00418b4f
pop ecx
push ebx
mov esi, eax
call fcn.00410bf7
push eax
movzx eax, word [esi + 0x2e]
push eax
call fcn.00413701
pop ecx
mov dword [esp + 0x18], eax
pop ecx
cmp dword [esp + 0x14], 0
jne 0x41bf13
push ebx
call fcn.00410bf7
push eax
push 0
call fcn.00413701
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x38]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x20]
and eax, 0xfffffff0
test al, 0x10
je 0x41bf4e
mov dword [esp + 0x5c], 0x7fff
mov ecx, dword [ebx + 0x28]
xor esi, esi
cmp dword [ecx - 0xc], esi
je 0x41c115
cmp dword [edi + 0x54], esi
je 0x41c0f8
lea eax, [esp + 0x38]
push eax
push esi
push esi
mov dword [esp + 0x44], esi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x3c], eax
push dword [esp + 0x10]
lea esi, [esp + 0x4c]
call fcn.0042a15f
mov byte [esp + 0x6c], 3
push dword [esp + 0x14]
lea eax, [esp + 0x18]
push dword [esp + 0x14]
push eax
call fcn.00419457
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push dword [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
fild dword [esp + 0x20]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x44]
fild dword [esp + 0x20]
fstp dword [esp + 0x48]
call fcn.0042a435
pop ecx
mov ecx, eax
xor esi, esi
cmp ecx, esi
je 0x41c01c
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00428937
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
fild dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
fstp dword [esp + 0x40]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x44]
push esi
push dword [esp + 0x3c]
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, esi
je 0x41c02e
mov dword [esp + 0x3c], eax
mov ebx, dword [ebx + 0x28]
fldz
push dword [ebx - 0xc]
fst dword [esp + 0x30]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x2c]
push ebx
lea eax, [esp + 0x50]
push eax
lea edi, [esp + 0x34]
lea ecx, [esp + 0x44]
lea eax, [esp + 0x4c]
call fcn.00418fac
fld dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.004a7e10
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x41c087
fld dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fld dword [esp + 0x2c]
call fcn.004a7e10
mov dword [esp + 0x1c], eax
fisub dword [esp + 0x1c]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x41c0b1
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
jmp 0x41c0b3
fstp st(0)
fild dword [esp + 0x50]
fadd dword [esp + 0x28]
call fcn.004a7e10
fild dword [esp + 0x54]
mov dword [esp + 0x58], eax
fadd dword [esp + 0x2c]
call fcn.004a7e10
lea edi, [esp + 0x14]
mov dword [esp + 0x5c], eax
call fcn.004191f5
push dword [esp + 0x48]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [esp + 0x38]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edi, dword [esp + 0x20]
xor esi, esi
jmp 0x41c125
or eax, 0x400
push eax
lea eax, [esp + 0x54]
push eax
mov ebx, ecx
push dword [ebx - 0xc]
push ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x41c125
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x34]
push dword [esp + 0x24]
add eax, eax
push dword [esp + 0x14]
mov ecx, eax
sub ecx, dword [esp + 0x58]
mov eax, dword [ebp + 0xc]
add ecx, dword [esp + 0x60]
mov dword [eax], ecx
mov ecx, dword [edi + 0x38]
add ecx, ecx
sub ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x10], esi
je 0x41c178
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8