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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46623e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x4a0], 0
jne 0x41fa5d
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x144]
test ecx, ecx
je 0x41fa51
call fcn.00419e60
jmp 0x41fa57
mov eax, dword [eax + 0x14c]
mov dword [ebx + 0x4a0], eax
cmp dword [ebx + 0x4a4], 0
jne 0x41fa86
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x144]
test ecx, ecx
je 0x41fa7a
call fcn.00419e30
jmp 0x41fa80
mov eax, dword [eax + 0x148]
mov dword [ebx + 0x4a4], eax
mov eax, dword [ebx + 0x154]
add eax, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x158]
mov edx, dword [ebx + 0x15c]
mov esi, dword [ebx + 0x160]
sub edx, dword [ebx + 0x4b8]
add ecx, dword [ebx + 0x4b4]
sub esi, dword [ebx + 0x4bc]
mov dword [esp + 0x40], eax
mov eax, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
call fcn.00420510
test al, al
jne 0x41fc41
mov eax, dword [ebx + 0x1b8]
cmp word [eax], 0
je 0x420256
mov edx, dword [ebx]
mov eax, dword [edx + 0xd4]
mov ecx, ebx
mov dword [esp + 0x10], 0
call eax
test al, al
je 0x41fba1
cmp byte [ebx + 0x4c0], 0
je 0x41fb58
mov ecx, dword [ebx + 0x4ac]
mov eax, dword [ebx + 0x4a0]
or ecx, 0x20
push ecx
mov ecx, dword [ebx + 0x1b8]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
mov eax, dword [ebx + 0x40]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call fcn.0042a220
add esp, 0x24
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x4ac]
mov eax, dword [ebx + 0x1b8]
mov esi, dword [ebp + 8]
or edx, 0x20
push edx
mov edx, dword [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x4a8]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [ebx + 0x4a0]
push edx
call fcn.0042a190
add esp, 0x10
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x4c0], 0
je 0x41fbf8
mov eax, dword [ebx + 0x4ac]
mov edx, dword [ebx + 0x4a4]
or eax, 0x20
push eax
mov eax, dword [ebx + 0x1b8]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edx
mov edx, dword [ebx + 0x40]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
call fcn.0042a220
add esp, 0x24
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x4ac]
mov edx, dword [ebx + 0x1b8]
mov esi, dword [ebp + 8]
or ecx, 0x20
push ecx
mov ecx, dword [ebx + 0x40]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebx + 0x4a8]
push ecx
mov ecx, dword [ebx + 0x4a4]
call fcn.0042a190
add esp, 0x10
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x4a8]
test ecx, ecx
mov eax, dword [ebx + 0x40]
jl 0x41fc63
cmp ecx, dword [eax + 0x22c]
jge 0x41fc63
mov edx, dword [eax + 0x228]
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
jmp 0x41fc6a
call fcn.00419f20
mov eax, dword [eax]
mov edi, dword [ebp + 8]
push eax
lea esi, [esp + 0x54]
call fcn.004209a0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
xor edi, edi
push eax
mov dword [esp + 0xbc], edi
push ecx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x5c0]
push ecx
push eax
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x41fcb3
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x30]
push edx
push edi
push edi
mov dword [esp + 0x3c], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x34], eax
mov byte [esp + 0xb8], 2
mov eax, dword [ebx + 0x4e0]
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x41fce8
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x4e4]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x41fd01
mov dword [esp + 0x34], eax
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x1c]
fild dword [esp + 0x44]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fild dword [esp + 0x48]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fisubr dword [esp + 0x4c]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fst dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esp + 0x10]
mov dword [esp + 0x74], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esp + 0x14]
mov dword [esp + 0x78], eax
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x18]
mov eax, ebx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
fadd dword [ebx + 0x518]
mov dword [esp + 0x80], edx
fstp dword [esp + 0x74]
fld dword [ebx + 0x51c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
call fcn.00420690
mov esi, eax
cmp esi, edi
jne 0x41fda5
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x44]
mov eax, ebx
call fcn.00420570
cmp eax, 0xffffffff
mov eax, ebx
jne 0x41fdba
call fcn.00420550
jmp 0x41fdbf
call fcn.00420570
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x10], ecx
call fcn.004205b0
movzx edx, byte [esp + 0x12]
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov eax, ebx
mov dword [esp + 0x14], edx
call fcn.00420550
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x18], ecx
call fcn.00420320
movzx edx, byte [esp + 0x1a]
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
or edx, eax
shl edx, 8
mov eax, ebx
or ecx, edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
call fcn.004205f0
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x74], edi
mov dword [esp + 0xb8], vtable.Gdiplus::LinearGradientBrush.0
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov eax, ebx
mov byte [esp + 0xb8], 3
call fcn.00420530
cmp eax, 0xffffffff
jne 0x41fe8b
mov ecx, dword [ebx + 0x4a0]
jmp 0x41fe94
mov eax, ebx
call fcn.00420530
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x1c], ecx
call fcn.004205d0
movzx edx, byte [esp + 0x1e]
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov ecx, dword [ebx + 0x4a0]
mov eax, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.00420590
movzx edx, byte [esp + 0x1a]
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
or edx, eax
shl edx, 8
mov eax, ebx
or ecx, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], esi
call fcn.004205f0
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0xac], vtable.Gdiplus::LinearGradientBrush.0
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, ebx
mov byte [esp + 0xb8], 4
call fcn.00420610
test al, al
je 0x420195
mov eax, ebx
call fcn.00420650
test eax, eax
jbe 0x420195
mov eax, ebx
call fcn.00420650
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x18], ecx
call fcn.00420630
movzx edx, byte [esp + 0x1a]
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov eax, ebx
mov dword [esp + 0x18], edx
lea esi, [esp + 0x18]
call fcn.00420650
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x14], ecx
call fcn.00420630
xor edx, edx
mov dh, al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
mov dl, byte [esp + 0x16]
mov dword [esp + 0x58], edi
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov eax, ebx
add edx, 2
mov dword [esp + 0x5c], edx
call fcn.004205f0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x64]
push ecx
mov eax, esi
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x70]
mov dword [esp + 0x6c], edi
call fcn.00420900
fld dword [esp + 0x20]
fsub qword [0x472998]
mov ecx, dword [ebx + 0x528]
mov eax, ecx
lea esi, [eax + 2]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd qword [0x4729d0]
fstp dword [esp + 0x24]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x420046
sub eax, esi
lea edx, [esp + 0x20]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x44]
call fcn.00420840
fld dword [esp + 0x20]
fadd qword [0x4729a0]
mov ecx, dword [ebx + 0x528]
mov eax, ecx
lea esi, [eax + 2]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd qword [0x4729d0]
fstp dword [esp + 0x24]
jmp 0x4200a0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4200a0
sub eax, esi
lea edx, [esp + 0x20]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x44]
call fcn.00420840
fld dword [esp + 0x20]
fld1
mov ecx, dword [ebx + 0x528]
fsub st(1), st(0)
mov eax, ecx
fxch st(1)
lea esi, [eax + 2]
fstp dword [esp + 0x20]
fsubr dword [esp + 0x24]
fstp dword [esp + 0x24]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4200f0
sub eax, esi
lea edx, [esp + 0x20]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x44]
call fcn.00420840
fld dword [esp + 0x20]
fadd qword [0x4729d0]
mov ecx, dword [ebx + 0x528]
mov eax, ecx
lea esi, [eax + 2]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd qword [0x4729a0]
fstp dword [esp + 0x24]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x420142
sub eax, esi
lea edx, [esp + 0x20]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x44]
call fcn.00420840
fld dword [esp + 0x20]
fadd qword [0x4729d0]
mov eax, dword [esp + 0x6c]
push eax
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub qword [0x472998]
fstp dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteBrush
xor edi, edi
mov eax, ebx
call fcn.00420670
test al, al
je 0x4201f2
mov eax, ebx
call fcn.00420550
test eax, eax
ja 0x4201b6
mov eax, ebx
call fcn.00420570
test eax, eax
jbe 0x4201f2
mov edx, dword [ebx + 0x528]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4201c1
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x5c]
sub eax, esi
mov esi, dword [esp + 0x44]
push ecx
sar eax, 1
push eax
push edx
push esi
call sub.gdiplus.dll_GdipDrawString
jmp 0x4201f6
mov esi, dword [esp + 0x38]
mov ebx, dword [ebx + 0x528]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420201
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
sub eax, edx
mov edx, dword [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x28]
push edx
push edi
sar eax, 1
push eax
push ebx
push esi
call sub.gdiplus.dll_GdipDrawString
mov eax, dword [esp + 0x1c]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x10]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
push edi
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4