Function at 0x426aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8f40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e88d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00472af8
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004809cd
mov ebx, eax
test ebx, ebx
je 0x426b87
call fcn.0047b116
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426b0a
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x65
mov dword [esp + 0x44], 0
call fcn.0047babf
test eax, eax
je 0x426b3d
push 0x65
push eax
lea ecx, [esp + 0x20]
call fcn.004053d0
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
je 0x426b63
mov ecx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push ecx
call ebp
mov edx, dword [ebx + 4]
push esi
push 0x10
push 0
push edx
call ebp
lea eax, [esi - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call ebx
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x20]
push eax
push 0
push 0x80
push edx
call ebx
lea esi, [edi + 0x5b4]
mov ecx, esi
call fcn.00480acb
test eax, eax
je 0x426bc3
mov eax, dword [eax + 0x20]
push eax
lea ecx, [edi + 0x78]
call fcn.00476616
mov eax, dword [edi + 0x5d4]
push 0x20
push 0
push 0x1036
push eax
call ebx
mov edx, dword [edi + 0x5d4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffffffffffffff
push 0x8c
push 0
push str.Hotkey
push 0
mov ecx, esi
call fcn.0047b4d9
push 0xffffffffffffffff
push 0xf6
push 0
push str.Script_File
push 1
mov ecx, esi
call fcn.0047b4d9
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0xffffffffffffffff
sub eax, 0x182
push eax
push 0
push str.Status
push 2
mov ecx, esi
call fcn.0047b4d9
lea esi, [edi + 0x560]
mov ecx, esi
call fcn.00435900
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
push esi
mov ecx, edi
call eax
mov ebp, vtable.CBitmap.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebp
push 0
push 9
push 0x19
push 0x14
lea ebx, [edi + 0x558]
push 0x14
mov ecx, ebx
mov dword [esp + 0x54], 1
call fcn.0047b93c
call fcn.0047e1b7
mov eax, dword [eax + 0xc]
push 0x85
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea ecx, [esp + 0x20]
call fcn.0047a92c
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x55c]
push 0
push ecx
push eax
call fcn.0047e1b7
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00431050
lea ecx, [esp + 0x1c]
call fcn.0047a958
push ebx
mov ecx, esi
call fcn.00436740
push 1
push 0x4ed858
mov ecx, esi
call fcn.004367d0
call fcn.0047e1b7
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
lea esi, [edi + 0xf0]
call fcn.00437bb0
test eax, eax
jne 0x426d2f
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.00402220
or eax, 0xffffffff
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
add dword [0x4f3e14], 1
je 0x426d56
mov eax, dword [edi]
mov edx, dword [eax + 0x6c]
mov ecx, edi
call edx
test eax, eax
je 0x426d56
mov eax, dword [eax + 4]
push 3
push 0x3f6
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push edi
call fcn.00428400
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.00402220
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret