Function at 0x10038520
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10083de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
mov ecx, 0x100afb2c
call fcn.1007bc3c
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0x32
push 0x1009cca0
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x90], eax
call fcn.1007bc3c
push eax
push 0x32
push 0x1009cc94
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x94], eax
call fcn.1007bc3c
push eax
push 0x32
push 0x1009cc88
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x98], eax
call fcn.1007bc3c
push eax
push 0x46
push 0x10096944
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x9c], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc7c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xb4], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc70
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xb8], eax
lea ebx, [esi + 0x104]
call fcn.1007bc3c
push eax
push 0x104
push 0x104
mov ecx, ebx
call fcn.1007bc3c
push eax
push 0x100a3ee0
push 0x1009cc64
push 0x100981b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
mov ecx, 0x100afb2c
lea ebp, [esi + 0x13c]
call fcn.1007bc3c
push eax
push 0x400
push 0x400
mov ecx, ebp
call fcn.1007bc3c
push eax
push 0x100a3ee0
push 0x1009cc58
push 0x100981b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1007bc8b
push 0x5678
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.1007b641
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.1002a7e0
add esp, 0xc
mov dword [esp + 0x20], 1
push eax
mov ecx, ebx
call fcn.1007b9b9
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1007b8cc
push 0xffffffffffffffff
mov ecx, ebp
call fcn.1007bc8b
push 0
mov ecx, 0x100afb2c
call fcn.1007bc3c
push eax
push 1
push 0x1009cc4c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xc4], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc40
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xd8], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc34
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xd4], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc28
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xdc], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc1c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xe4], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc10
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xc0], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cc04
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xc8], eax
call fcn.1007bc3c
push eax
push 0
push 0x10097b9c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xcc], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cbf8
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xd0], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cbec
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xe8], eax
call fcn.1007bc3c
push eax
push 0x14
push 0x1009cbe0
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xec], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cbd4
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xf0], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cbc8
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xe0], eax
call fcn.1007bc3c
push eax
push 1
push 0x1009cbbc
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xfc], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cbb0
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x100], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cba4
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x108], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb98
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x10c], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb8c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x114], eax
call fcn.1007bc3c
push eax
push 0xa
push 0x1009cb80
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x110], eax
call fcn.1007bc3c
push eax
push 0xa
push 0x1009cb74
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x118], eax
call fcn.1007bc3c
push eax
push 0xa
push 0x1009cb68
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x11c], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb60
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x120], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb54
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x124], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb48
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x128], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb3c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x12c], eax
call fcn.1007bc3c
push eax
push 0
push 0x10097d34
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x134], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb30
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x130], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb24
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x138], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb18
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x140], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb0c
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x144], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cb00
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x148], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009caf4
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x14c], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cae8
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xac], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cadc
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xa8], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cad0
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xb0], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cac4
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xa4], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009cab8
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x80], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009caac
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x84], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009caa0
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0xa0], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009ca94
push 0x100981b0
call edi
push 0
mov ecx, 0x100afb2c
mov dword [esi + 0x88], eax
call fcn.1007bc3c
push eax
push 0
push 0x1009ca88
push 0x100981b0
call edi
mov ecx, dword [esi + 0x108]
mov dword [esi + 0x8c], eax
mov dword [0x100afdbc], ecx
push 0
mov ecx, 0x100afb2c
call fcn.1007bc3c
push eax
push 0
push 0x1009ca7c
push 0x100981b0
call edi
push 0
mov ecx, esi
mov dword [esi + 0x150], eax
call fcn.10079c7c
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x10038c94
push 0x4a1
mov ecx, esi
call fcn.1007b39b
mov edx, dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0xf1
push edx
call edi
push 0x4a2
mov ecx, esi
call fcn.1007b39b
push 0
push 0
jmp 0x10038cca
cmp eax, 1
jne 0x10038ce7
push 0x4a1
mov ecx, esi
call fcn.1007b39b
mov edx, dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf1
push edx
call edi
push 0x4a2
mov ecx, esi
call fcn.1007b39b
push 0
push 1
mov eax, dword [eax + 0x1c]
push 0xf1
push eax
call edi
push 0x4a3
mov ecx, esi
call fcn.1007b39b
push 0
push 0
jmp 0x10038d38
cmp eax, 2
jne 0x10038d43
push 0x4a1
mov ecx, esi
call fcn.1007b39b
mov edx, dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf1
push edx
call edi
push 0x4a2
mov ecx, esi
call fcn.1007b39b
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0xf1
push eax
call edi
push 0x4a3
mov ecx, esi
call fcn.1007b39b
push 0
push 1
mov ecx, dword [eax + 0x1c]
push 0xf1
push ecx
call edi
mov eax, dword [esi + 0x138]
test eax, eax
je 0x10038d54
mov ecx, esi
call fcn.10039a80
mov ecx, esi
call fcn.100384d0
push 0
mov ecx, esi
call fcn.10079c7c
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret