Function at 0x407300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5489eb
mov eax, dword fs:[0]
push eax
mov eax, 0xfef4
call fcn.0052ebe0
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00411f58
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push str.Microsoft_Sans_Serif
push 2
push 6
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push 4
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff6
mov dword [0x5ad548], eax
call esi
push 0x559b10
push 2
push 6
push 0
push 4
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xfffffffffffffff3
mov dword [0x5ad53c], eax
call esi
push 0x559b10
push 2
push 6
push 0
push 4
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xffffffffffffffeb
mov dword [0x5ad540], eax
call esi
push 0
mov dword [0x5ad544], eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004180d5
mov edi, eax
mov dword [ebp - 0xfefc], edi
test edi, edi
je 0x407485
call fcn.0040964e
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x407404
push 0x80004005
call fcn.00401e00
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xff00], esi
push 0x65
mov dword [ebp - 4], 0
call fcn.004122c8
test eax, eax
je 0x40743a
push 0x65
push eax
lea ecx, [ebp - 0xff00]
call fcn.004029e0
mov esi, dword [ebp - 0xff00]
cmp dword [esi - 0xc], 0
je 0x407464
push 0
push 0
push 0x800
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
call edi
mov eax, dword [ebp - 0xfefc]
push esi
push 0x10
push 0
push dword [eax + 4]
call edi
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407485
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfe
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.0052f260
add esp, 0xc
lea eax, [ebp - 0x110]
push 0xff
push eax
call fcn.00404610
lea eax, [ebp - 0x110]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x4074c0
mov ecx, dword [str._themehelp.txt]
mov dword [eax], ecx
mov ecx, dword [0x559b20]
mov dword [eax + 4], ecx
mov ecx, dword [0x559b24]
mov dword [eax + 8], ecx
mov cx, word [0x559b28]
mov word [eax + 0xc], cx
mov cl, byte [0x559b2a]
mov byte [eax + 0xe], cl
lea eax, [ebp - 0x110]
push 0x559b2c
push eax
call fcn.0052e3e5
mov edi, eax
add esp, 8
test edi, edi
je 0x40758a
push 2
push 0
push edi
call fcn.0052e6fa
push edi
call fcn.0052eb0d
push 0
push 0
push edi
mov esi, eax
call fcn.0052e6fa
push edi
push esi
lea eax, [ebp - 0xfef8]
push 1
push eax
call fcn.0052e5bf
lea ecx, [ebp - 0xfef8]
add esp, 0x2c
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407550
sub ecx, edx
lea eax, [ebp - 0xfef8]
push ecx
push eax
lea ecx, [ebx + 0x210]
call fcn.004023e0
push 0x559b30
push 0x559b34
lea ecx, [ebx + 0x210]
call fcn.00407db0
push edi
call fcn.0052e2aa
add esp, 4
push 0
mov ecx, ebx
call fcn.0040ec82
push dword [ebx + 0x190]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0x190]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
push 0
push ecx
mov ecx, esp
push str.Normal_Blend_Mode
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xe
push ecx
mov ecx, esp
push str.SRC_ATOP
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x46
push ecx
mov ecx, esp
push str.SRC_ATOP_onto_greyscale_destination_only_
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x47
push ecx
mov ecx, esp
push str.SRC_ATOP_onto_colour_destination_only
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xf
push ecx
mov ecx, esp
push str.DST_ATOP
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x1d
push ecx
mov ecx, esp
push str.Multiply_Blend_onto_greyscale_destination_only
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x1c
push ecx
mov ecx, esp
push str.Multiply_Blend_onto_colour_destination_only
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x80
push ecx
mov ecx, esp
push str.Multiply_Blend_onto_colour_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x81
push ecx
mov ecx, esp
push str.Multiply_Blend_onto_greyscale_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x11
push ecx
mov ecx, esp
push str.Multiply_Blend
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x75
push ecx
mov ecx, esp
push str.Multiply_Blend_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x12
push ecx
mov ecx, esp
push str.Plus_Blend
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x76
push ecx
mov ecx, esp
push str.Plus_Blend_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x13
push ecx
mov ecx, esp
push str.Screen_Blend
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x77
push ecx
mov ecx, esp
push str.Screen_Blend_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xdb
push ecx
mov ecx, esp
push str.Screen_Blend_onto_colour_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xdc
push ecx
mov ecx, esp
push str.Screen_Blend_onto_greyscale_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x14
push ecx
mov ecx, esp
push str.Overlay_Blend
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x78
push ecx
mov ecx, esp
push str.Overlay_Blend_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xdd
push ecx
mov ecx, esp
push str.Overlay_Blend_onto_colour_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0xde
push ecx
mov ecx, esp
push str.Overlay_Blend_onto_greyscale_destination_only_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x4c
push ecx
mov ecx, esp
push str.Overlay_blend_apart_from_solid
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x15
push ecx
mov ecx, esp
push str.Darken_Blend_Mode
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x79
push ecx
mov ecx, esp
push str.Darken_Blend_Mode_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x16
push ecx
mov ecx, esp
push str.Lighten_Blend_Mode
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x7a
push ecx
mov ecx, esp
push str.Lighten_Blend_Mode_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x18
push ecx
mov ecx, esp
push str.Hard_light
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x7c
push ecx
mov ecx, esp
push str.Hard_light_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x1a
push ecx
mov ecx, esp
push str.Difference_Blend_Mode
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x7e
push ecx
mov ecx, esp
push str.Difference_Blend_Mode_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x1b
push ecx
mov ecx, esp
push str.Exclusion_Blend_Mode
call fcn.00402500
mov ecx, ebx
call fcn.00404170
push 0x7f
push ecx
mov ecx, esp
push str.Exclusion_Blend_Mode_with_automask
call fcn.00402500
mov ecx, ebx
call fcn.00404170
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret