Function at 0x1003d4f0
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 0x100a7f78
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x100d10d4]
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.1006e460
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 0x1003d6ab
mov ebx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], 0x200
jmp 0x1003d6f5
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 0x1003dce1
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 0x1003d74e
mov eax, dword [ebp - 0x2b0]
cmp eax, 1
je 0x1003d73c
cmp eax, 2
jne 0x1003d74e
cmp dword [ebp - 0x2a8], 0
jne 0x1003d74e
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 0x1003d796
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1003dce8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2bc], 0
jmp 0x1003dce8
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 0x1003d7e3
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1003d7d8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2bc], 0
mov esi, dword [ebp - 0x2a4]
jmp 0x1003dce8
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1003dd10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2d0], esi
mov byte [ebp - 4], 2
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1003dd1a
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 0x100aed00
call fcn.10025710
test al, al
jne 0x1003d84b
push 1
push 0x100aed00
lea ecx, [ebp - 0x2a4]
call fcn.10014ae0
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 0x1003d870
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1003d886
call fcn.1000db70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1003dd24
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.1003f050
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 0x1003d937
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1003d922
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x1003d922
push edi
call fcn.1000d6d0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1003d917
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 0x1003d937
push dword [eax - 0xc]
lea ecx, [ebp - 0x2d0]
push eax
call fcn.10014ae0
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 0x1003d963
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 0x1003d981
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 0x1003d9da
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003d9bf
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 0x1003d7d8
push eax
jmp 0x1003d7c8
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1003dd2e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a8], edi
mov byte [ebp - 4], 0xb
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1003dd38
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 0x100aed00
call fcn.10025710
test al, al
jne 0x1003da42
push 1
push 0x100aed00
lea ecx, [ebp - 0x2a4]
call fcn.10014ae0
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 0x1003da66
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1003da7c
call fcn.1000db70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1003dd42
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.1003f050
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 0x1003dade
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1003daf4
call fcn.1000db70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1003dd4c
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.1003f050
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 0x1003dbac
cmp dword [ecx + 0xc], 0
jl 0x1003db91
mov edi, dword [ebp - 0x2c8]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x1003db91
push edx
call fcn.1000d6d0
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 0x1003db86
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 0x1003dba6
push dword [eax - 0xc]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.10014ae0
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 0x1003dbd9
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 0x1003dc00
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 0x1003dc1e
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 0x1003dc92
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003dc5e
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 0x1003dc77
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 0x1003d7d8
push eax
jmp 0x1003d7c8
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003dcad
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 0x1003dcc6
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 0x1003d7d8
push eax
jmp 0x1003d7c8
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.10061eb3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
int3