Function at 0x487516
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x5300bc
mov esi, 0x55296a
mov ebp, 0x5357c0
push 0x52ffb0
push 0x3e7
push esi
lea eax, [ebx + 0x11f]
push eax
lea edx, [ebx + 0x11b]
push edx
lea ecx, [ebx + 0x112]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov eax, esi
mov dword [0x5300b8], eax
cmp byte [eax], 0
je 0x48755e
xor edi, edi
jmp 0x487563
mov edi, 1
push 0
call fcn.00487484
mov dword [0x533ef8], eax
push 0
call fcn.00487484
mov dword [0x533f48], eax
push 0
call fcn.00487484
mov dword [0x533f3c], eax
push 0
call fcn.00487484
mov dword [0x52ec28], eax
push 0
call fcn.00487484
mov dword [0x52ea10], eax
push 0
call fcn.00487484
mov dword [0x533914], eax
push 0x12c
call fcn.00487484
mov dword [0x52c97c], eax
push 0
call fcn.00487484
mov dword [0x533f58], eax
push 0
call fcn.00487484
mov dword [0x533f5c], eax
push 0
call fcn.00487484
mov dword [0x52fe48], eax
push 1
call fcn.00487484
mov dword [0x536434], eax
push 0
call fcn.00487484
mov dword [0x529028], eax
push 0
call fcn.00487484
mov dword [0x52918c], eax
push 0
call fcn.00487484
mov dword [0x534c90], eax
push 0
call fcn.00487484
mov dword [0x52c434], eax
push 0
call fcn.00487484
mov dword [0x52c438], eax
push 1
call fcn.00487484
mov dword [0x52c450], eax
push 0
call fcn.00487484
mov dword [0x52c43c], eax
push 0
call fcn.00487484
mov dword [0x534760], eax
push 0
call fcn.00487484
mov dword [0x52c440], eax
push 0x1000
call fcn.00487484
mov dword [ebp], eax
mov eax, dword [ebp]
cmp eax, 0x200
je 0x487690
cmp eax, 0x400
je 0x487690
cmp eax, 0x800
je 0x487690
cmp eax, 0x1000
je 0x487690
cmp eax, 0x2000
je 0x487690
mov dword [ebp], 0x1000
cmp dword [ebp], 0x200
jge 0x4876a0
mov dword [ebp], pe_nt_image_headers32
cmp dword [ebp], 0x2000
jle 0x4876b0
mov dword [ebp], 0x2000
push 0
call fcn.00487484
mov dword [0x533f68], eax
push 1
call fcn.00487484
mov dword [0x533f54], eax
push 0
call fcn.00487484
mov dword [0x5347a0], eax
push 0
call fcn.00487484
mov dword [0x52c454], eax
push 0
call fcn.00487484
mov dword [0x52c458], eax
push 1
call fcn.00487484
mov dword [0x52ec2c], eax
push 1
call fcn.00487484
mov dword [0x529c18], eax
push 0
call fcn.00487484
mov dword [0x533fb0], eax
push 0x32
call fcn.00487484
mov dword [0x533fb4], eax
push 0
call fcn.00487484
mov dword [0x533f24], eax
push 0
call fcn.00487484
mov dword [0x533f1c], eax
push 0x52ffb0
push 0x3e7
push esi
lea edx, [ebx + 0x130]
push edx
lea ecx, [ebx + 0x12c]
push ecx
lea eax, [ebx + 0x123]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 5
call fcn.00487484
mov dword [0x533f80], eax
push 0x64
call fcn.00487484
mov dword [0x533f84], eax
push 0
call fcn.00487484
mov dword [0x52cc54], eax
push 0
call fcn.00487484
mov dword [0x52cc58], eax
push 0
call fcn.00487484
mov dword [0x52cc5c], eax
push 0
call fcn.00487484
mov dword [0x52cc60], eax
push 0
call fcn.00487484
mov dword [0x52cc64], eax
cmp dword [0x52cc60], 0x3c
jge 0x4877c5
cmp dword [0x52cc64], 0x3c
jl 0x4877d9
xor edx, edx
mov dword [0x52cc64], edx
mov dword [0x52cc60], edx
mov dword [0x52cc5c], edx
push 0
call fcn.00487484
mov dword [0x533f88], eax
push 0
call fcn.00487484
mov dword [0x535358], eax
push 1
call fcn.00487484
mov dword [0x534288], eax
push 0
call fcn.00487484
mov dword [0x533f70], eax
push 1
call fcn.00487484
mov dword [0x533eec], eax
push 0
call fcn.00487484
mov dword [0x532240], eax
push 0
call fcn.00487484
mov dword [0x532244], eax
push 1
call fcn.00487484
mov dword [0x53427c], eax
push 1
call fcn.00487484
mov dword [0x534280], eax
push 0
call fcn.00487484
mov dword [0x5337dc], eax
push 1
call fcn.00487484
mov dword [0x533f60], eax
push 0
call fcn.00487484
mov dword [0x533f50], eax
push 0
call fcn.00487484
mov dword [0x5360a0], eax
push 1
call fcn.00487484
mov dword [0x533f64], eax
push 1
call fcn.00487484
mov dword [0x534284], eax
push 1
call fcn.00487484
mov dword [0x5360a4], eax
push 0
call fcn.00487484
mov dword [0x532a38], eax
push 5
call fcn.00487484
mov dword [0x52c678], eax
push 0
call fcn.00487484
mov dword [0x534290], eax
push 0
call fcn.00487484
mov dword [0x536cac], eax
push 1
call fcn.00487484
mov dword [0x5300b4], eax
cmp dword [0x5300b4], 0
je 0x4878ec
test edi, edi
je 0x4878ec
mov dword [0x5300b4], 2
push 0
call fcn.00487484
mov dword [0x533830], eax
push 0
call fcn.00487484
mov dword [0x533f30], eax
push 1
call fcn.00487484
mov dword [0x533f2c], eax
push 0
call fcn.00487484
mov dword [0x529438], eax
push 0
call fcn.00487484
mov dword [0x52943c], eax
push 0x52ffb0
push 0x3e7
push esi
lea eax, [ebx + 0x141]
push eax
lea ecx, [ebx + 0x13d]
push ecx
lea eax, [ebx + 0x134]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 0
call fcn.00487484
mov dword [0x52c44c], eax
push 1
call fcn.00487484
mov dword [0x533f04], eax
push 0
call fcn.00487484
mov dword [0x52cc8c], eax
push 1
call fcn.00487484
mov dword [0x53428c], eax
push 1
call fcn.00487484
mov dword [0x533ef4], eax
push 1
call fcn.00487484
mov dword [0x534d40], eax
push 1
call fcn.00487484
mov dword [0x534d38], eax
push 1
call fcn.00487484
mov dword [0x534d44], eax
push 0
call fcn.00487484
mov dword [0x532a34], eax
push 0x3c
call fcn.00487484
mov dword [0x52c45c], eax
push 0x78
call fcn.00487484
mov dword [0x52c460], eax
push 0
call fcn.00487484
mov dword [0x52c448], eax
push 0
call fcn.00487484
mov dword [0x52c444], eax
push 1
call fcn.00487484
mov dword [0x534d3c], eax
push 1
call fcn.00487484
mov dword [0x532190], eax
push 0
call fcn.00487484
mov dword [0x5338fc], eax
push 1
call fcn.00487484
mov dword [0x52ea18], eax
push 1
call fcn.00487484
mov dword [0x52e30c], eax
push 0
call fcn.00487484
mov dword [0x533f4c], eax
push 0x78
call fcn.00487484
mov dword [0x52c464], eax
push 0x14
call fcn.00487484
mov dword [0x52c468], eax
push 0xa
call fcn.00487484
mov dword [0x52c67c], eax
push 0
call fcn.00487484
mov dword [0x532a30], eax
push 1
call fcn.00487484
mov dword [0x533f14], eax
push 1
call fcn.00487484
mov dword [0x52ea14], eax
push 0
call fcn.00487484
mov dword [0x533f38], eax
push 0
call fcn.00487484
mov dword [0x533f34], eax
push 1
call fcn.00487484
mov dword [0x534d50], eax
push 0
call fcn.00487484
mov dword [0x534d54], eax
push 0
call fcn.00487484
mov dword [0x533f20], eax
push 0x52ffb0
push 0x3e7
push esi
lea edx, [ebx + 0x152]
push edx
lea ecx, [ebx + 0x14e]
push ecx
lea eax, [ebx + 0x145]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 0x1388
call fcn.00487484
mov dword [0x533f8c], eax
push 0
call fcn.00487484
mov dword [0x533f90], eax
push 0
call fcn.00487484
mov dword [0x536f50], eax
push 0
call fcn.00487484
mov dword [0x53224c], eax
push 0
call fcn.00487484
mov dword [0x533efc], eax
push 0
call fcn.00487484
mov dword [0x5357bc], eax
push 1
call fcn.00487484
mov dword [0x529190], eax
push 1
call fcn.00487484
mov dword [0x5366fc], eax
push 1
call fcn.00487484
mov dword [0x5369fc], eax
push 1
call fcn.00487484
mov dword [0x5357b8], eax
push 0
call fcn.00487484
mov dword [0x533f78], eax
push 1
call fcn.00487484
mov dword [0x533ef0], eax
cmp dword [0x533eec], 0
je 0x487b8c
mov dword [0x533ef0], 1
push 0
call fcn.00487484
mov dword [0x536f34], eax
push 0
call fcn.00487484
mov dword [0x536f38], eax
push 1
call fcn.00487484
mov dword [0x536f3c], eax
push 1
call fcn.00487484
mov dword [0x536f40], eax
push 3
call fcn.00487484
mov dword [0x536f44], eax
mov eax, dword [0x536f44]
cmp eax, 1
jl 0x487bd7
cmp eax, 3
jle 0x487be1
mov dword [0x536f44], 1
push 1
call fcn.00487484
mov dword [0x536f48], eax
push 0
call fcn.00487484
mov dword [0x533f98], eax
push 1
call fcn.00487484
mov dword [0x533f9c], eax
push 0
call fcn.00487484
mov dword [0x533fa0], eax
push 0
call fcn.00487484
mov dword [0x536f4c], eax
push 1
call fcn.00487484
mov dword [0x534d48], eax
push 0
call fcn.00487484
mov dword [0x533900], eax
push 1
call fcn.00487484
mov dword [0x534294], eax
push 1
call fcn.00487484
mov dword [0x533fa4], eax
push 0
call fcn.00487484
mov dword [0x52c46c], eax
push 0
call fcn.00487484
mov dword [0x533fbc], eax
push 0
call fcn.00487484
mov dword [0x52e308], eax
push 0
call fcn.00487484
mov dword [0x533f28], eax
push 1
call fcn.00487484
mov dword [0x52fea0], eax
push 3
call fcn.00487484
mov dword [0x52fea4], eax
cmp dword [0x52fea4], 1
jge 0x487ca8
mov dword [0x52fea4], 3
cmp dword [0x52fea4], 0x168
jle 0x487cbe
mov dword [0x52fea4], 3
push 0
call fcn.00487484
mov dword [0x52fea8], eax
cmp dword [0x52fea8], 0
jg 0x487ce0
imul edx, dword [0x52fea4], 0x3c
mov dword [0x52fea8], edx
imul ecx, dword [0x52fea4], 0x3c
cmp ecx, dword [0x52fea8]
jge 0x487cfb
imul eax, dword [0x52fea4], 0x3c
mov dword [0x52fea8], eax
push 0x52ffb0
push 0x3e7
push esi
lea edx, [ebx + 0x163]
push edx
lea ecx, [ebx + 0x15f]
push ecx
lea eax, [ebx + 0x156]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 1
call fcn.00487484
mov dword [0x52a36c], eax
push 0
call fcn.00487484
mov dword [0x533f40], eax
push 1
call fcn.00487484
mov dword [0x5357cc], eax
push 0
call fcn.00487484
mov dword [0x52fe94], eax
push 0
call fcn.00487484
mov dword [0x533fa8], eax
push 3
call fcn.00487484
mov dword [0x529c00], eax
push 0x270f
call fcn.00487484
mov dword [0x529c04], eax
cmp dword [0x529c04], 0x3e7
jne 0x487d93
mov dword [0x529c04], 0x270f
push 0
call fcn.00487484
mov dword [0x529c08], eax
push 0
call fcn.00487484
mov dword [0x529c0c], eax
push 0
call fcn.00487484
mov dword [0x533f18], eax
push 1
call fcn.00487484
mov dword [0x529c10], eax
push 0
call fcn.00487484
mov dword [0x533fb8], eax
push 0x400
call fcn.00487484
mov word [0x52c430], ax
cmp word [0x52c430], 0x400
jae 0x487df3
mov word [0x52c430], 0x400
push 0
call fcn.00487484
mov dword [0x533f00], eax
push 1
call fcn.00487484
mov dword [0x533f08], eax
push 0x63
call fcn.00487484
mov dword [0x533f0c], eax
push 0x3c
call fcn.00487484
mov dword [0x533f10], eax
cmp dword [0x533f10], 0xa
jge 0x487e36
mov dword [0x533f10], 0x3c
push 0
call fcn.00487484
mov dword [0x5338f8], eax
push 0
call fcn.00487484
mov dword [0x533f44], eax
push 1
call fcn.00487484
mov dword [0x529880], eax
push 1
call fcn.00487484
mov dword [0x53642c], eax
cmp dword [0x53642c], 0
jl 0x487e78
cmp dword [0x53642c], 3
jle 0x487e80
xor edx, edx
mov dword [0x53642c], edx
push 1
call fcn.00487484
mov dword [0x536430], eax
push 1
call fcn.00487484
mov dword [0x536424], eax
push 0
call fcn.00487484
mov dword [0x528d10], eax
push 1
call fcn.00487484
mov dword [0x52ea1c], eax
push 0x1388
call fcn.00487484
mov word [0x52c432], ax
mov cx, word [0x52c432]
cmp cx, word [0x52c430]
jae 0x487ee2
mov word [0x52c430], 0x400
mov word [0x52c432], 0x1388
push 1
call fcn.00487484
mov dword [0x533f6c], eax
push 5
call fcn.00487484
mov dword [0x536418], eax
cmp dword [0x536418], 0
jl 0x487f0c
cmp dword [0x536418], 0x10
jle 0x487f16
mov dword [0x536418], 5
push 0
call fcn.00487484
mov dword [0x533834], eax
push 0
call fcn.00487484
mov dword [0x532268], eax
push 0x52ffb0
push 0x3e7
push esi
lea eax, [ebx + 0x174]
push eax
lea edx, [ebx + 0x170]
push edx
lea ecx, [ebx + 0x167]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 1
call fcn.00487484
mov dword [0x53744c], eax
push 1
call fcn.00487484
mov dword [0x537450], eax
push 1
call fcn.00487484
mov dword [0x537454], eax
push 1
call fcn.00487484
mov dword [0x53745c], eax
push 1
call fcn.00487484
mov dword [0x537460], eax
push 1
call fcn.00487484
mov dword [0x537464], eax
push 1
call fcn.00487484
mov dword [0x537468], eax
push 1
call fcn.00487484
mov dword [0x53746c], eax
push 1
call fcn.00487484
mov dword [0x537470], eax
push 1
call fcn.00487484
mov dword [0x537474], eax
push 0x1a0b
call fcn.00487484
mov word [0x533e1e], ax
cmp word [0x533e1e], 0xa
jae 0x487ff4
mov word [0x533e1e], 0x1a0b
push 0
call fcn.00487484
mov dword [0x5357c4], eax
cmp dword [0x5357c4], 0
jge 0x488010
xor eax, eax
mov dword [0x5357c4], eax
cmp dword [0x5357c4], 0
jle 0x488023
mov dword [0x5357c4], 0x7a120
push 0
call fcn.00487484
mov dword [0x533f7c], eax
push 0
call fcn.00487484
mov dword [0x534c30], eax
cmp dword [0x534c30], 0
je 0x48804e
mov dword [0x534c30], 1
push 1
call fcn.00487484
mov dword [0x533f74], eax
push 0
call fcn.00487484
mov dword [0x532250], eax
push 1
call fcn.00487484
mov dword [0x537458], eax
push 0
call fcn.00487484
mov dword [0x52e554], eax
push 0x12c
call fcn.00487484
mov dword [0x52e558], eax
cmp dword [0x52e558], 0x64
jge 0x4880a0
mov dword [0x52e558], 0x64
cmp dword [0x52e558], 0x3e7
jle 0x4880b6
mov dword [0x52e558], 0x3e7
push 0x1e
call fcn.00487484
mov dword [0x52e55c], eax
cmp dword [0x52e55c], 0xa
jge 0x4880d5
mov dword [0x52e55c], 0xa
push 0xa
call fcn.00487484
mov dword [0x52e560], eax
cmp dword [0x52e560], 3
jge 0x4880f4
mov dword [0x52e560], 3
push 0
call fcn.00487484
mov dword [0x52e564], eax
push 1
call fcn.00487484
mov dword [0x536414], eax
push 0x18
call fcn.00487484
mov dword [0x536410], eax
cmp dword [0x532a54], 0
je 0x488136
cmp dword [0x536410], 0x16
jge 0x488149
mov dword [0x536410], 0x16
jmp 0x488149
cmp dword [0x536410], 0x16
jge 0x488149
mov dword [0x536410], 0x16
cmp dword [0x536410], 0x1e
jle 0x48815c
mov dword [0x536410], 0x1e
push 0
call fcn.00487484
mov dword [0x533fac], eax
push 0
call fcn.00487484
mov dword [0x532248], eax
push 1
call fcn.00487484
mov dword [0x534d4c], eax
push 0x2000
call fcn.00487484
mov dword [0x52c42c], eax
cmp dword [0x52c42c], 0
jg 0x4881a2
xor edx, edx
mov dword [0x52c42c], edx
jmp 0x4881b8
cmp dword [0x52c42c], 0x80
jge 0x4881b8
mov dword [0x52c42c], 0x80
push 1
call fcn.00487484
mov dword [0x53225c], eax
push 0x52ffb0
push 0x3e7
push esi
lea ecx, [ebx + 0x185]
push ecx
lea eax, [ebx + 0x181]
push eax
lea edx, [ebx + 0x178]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x5300b8], esi
push 0
call fcn.00487484
mov dword [0x552198], eax
push 0
call fcn.00487484
mov dword [0x536428], eax
push 0
call fcn.00487484
mov dword [0x533fc0], eax
push 1
call fcn.00487484
mov dword [0x533fcc], eax
push 0
call fcn.00487484
mov dword [0x533fd0], eax
push 0
call fcn.00487484
mov dword [0x533fd4], eax
push 0
call fcn.00487484
mov dword [0x533fdc], eax
push 0
call fcn.00487484
mov dword [0x533fe0], eax
push 0
call fcn.00487484
mov dword [0x533fe4], eax
push 0
call fcn.00487484
mov dword [0x533fd8], eax
push 0
call fcn.00487484
mov dword [0x5343c0], eax
push 0
call fcn.00487484
mov dword [0x536cb0], eax
push 0
call fcn.00487484
mov dword [0x536cb4], eax
push 0
call fcn.00487484
mov dword [0x536cbc], eax
cmp dword [0x536cbc], 0
jge 0x4882a8
xor ecx, ecx
mov dword [0x536cbc], ecx
push 0
call fcn.00487484
mov dword [0x533904], eax
push 0
call fcn.00487484
mov dword [0x533908], eax
push 0
call fcn.00487484
mov dword [0x532a4c], eax
push 1
call fcn.00487484
mov dword [0x536cb8], eax
push 0
call fcn.00487484
mov dword [0x5290fc], eax
push 0
call fcn.00487484
mov dword [0x537478], eax
push 0
call fcn.00487484
mov dword [0x532a50], eax
push 0
call fcn.00487484
mov dword [0x532260], eax
push 0x64
call fcn.00487484
mov dword [0x532264], eax
cmp dword [0x532264], 0x64
jge 0x488327
mov dword [0x532264], 0x64
push 1
call fcn.00487484
mov dword [0x53573c], eax
push 1
call fcn.00487484
mov dword [0x52eb3c], eax
push 0
call fcn.00487484
mov dword [0x552198], eax
push 0
call fcn.00487484
mov dword [0x532254], eax
push 1
call fcn.00487484
mov dword [0x52fe90], eax
push 0
call fcn.00487484
mov dword [0x52a148], eax
push 0
call fcn.00487484
mov dword [0x52e10c], eax
push 4
call fcn.00487484
mov dword [0x53641c], eax
cmp dword [0x53641c], 0
jl 0x488399
cmp dword [0x53641c], 0x10
jle 0x4883a3
mov dword [0x53641c], 4
push 1
call fcn.00487484
mov dword [0x532258], eax
pop ebp
pop edi
pop esi
pop ebx
ret