Function at 0x1003e490
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7468
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x4c8]
push 1
push eax
call fcn.10030cf0
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x4c0], ax
lea ecx, [ebp - 0x4c0]
push 0xd
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x6f0043
push eax
mov dword [ebp - 0x40], 0x70006d
mov dword [ebp - 0x3c], 0x740075
mov dword [ebp - 0x38], 0x720065
mov dword [ebp - 0x34], 0x2e005a
mov dword [ebp - 0x30], 0x650073
mov dword [ebp - 0x2c], 0x74
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
call fcn.1001e830
cmp dword [ebp - 0x4ac], 8
lea eax, [ebp - 0x460]
push 0x210
push 0
lea esi, [ebp - 0x4c0]
mov byte [ebp - 4], 1
cmovae esi, dword [ebp - 0x4c0]
push eax
call fcn.10187ab0
mov eax, dword [ebp - 0x4c8]
add esp, 0xc
test eax, eax
je 0x1003e58e
xor ecx, ecx
cmp cx, word [eax]
je 0x1003e58e
test esi, esi
je 0x1003e594
cmp cx, word [esi]
je 0x1003e594
push esi
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x1003e594
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.1001eb70
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x490], ax
mov eax, dword [ebp - 0x4c4]
mov edx, eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1003e5d0
sub edx, esi
lea ecx, [ebp - 0x490]
sar edx, 1
push edx
push eax
call fcn.1001e830
mov edx, dword [ebp - 0x4c4]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e60c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4ac]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x1003e650
mov ecx, dword [ebp - 0x4c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003eca8
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x4b0], 0
cmp dword [ebp - 0x47c], 8
mov word [ebp - 0x4c0], ax
lea eax, [ebp - 0x490]
cmovae eax, dword [ebp - 0x490]
push eax
mov dword [ebp - 0x4ac], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003e69c
lea ecx, [ebp - 0x490]
call fcn.10017de0
jmp 0x1003ec86
cmp dword [ebp - 0x47c], 8
lea edi, [ebp - 0x490]
push 7
cmovae edi, dword [ebp - 0x490]
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x24], 0x630072
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 0x66005f
mov dword [ebp - 0x1c], 0x61006c
mov dword [ebp - 0x18], 0x67
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.1001e830
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
push 5
cmovae esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x478]
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x6f004c
mov dword [ebp - 0x1c], 0x690067
mov dword [ebp - 0x18], 0x6e
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
call fcn.1001e830
cmp dword [ebp - 0x464], 8
lea eax, [ebp - 0x478]
push edi
cmovae eax, dword [ebp - 0x478]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x464]
mov esi, eax
cmp edx, 8
jb 0x1003e7a1
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e797
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ecad
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x1003e7fc
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e7f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ecb2
push edx
push ecx
call fcn.101454bc
add esp, 8
cmp esi, 1
je 0x1003eb5d
push 0x20a
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.10187ab0
add esp, 0xc
mov dword [ebp - 0x28], 0x6f004c
cmp dword [ebp - 0x47c], 8
lea edi, [ebp - 0x490]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 0x690067
cmovae edi, dword [ebp - 0x490]
xor eax, eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push 0xa
push eax
mov dword [ebp - 0x20], 0x4c006e
mov dword [ebp - 0x1c], 0x760065
mov dword [ebp - 0x18], 0x6c0065
mov dword [ebp - 0x2c], 7
call fcn.1001e830
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
push 5
cmovae esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x478]
xor eax, eax
mov byte [ebp - 4], 7
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x6f004c
mov dword [ebp - 0x1c], 0x690067
mov dword [ebp - 0x18], 0x6e
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
call fcn.1001e830
cmp dword [ebp - 0x464], 8
lea ecx, [ebp - 0x250]
push edi
push 0x104
push ecx
push 0x101d0f5c
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x464]
cmp edx, 8
jb 0x1003e934
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ecb7
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x1003e98f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ecbc
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x498], 0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e9b5
sub ecx, edx
lea eax, [ebp - 0x250]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4a8]
call fcn.1001e830
cmp dword [ebp - 0x498], 0
mov byte [ebp - 4], 8
jne 0x1003e9ff
lea ecx, [ebp - 0x4a8]
call fcn.10017de0
lea ecx, [ebp - 0x490]
call fcn.10017de0
jmp 0x1003ec86
lea eax, [ebp - 0x4cc]
push eax
call fcn.10023040
add esp, 4
cmp dword [ebp - 0x494], 8
lea esi, [ebp - 0x4a8]
mov byte [ebp - 4], 9
cmovae esi, dword [ebp - 0x4a8]
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x1003ecc1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c4], eax
push esi
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0xa
call fcn.10022430
test al, al
jne 0x1003ea80
test esi, esi
jne 0x1003ea5f
xor ecx, ecx
jmp 0x1003ea73
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003ea64
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4c4]
call fcn.1001e110
lea eax, [ebp - 0x4cc]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1014dbc0
mov edx, dword [ebp - 0x4c4]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003eabe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4d0]
cmp dword [eax - 0xc], 0
jne 0x1003eb07
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003eae1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4cc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e9e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1003e9e4
push eax
call fcn.1019660a
mov edx, dword [ebp - 0x4d0]
add esp, 4
add edx, 0xfffffff0
test eax, eax
mov eax, ebx
jle 0x1003eba1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003eb35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4cc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003eb52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4a8]
call fcn.10017de0
lea ecx, [ebp - 0x490]
call fcn.10017de0
mov edx, dword [ebp - 0x4c8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003eb83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003ebb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4cc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003ebd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x1003ec10
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ec06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003eccb
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x47c]
xor eax, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
cmp edx, 8
jb 0x1003ec69
mov ecx, dword [ebp - 0x490]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ec5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ecd0
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
mov eax, dword [ebp - 0x4c8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003eca1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
jmp 0x1003eb85
call fcn.1018b109
call fcn.1018b109
call fcn.1018b109
call fcn.1018b109
call fcn.1018b109
push 0x80004005
call fcn.1001bf60
call fcn.1018b109
call fcn.1018b109
int3