Function at 0x419850
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4de302
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x920
mov eax, dword [0x527030]
push ebx
push ebp
push esi
push edi
push eax
push 0
push str.NotShowAllInMenu
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x944]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x41989f
cmp eax, 1
je 0x419d95
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x527030
call fcn.004c54fc
call fcn.00415270
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x24], esi
je 0x419d95
mov ebx, 0x5e00
mov edi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ebx
test edi, edi
je 0x419d8c
mov al, byte [edi]
test al, al
je 0x419d8c
cmp al, 0x5b
jne 0x419d72
push 0x51c950
push edi
call fcn.004ad970
mov esi, eax
lea ecx, [esp + 0x138]
sub esi, edi
mov dword [esp + 0x30], eax
dec esi
inc edi
push esi
push edi
push ecx
call fcn.004adfe0
mov byte [esp + esi + 0x144], 0
add esp, 0x14
mov esi, str.Settings
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x419952
test cl, cl
je 0x41994e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x419952
add eax, 2
add esi, 2
test cl, cl
jne 0x41992e
xor eax, eax
jmp 0x419957
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419d59
mov ebp, dword [esp + 0x940]
test ebp, ebp
je 0x419afa
lea eax, [esp + 0x130]
push 0x51c7bc
push eax
call fcn.004ad970
add esp, 8
test eax, eax
je 0x419a55
push ecx
lea edx, [esp + 0x134]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004c57f5
call fcn.0041bbc0
add esp, 4
add ebx, 0xffffa200
mov ecx, ebp
push 0
push eax
push 0
lea eax, [esp + 0x13c]
push 0
push eax
push ebx
push 3
call fcn.004be754
lea ecx, [esp + 0x130]
push 0x51c94c
push ecx
mov ebx, eax
call fcn.004ad970
add esp, 8
test eax, eax
je 0x419a07
lea edi, [eax + 3]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x419a2d
mov ecx, dword [0x527030]
lea edx, [esp + 0x2c]
push ecx
push 0x104
push edx
push 0
lea eax, [esp + 0x140]
push str._GB_PageTitle
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x419d59
lea ecx, [esp + 0x2c]
push ecx
push 1
push ebx
mov ecx, ebp
call fcn.004be84f
jmp 0x419d59
mov eax, dword [esp + 0x14]
push 0
push 0xa
push 0
lea edx, [esp + 0x13c]
push 0
push edx
push eax
push 3
mov ecx, ebp
call fcn.004be754
mov ecx, dword [0x527030]
lea edx, [esp + 0x2c]
push ecx
push 0x104
mov esi, eax
push edx
push 0
lea eax, [esp + 0x140]
push str._GB_UserName
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x419af1
mov ecx, dword [0x52251c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x938], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00409be0
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
push 1
push esi
mov ecx, ebp
call fcn.004be84f
lea ecx, [esp + 0x10]
mov dword [esp + 0x938], 0xffffffff
call fcn.004c5787
inc dword [esp + 0x14]
jmp 0x419d59
mov ebp, dword [esp + 0x944]
test ebp, ebp
je 0x419d59
mov edx, dword [0x527030]
lea eax, [esp + 0x130]
push edx
push 0
push str._GB_Option
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test al, 4
jne 0x419d59
lea ecx, [esp + 0x130]
push 0x51c7bc
push ecx
call fcn.004ad970
add esp, 8
test eax, eax
jne 0x419bf6
mov eax, dword [esp + 0x20]
mov esi, 1
cmp eax, esi
je 0x419bf6
push 0x1c
call fcn.004c5dbe
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x938], esi
je 0x419b7f
mov ecx, eax
call fcn.004832a0
mov esi, eax
jmp 0x419b81
xor esi, esi
mov edx, dword [0x52790c]
lea eax, [esp + 0x130]
add edx, 0x374
push esi
push eax
mov dword [esp + 0x940], 0xffffffff
mov dword [esi + 8], edx
call fcn.004833f0
lea ecx, [esp + 0x138]
push esi
push ecx
call fcn.00483320
mov edi, dword [esp + 0x24]
add esp, 0x10
test edi, edi
mov dword [esi + 0xc], 0xa
jne 0x419bd7
mov ecx, dword [0x52790c]
push 5
push ebp
call fcn.00468b90
mov eax, dword [ebp + 4]
push esi
push ebx
lea edx, [edi + 5]
push 0x500
push edx
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
inc edi
mov dword [esp + 0x14], edi
jmp 0x419d59
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x419d59
push 0x1c
call fcn.004c5dbe
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x938], 2
je 0x419c2a
mov ecx, eax
call fcn.004832a0
mov ebp, eax
jmp 0x419c2c
xor ebp, ebp
mov ecx, dword [0x52790c]
lea edx, [esp + 0x130]
add ecx, 0x374
push ebp
push edx
mov dword [esp + 0x940], 0xffffffff
mov dword [ebp + 8], ecx
call fcn.004833f0
lea eax, [esp + 0x138]
push 0x51c94c
push eax
call fcn.004ad970
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x419c95
lea edi, [ebx + 3]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x419cbb
mov ecx, dword [0x527030]
lea edx, [esp + 0x2c]
push ecx
push 0x104
push edx
push 0
lea eax, [esp + 0x140]
push str._GB_PageTitle
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x2c]
test al, al
lea eax, [esp + 0x2c]
jne 0x419cce
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x1c]
call fcn.004c57f5
lea ecx, [esp + 0x18]
mov dword [esp + 0x938], 3
push ecx
mov ecx, dword [0x52790c]
call fcn.0047b5e0
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.00483320
add esp, 8
test ebx, ebx
je 0x419d08
mov byte [ebx], 0
push 1
push ecx
lea eax, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004c57f5
call fcn.0041b8e0
mov edx, dword [esp + 0x94c]
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
push ebp
push ecx
push 0x100
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x18]
mov dword [esp + 0x938], 0xffffffff
call fcn.004c5787
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x1c], ebx
lea edi, [ecx + 3]
jmp 0x4198d9
push 0x51c3b0
push edi
call fcn.004ad970
add esp, 8
test eax, eax
je 0x419d8c
lea edi, [eax + 2]
jmp 0x4198d9
push esi
call fcn.004ae1ee
add esp, 4
mov ecx, dword [esp + 0x930]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x92c
ret