Function at 0x10139450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb808
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xdc], esp
push str.btn_trash
call fcn.100451a0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e18c0
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xd4]
mov dword [edx + 0x74], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe0], esp
push str.base_cos
call fcn.100451a0
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
push edx
mov ecx, dword [0x10266cc8]
call fcn.100e18c0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0x78], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push str.btn_EmblemView
call fcn.100451a0
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [0x10266cc8]
call fcn.100e18c0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xcc]
mov dword [ecx + 0x7c], edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe8], esp
push str.btn_PathosView
call fcn.100451a0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x78]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e18c0
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xc8]
mov dword [edx + 0x80], eax
mov dword [ebp - 0xa0], 0
jmp 0x1013959a
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0x1c
jge 0x10139638
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0xec], esp
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xa0]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0xf0], esp
movzx ecx, byte [ebp - 0xa5]
push ecx
push str.exchange_d
lea ecx, [ebp - 0x2c]
call fcn.1009d930
mov ecx, eax
call fcn.1005a680
push eax
mov ecx, esi
call fcn.100451a0
mov edx, dword [ebp - 0xc4]
push edx
call fcn.1004d5a0
add esp, 0x24
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e18c0
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc0]
mov dword [eax + edx*4 + 4], ecx
jmp 0x1013958b
movzx edx, byte [0x10266f78]
test edx, edx
jne 0x1013965e
mov byte [0x10266f78], 1
push 0x10139330
push 0x607b64
call fcn.100020f0
mov dword [0x10266f80], eax
movzx eax, byte [ebp - 0xa6]
push eax
push 0x1021e1c0
lea ecx, [ebp - 0x5c]
call fcn.1011cd80
mov ecx, eax
call fcn.1005a680
push eax
mov ecx, dword [0x10266cc8]
add ecx, 0x374
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.10049f10
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb4]
call fcn.10044e70
push eax
push 1
movzx ecx, byte [ebp - 0xa7]
push ecx
push 0x1021e1cc
lea ecx, [ebp - 0x50]
call fcn.10102870
mov ecx, eax
call fcn.1005a680
push eax
movzx edx, byte [ebp - 0xa8]
push edx
push 0x1021e1ac
lea ecx, [ebp - 0x20]
call fcn.10126240
mov ecx, eax
call fcn.1005a600
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x1013970c
mov byte [ebp - 0x97], 1
jmp 0x10139713
mov byte [ebp - 0x97], 0
mov al, byte [ebp - 0x97]
mov byte [0x102488c5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100450b0
movzx ecx, byte [0x102488c5]
test ecx, ecx
je 0x10139747
mov dword [ebp - 0xb0], 2
jmp 0x10139751
mov dword [ebp - 0xb0], 1
mov dl, byte [ebp - 0xb0]
mov byte [0x585e60], dl
movzx eax, byte [ebp - 0xa9]
push eax
push 0x1021e1b4
lea ecx, [ebp - 0x44]
call fcn.1007b580
mov ecx, eax
call fcn.1005a680
push eax
mov ecx, dword [0x10266cc8]
add ecx, 0x374
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.10049f10
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
call fcn.10044e70
push eax
push 1
movzx ecx, byte [ebp - 0xaa]
push ecx
push 0x1021e198
lea ecx, [ebp - 0x38]
call fcn.1009d2e0
mov ecx, eax
call fcn.1005a680
push eax
movzx edx, byte [ebp - 0xab]
push edx
push 0x1021e1a4
lea ecx, [ebp - 0x18]
call fcn.100a4810
mov ecx, eax
call fcn.1005a600
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x10139808
mov byte [ebp - 0x95], 1
jmp 0x1013980f
mov byte [ebp - 0x95], 0
mov al, byte [ebp - 0x95]
mov byte [0x102488c4], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100450b0
movzx ecx, byte [0x102488c4]
test ecx, ecx
je 0x1013983d
mov byte [ebp - 0x96], 0x74
jmp 0x10139844
mov byte [ebp - 0x96], 0xeb
mov dl, byte [ebp - 0x96]
mov byte [0x438c24], dl
mov dword [ebp - 0xa4], 0
jmp 0x1013986b
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1c
jge 0x10139894
push 0
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + ecx*4 + 4]
push eax
mov ecx, dword [0x10266cc8]
call fcn.100e1ce0
jmp 0x1013985c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret