Function at 0x10035df0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083b15
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x234], ebx
call fcn.1002f2c0
sub esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x258]
call fcn.1003bac0
add esp, 8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x238], eax
call fcn.1002ee30
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.1002e370
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.1002e570
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
jne 0x100360d5
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], eax
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x100363eb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
push str.InsTM
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 5
call fcn.10007ac0
test al, al
jne 0x10035ef9
push 5
push str.InsTM
lea ecx, [ebp - 0x22c]
call fcn.10007d40
mov esi, dword [0x100a4098]
test esi, esi
je 0x10035f0d
lock inc dword [esi + 4]
mov esi, dword [0x100a4098]
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], esi
mov byte [ebp - 4], 7
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 0xec]
mov byte [ebp - 4], 9
test esi, esi
je 0x10035f59
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035f59
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10035f59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10055b90
mov eax, dword [ebp - 0x220]
add esp, 0xc
push dword [eax + 0x44]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x10093244
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x21c]
je 0x10035fd4
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035fb2
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.10007d40
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10035ff5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036016
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x100360d5
push eax
call fcn.10069596
cdq
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 0x22c], edx
call fcn.10014740
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
mov esi, dword [ebp - 0x224]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100360b4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x1003609f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1003609f
call fcn.10007880
mov dword [ebp - 0x220], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10036094
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [ebp - 0x224], eax
jmp 0x100360ae
push dword [edx - 0xc]
lea ecx, [ebp - 0x224]
push edx
call fcn.10007d40
mov ebx, dword [ebp - 0x234]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100360d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x220]
call fcn.1002ef60
mov esi, eax
push ecx
push str.device_id
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.10048080
mov edx, eax
mov ecx, esi
call fcn.10046ea0
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003611d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push str.version
mov ecx, ebx
call fcn.10048080
mov edx, eax
lea ecx, [ebp - 0x250]
call fcn.10046ea0
push ecx
push 0x10094e68
mov ecx, ebx
call fcn.10048080
mov ecx, dword [0x100a413c]
mov dword [ebp - 0x220], eax
test ecx, ecx
jne 0x1003617c
call fcn.10031c00
mov esi, dword [0x100a40c4]
call fcn.10031c00
xor ecx, ecx
lea eax, [esi + esi*4]
cmp dword [0x100a40c8], ecx
setne cl
inc ecx
lea ecx, [ecx + eax*2]
mov dword [0x100a413c], ecx
mov eax, dword [ebp - 0x244]
and eax, 0xffffff02
mov dword [ebp - 0x240], 0
or eax, 2
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x220]
push eax
call fcn.10047bb0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.10047ad0
mov edx, dword [ebp - 0x254]
lea ecx, [ebp - 0x220]
sub esp, 8
call fcn.1003bac0
mov esi, eax
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, ebx
push 0x10094e6c
call fcn.10048080
mov edx, eax
mov ecx, esi
call fcn.10046ea0
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036218
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push 0x10094e70
mov ecx, ebx
call fcn.10048080
mov edx, eax
lea ecx, [ebp - 0x224]
call fcn.10046ea0
push ecx
push str.location
mov ecx, ebx
call fcn.10048080
mov edx, eax
lea ecx, [ebp - 0x258]
call fcn.10046ea0
push ecx
push str.random
mov ecx, ebx
call fcn.10048080
mov ecx, dword [ebp - 0x244]
and ecx, 0xffffff02
mov dword [ebp - 0x240], 0
or ecx, 2
mov dword [ebp - 0x244], ecx
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.10047bb0
lea ecx, [ebp - 0x24c]
call fcn.10047ad0
mov ebx, dword [0x100a4098]
test ebx, ebx
je 0x100362b5
lock inc dword [ebx + 4]
mov ebx, dword [0x100a4098]
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x238]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
mov esi, eax
push ecx
mov ecx, dword [ebp - 0x234]
push str.product
mov byte [ebp - 4], 0x10
call fcn.10048080
mov edx, eax
mov ecx, esi
call fcn.10046ea0
mov byte [ebp - 4], 0xf
mov eax, edi
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036318
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x1003633b
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x1003633b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x1003633b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003635c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003637d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003639e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100363bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x278]
call fcn.1002f710
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001410
int3