Function at 0x51d9cf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b4
mov dword [ebp - 0x7b4], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x7a0], 0
push 0
mov eax, dword [ebp + 8]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x7b4]
lea ecx, [ecx + eax + 0x14280]
call fcn.00564430
cmp dword [ebp + 8], 0
jl 0x51e0bf
cmp dword [ebp + 8], 0x10
jge 0x51e0bf
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xff], 0
push 0x5b451c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51db06
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x7b4]
mov eax, dword [edx + 0x4b4]
push eax
call fcn.004016bb
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
push 0x400
lea edx, [ebp - 0x58c]
push edx
push 0x5dcb98
push 0x5b4528
push 0x5b4538
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x58c]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jbe 0x51db01
push 0x5b4548
lea ecx, [ebp - 0x58c]
push ecx
call fcn.0054bed0
add esp, 8
push 0x5b454c
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x7a4], eax
cmp dword [ebp - 0x7a4], 0
je 0x51daee
mov eax, dword [ebp - 0x7a4]
add eax, 0xb
push eax
lea ecx, [ebp - 0x58c]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x58c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x51dbd6
push 0x5b4558
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dbd6
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x7b4]
mov ecx, dword [eax + 0x4b4]
push ecx
call fcn.004016bb
add esp, 8
lea edx, [ebp - 0x108]
push edx
push 0x400
lea eax, [ebp - 0x58c]
push eax
push 0x5dcb9c
push 0x5b4564
push 0x5b4574
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x58c]
push ecx
call fcn.0054c3e0
add esp, 4
test eax, eax
jbe 0x51dbd6
push 0x5b4584
lea edx, [ebp - 0x58c]
push edx
call fcn.0054bed0
add esp, 8
push 0x5b4588
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x7a8], eax
cmp dword [ebp - 0x7a8], 0
je 0x51dbc3
mov ecx, dword [ebp - 0x7a8]
add ecx, 0xb
push ecx
lea edx, [ebp - 0x58c]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x58c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054bec0
add esp, 8
push 0x80
lea edx, [ebp - 0x188]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x7b4]
lea ecx, [ecx + eax + 0xaec]
call fcn.00564356
lea edx, [ebp - 0x188]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054d7f0
add esp, 8
test eax, eax
je 0x51e0bf
push 0x5b4594
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x18c], eax
push 0x5b459c
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x7a0], eax
push 0x5b45a4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [0x5be010], 5
jl 0x51dcc1
mov dword [ebp - 4], 0
push 0x5b45ac
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dcc1
push 0x5b45b0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dcaa
push 0x5b45b4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
add eax, 3
mov dword [ebp - 4], eax
jmp 0x51dcc1
push 0x5b45b8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
add eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 0x7ac], 0
cmp dword [0x5be010], 5
jl 0x51dd18
cmp dword [0x5cc478], 0
je 0x51dd18
mov edx, dword [ebp + 8]
imul edx, edx, 0x124
add edx, 0x5db8c4
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x51dd18
push 0x5b45bc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dd18
mov dword [ebp - 0x7ac], 1
cmp dword [ebp - 0x18c], 0
jne 0x51dd2e
cmp dword [ebp - 0x7a0], 0
je 0x51df4d
cmp dword [ebp - 4], 0
jne 0x51dd41
cmp dword [ebp - 0x7ac], 0
je 0x51df4d
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x68c]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x79c]
push edx
call fcn.0054bfb0
add esp, 0xc
cmp dword [0x5be010], 5
jge 0x51dda2
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x68c]
push edx
call fcn.0054e890
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x79c]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x51de20
mov dword [ebp - 0x7b0], 0
mov edx, dword [ebp - 4]
push edx
call fcn.0054c3e0
add esp, 4
mov dword [ebp - 0x7b0], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054c3e0
add esp, 4
sub eax, dword [ebp - 0x7b0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x68c]
push edx
call fcn.0054c980
add esp, 0xc
cmp dword [0x5be060], 0
je 0x51de20
push 0x5b45c0
lea eax, [ebp - 0x68c]
push eax
call fcn.0054bed0
add esp, 8
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x124
add ecx, 0x5db948
push ecx
lea edx, [ebp - 0x68c]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x68c]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x7b4]
lea ecx, [edx + ecx + 0xaec]
call fcn.0056432f
lea eax, [ebp - 0x79c]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x7b4]
lea ecx, [edx + ecx + 0x14280]
call fcn.0056432f
cmp dword [0x5be010], 5
jl 0x51dea4
push 0x5b45c4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dea4
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x124
add ecx, 0x5db8c4
push ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x7b4]
lea ecx, [eax + edx + 0x14280]
call fcn.0056432f
cmp dword [0x5be734], 0
jne 0x51debf
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x124
cmp dword [ecx + 0x5db8b4], 0
je 0x51dedb
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x7b4]
lea ecx, [eax + edx + 0x14280]
call fcn.00564430
jmp 0x51df4b
cmp dword [0x5be010], 5
jl 0x51df31
push 0x5b45c8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51df15
push 5
mov edx, dword [ebp + 8]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x7b4]
lea ecx, [eax + edx + 0x14280]
call fcn.00564430
jmp 0x51df2f
push 0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x7b4]
lea ecx, [edx + ecx + 0x14280]
call fcn.00564430
jmp 0x51df4b
push 5
mov eax, dword [ebp + 8]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x7b4]
lea ecx, [ecx + eax + 0x14280]
call fcn.00564430
jmp 0x51df69
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x7b4]
lea ecx, [ecx + eax + 0xaec]
call fcn.0056432f
cmp dword [0x5be170], 5
jne 0x51e0a7
push 0x5dcba0
lea edx, [ebp - 0x78c]
push edx
call fcn.0054bec0
add esp, 8
push 0x5b45cc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dfb5
push 0x5b45d0
lea ecx, [ebp - 0x78c]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x51e009
push 0x5b45d4
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51dfe0
push 0x5b45d8
lea eax, [ebp - 0x78c]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x51e009
push 0x5b45dc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51e009
push 0x5b45e0
lea edx, [ebp - 0x78c]
push edx
call fcn.0054bec0
add esp, 8
push 0x5b45e4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51e034
push 0x5b45e8
lea ecx, [ebp - 0x78c]
push ecx
call fcn.0054bed0
add esp, 8
jmp 0x51e088
push 0x5b45ec
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51e05f
push 0x5b45f0
lea eax, [ebp - 0x78c]
push eax
call fcn.0054bed0
add esp, 8
jmp 0x51e088
push 0x5b45f4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x51e088
push 0x5b45f8
lea edx, [ebp - 0x78c]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x78c]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x7b4]
lea ecx, [edx + ecx + 0xeac]
call fcn.0056432f
mov eax, dword [ebp + 8]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x7b4]
lea ecx, [ecx + eax + 0xaec]
call fcn.00411bb0
mov eax, 1
mov esp, ebp
pop ebp
ret 8