Function at 0x4674a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517891
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00467460
call fcn.00462f50
mov byte [0x15797cf], al
mov byte [ebp - 0x11], 0
call fcn.00468510
cmp esi, edi
je 0x4677c5
mov eax, esi
lea ecx, [ebp - 0x5c]
call fcn.0040fae0
mov byte [ebp - 4], 1
push 1
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x5c]
call fcn.004ef450
add esp, 8
mov byte [ebp - 4], 2
mov esi, 0x52b45c
mov ecx, eax
call fcn.00447fc0
mov bl, al
mov byte [ebp - 4], 1
lea esi, [ebp - 0x7c]
call fcn.004150b0
test bl, bl
je 0x46753a
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x52b45c
call fcn.0040fb70
lea edx, [ebp - 0x5c]
push edx
mov eax, str.PrepBits.init
call fcn.0040fb70
lea eax, [ebp - 0x5c]
push eax
call fcn.00442210
add esp, 4
test al, al
je 0x4677b9
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov word [ebp - 0x34], cx
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], edi
cmp edi, 5
jge 0x467775
xor eax, eax
mov dword [ebp - 0x18], eax
cmp eax, 0x18
jge 0x46776f
push eax
lea edx, [ebp - 0xd0]
push edx
call fcn.004ef520
mov esi, eax
mov byte [ebp - 4], 4
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.004ef520
mov byte [ebp - 4], 5
push 0x52b458
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.004139a0
add esp, 0x1c
mov byte [ebp - 4], 6
lea edx, [ebp - 0x7c]
push edx
mov edx, esi
mov ecx, eax
call fcn.00413a30
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x34]
mov ebx, 8
cmp eax, esi
je 0x46765c
cmp dword [ebp - 0x20], ebx
jb 0x4675fb
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
xor edx, edx
mov word [ebp - 0x34], dx
cmp dword [esi + 0x14], ebx
jae 0x46762b
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
push esi
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x467636
mov edx, dword [esi]
mov dword [ebp - 0x34], edx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], ebx
jb 0x467657
mov esi, dword [esi]
xor edx, edx
mov word [esi], dx
mov byte [ebp - 4], 6
lea esi, [ebp - 0x7c]
call fcn.004150b0
mov byte [ebp - 4], 5
lea esi, [ebp - 0xec]
call fcn.004150b0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x108]
call fcn.004150b0
mov byte [ebp - 4], 3
lea esi, [ebp - 0xd0]
call fcn.004150b0
cmp dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x5c]
jae 0x4676a0
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x34]
jae 0x4676ab
lea eax, [ebp - 0x34]
push ecx
push 0x40
lea ecx, [ebp - 0x1d0]
push ecx
push 0x528928
push 0x543954
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1d0], 0
je 0x467764
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0x98]
call fcn.0040fae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.004f1130
mov bl, al
mov byte [ebp - 4], 3
lea esi, [ebp - 0x98]
call fcn.004150b0
test bl, bl
je 0x467764
lea edx, [edi + edi*2]
mov eax, dword [ebp - 0x18]
lea edi, [eax + edx*8]
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0xb4]
call fcn.0040fae0
mov byte [ebp - 4], 9
lea edx, [ebp - 0xb4]
call fcn.00449700
mov ebx, eax
mov byte [ebp - 4], 3
lea esi, [ebp - 0xb4]
call fcn.004150b0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x40]
call fcn.00468d20
push eax
lea edi, [ebp - 0x118]
call fcn.00468a20
mov byte [ebp - 0x11], 1
mov edi, dword [ebp - 0x38]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
jmp 0x467581
inc edi
jmp 0x467570
cmp byte [ebp - 0x11], 0
je 0x4677ad
mov byte [0x56fefc], 0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x34]
call fcn.004150b0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x5c]
call fcn.004150b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
lea esi, [ebp - 0x34]
call fcn.004150b0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x5c]
call fcn.004150b0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x15
xor esi, esi
mov dword [ebp - 0x60], esi
lea eax, [esi + esi*4]
add eax, eax
add eax, eax
mov ecx, dword [eax + 0x56ff00]
test ecx, ecx
jle 0x4679c1
lea ecx, [ecx + ecx*2]
mov edx, dword [eax + 0x56ff04]
lea ecx, [edx + ecx*8]
mov eax, dword [eax + 0x56ff0c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x40]
call fcn.00468d20
push eax
lea edi, [ebp - 0x118]
call fcn.00468a20
inc esi
jmp 0x4677d5
mov byte [0x56fefc], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret