Function at 0x10035230
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089e78
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x100bc1b4]
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push 0x210
push 0
push eax
mov dword [ebp - 0x2c4], edi
mov esi, 1
mov dword [ebp - 0x2ac], 0
call fcn.100592a0
add esp, 0xc
mov dword [ebp - 0x90], 0x4f0053
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x88], 0x410057
mov dword [ebp - 0x84], 0x450052
mov dword [ebp - 0x80], 0x4d005c
mov dword [ebp - 0x7c], 0x630069
mov dword [ebp - 0x78], 0x6f0072
mov dword [ebp - 0x74], 0x6f0073
mov dword [ebp - 0x70], 0x740066
mov dword [ebp - 0x6c], 0x57005c
mov dword [ebp - 0x68], 0x6e0069
mov dword [ebp - 0x64], 0x6f0064
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x5c], 0x43005c
mov dword [ebp - 0x58], 0x720075
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x650056
mov dword [ebp - 0x48], 0x730072
mov dword [ebp - 0x44], 0x6f0069
mov dword [ebp - 0x40], 0x5c006e
mov dword [ebp - 0x3c], 0x700041
mov dword [ebp - 0x38], 0x200070
mov dword [ebp - 0x34], 0x610050
mov dword [ebp - 0x30], 0x680074
mov dword [ebp - 0x2c], 0x5c0073
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], 0x730030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2a8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x2a8], 0
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x100353eb
mov ebx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], 0x200
jmp 0x10035435
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0
push eax
push 0x20119
push 0
lea eax, [ebp - 0x90]
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x10035a21
mov ebx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], 0x100
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2cc], ebx
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a8], 0x210
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push str.Path
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003548e
mov eax, dword [ebp - 0x2b0]
cmp eax, 1
je 0x1003547c
cmp eax, 2
jne 0x1003548e
cmp dword [ebp - 0x2a8], 0
jne 0x1003548e
xor eax, eax
mov word [ebp - 0x2a0], ax
push str.SoftMgr_somextrainfo.ini
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100354d6
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10035a28
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2bc], 0
jmp 0x10035a28
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 4
setne cl
mov dword [ebp - 0x2a4], ecx
jne 0x10035523
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10035518
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2bc], 0
mov esi, dword [ebp - 0x2a4]
jmp 0x10035a28
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10035a50
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2d0], esi
mov byte [ebp - 4], 2
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10035a5a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a4]
push 0x10090d20
call fcn.1001e690
test al, al
jne 0x1003558b
push 1
push 0x10090d20
lea ecx, [ebp - 0x2a4]
call fcn.10012540
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x2a4]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov dword [ebp - 0x2c8], eax
test ecx, ecx
je 0x100355b0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100355c6
call fcn.1000b580
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10035a64
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2ac], 1
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x2a8]
push edi
push eax
call fcn.10036d90
mov eax, dword [ebp - 0x2a8]
lea edx, [esi - 0x10]
add esp, 0x14
mov dword [ebp - 0x2b0], edx
or ebx, 0xffffffff
lea edi, [eax - 0x10]
cmp edi, edx
je 0x10035677
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x10035662
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x10035662
push edi
call fcn.1000b0c0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10035657
mov esi, dword [ebp - 0x2b0]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2d0], esi
jmp 0x10035677
push dword [eax - 0xc]
lea ecx, [ebp - 0x2d0]
push eax
call fcn.10012540
mov esi, dword [ebp - 0x2d0]
mov eax, 1
mov dword [ebp - 0x2ac], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 4
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100356a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x2c8]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100356c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 3
setne cl
mov dword [ebp - 0x2a4], ecx
jne 0x1003571a
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100356ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x10035518
push eax
jmp 0x10035508
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10035a6e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a8], edi
mov byte [ebp - 4], 0xb
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10035a78
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a4]
push 0x10090d20
call fcn.1001e690
test al, al
jne 0x10035782
push 1
push 0x10090d20
lea ecx, [ebp - 0x2a4]
call fcn.10012540
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
mov dword [ebp - 0x2d8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100357a6
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100357bc
call fcn.1000b580
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10035a82
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 0xe
or dword [ebp - 0x2ac], 2
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2a4]
push dword [ecx - 0xc]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.10036d90
add esp, 0x14
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
mov dword [ebp - 0x2d4], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1003581e
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10035834
call fcn.1000b580
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10035a8c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0x10
or dword [ebp - 0x2ac], 4
mov eax, dword [ebp - 0x2c0]
push 4
push str.1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10036d90
mov eax, dword [ebp - 0x2c4]
lea ecx, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 0x2c8], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x2b0], edx
cmp edx, ecx
je 0x100358ec
cmp dword [ecx + 0xc], 0
jl 0x100358d1
mov edi, dword [ebp - 0x2c8]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x100358d1
push edx
call fcn.1000b0c0
add esp, 4
mov dword [ebp - 0x2c8], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100358c6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a8], edi
jmp 0x100358e6
push dword [eax - 0xc]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.10012540
mov edi, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2ac]
and ecx, 0xfffffffb
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0xe
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10035919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2ac]
and ecx, 0xfffffffd
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x2d4]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10035940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x2d8]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003595e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.ItemType
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp eax, 3
setne cl
mov dword [ebp - 0x2a4], ecx
jne 0x100359d2
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003599e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100359b7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x10035518
push eax
jmp 0x10035508
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100359ed
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10035a06
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x10035518
push eax
jmp 0x10035508
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2b8], 0
mov eax, esi
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.100536aa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
push 0x80004005
call fcn.1000b090
int3