Function at 0x10102470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183315
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101dadb0]
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
mov dword [ebp - 0x88], ebx
sub esp, 0x1c
lea eax, [ebp - 0x7d]
mov esi, esp
mov dword [ebp - 0x20], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 9
push str.btn_trash
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
mov dword [ebp - 4], 0xffffffff
push dword [ebx]
call fcn.100d4250
mov dword [ebx + 0x74], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x7d]
mov dword [ebp - 0x20], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 1
mov ecx, esi
push 8
push str.base_cos
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
mov dword [ebp - 4], 0xffffffff
push dword [ebx]
call fcn.100d4250
mov dword [ebx + 0x78], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x7d]
mov dword [ebp - 0x20], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 2
mov ecx, esi
push 0xe
push str.btn_EmblemView
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x78]
call fcn.100d4250
mov dword [ebx + 0x7c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x7d]
mov dword [ebp - 0x20], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 3
mov ecx, esi
push 0xe
push str.btn_PathosView
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x78]
call fcn.100d4250
lea edi, [ebx + 4]
mov dword [ebx + 0x80], eax
mov dword [ebp - 0x84], edi
mov ebx, edi
mov edi, dword [ebp - 0x88]
xor esi, esi
nop dword [eax]
nop word [eax + eax]
sub esp, 0x1c
mov dword [ebp - 0x1c], 0x53485530
mov dword [ebp - 0x88], esp
mov cl, 0x30
mov dword [ebp - 0x18], 0x575e5158
xor eax, eax
mov dword [ebp - 0x14], 0x541555
push esi
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xa
jae 0x101026d2
mov cl, byte [ebp - 0x1c]
jmp 0x101026c3
sub esp, 0x1c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10047670
push dword [ebp - 0x88]
call fcn.1004a7a0
add esp, 0x24
push dword [edi]
call fcn.100d4250
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x1c
jl 0x101026a0
cmp byte [0x1027c076], 0
mov edi, dword [ebp - 0x84]
jne 0x1010272e
push 0x101022d0
push 0x607b64
mov byte [0x1027c076], 1
call fcn.100020f0
mov dword [0x1027c368], eax
mov cl, 0x4f
mov dword [ebp - 0x1c], 0x3b3f004f
mov dword [ebp - 0x18], 0x61212026
xor eax, eax
mov dword [ebp - 0x14], 0x262126
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xa
jae 0x10102756
mov cl, byte [ebp - 0x1c]
jmp 0x10102747
mov edx, dword [0x1027c0b4]
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x11], 0
lea esi, [ecx + 1]
mov ebx, dword [edx + 0x388]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10102770
sub ecx, esi
mov esi, 0x7fffffff
mov eax, esi
sub eax, ebx
cmp eax, ecx
jb 0x10102a05
cmp dword [edx + 0x38c], 0x10
lea eax, [edx + 0x378]
jb 0x1010279b
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0x1b]
push ecx
push ebx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
call fcn.10049100
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov cl, 9
mov dword [ebp - 0x38], 0x6b644c09
cmovae edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x34], 0x5f646c65
mov dword [ebp - 0x30], 0x7e6c60
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xa
jae 0x101027e1
mov cl, byte [ebp - 0x38]
jmp 0x101027d2
mov byte [ebp - 0x2d], 0
mov cl, 0x6b
mov dword [ebp - 0x24], 0xd0d2e6b
xor eax, eax
mov dword [ebp - 0x20], 0x1f080e
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 6
jae 0x10102806
mov cl, byte [ebp - 0x24]
jmp 0x101027f7
push edx
push 1
lea eax, [ebp - 0x37]
mov byte [ebp - 0x1d], 0
push eax
lea eax, [ebp - 0x23]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
lea ecx, [ebp - 0x60]
sete byte [0x101db898]
call fcn.100447b0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x10102842
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10048ea0
add esp, 8
mov dword [ebp - 0x1c], 0x3073877
cmp byte [0x101db898], 0
mov cl, 0x77
mov dword [ebp - 0x18], 0x5919181e
setne al
mov dword [ebp - 0x14], 0x1e191e
inc al
mov byte [0x585e60], al
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xa
jae 0x101028a2
mov cl, byte [ebp - 0x1c]
jmp 0x10102893
mov edx, dword [0x1027c0b4]
lea ecx, [ebp - 0x1b]
lea eax, [ecx + 1]
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x84], eax
mov ebx, dword [edx + 0x388]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101028c0
sub ecx, dword [ebp - 0x84]
sub esi, ebx
cmp esi, ecx
jb 0x10102a0a
cmp dword [edx + 0x38c], 0x10
lea eax, [edx + 0x378]
jb 0x101028e8
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0x1b]
push ecx
push ebx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
call fcn.10049100
cmp dword [ebp - 0x64], 0x10
lea edx, [ebp - 0x78]
mov cl, 0x73
mov dword [ebp - 0x44], 0x7122373
cmovae edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x40], 0x25001c1b
mov dword [ebp - 0x3c], 0x4161a
nop
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xa
jae 0x1010292f
mov cl, byte [ebp - 0x44]
jmp 0x10102920
mov byte [ebp - 0x39], 0
mov cl, 0x5a
mov dword [ebp - 0x2c], 0x3c3c1f5a
xor eax, eax
mov dword [ebp - 0x28], 0x2e393f
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 6
jae 0x10102954
mov cl, byte [ebp - 0x2c]
jmp 0x10102945
push edx
push 1
lea eax, [ebp - 0x43]
mov byte [ebp - 0x25], 0
push eax
lea eax, [ebp - 0x2b]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
lea ecx, [ebp - 0x7c]
sete byte [0x101db877]
call fcn.100447b0
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x10102990
inc eax
push eax
push dword [ebp - 0x78]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call fcn.10048ea0
add esp, 8
mov ecx, 0x74
cmp byte [0x101db877], 0
mov eax, 0xeb
cmovne eax, ecx
mov byte [0x438c24], al
lea esi, [ecx - 0x58]
mov ecx, dword [edi]
test ecx, ecx
je 0x101029e1
push 0
call dword [0x101ba7a0]
add edi, 4
sub esi, 1
jne 0x101029d3
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.10120250
mov esp, ebp
pop ebp
ret
call fcn.10044800
call fcn.10044800
int3