Function at 0x1002fac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f233
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100d07a8]
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 esi, ecx
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10017a20
add esp, 8
mov eax, dword [ebp - 0x48]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1002fd8b
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1002fdd2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x44], edx
mov eax, dword [edx - 8]
mov edi, 1
mov esi, dword [esi]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov byte [ebp - 4], 1
jge 0x1002fb66
push 0x800
lea ecx, [ebp - 0x44]
call fcn.100030e0
mov edx, dword [ebp - 0x44]
cmp dword [edx - 8], 0x800
jl 0x1002fdc8
push esi
push 0x800
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp - 0x44]
push edx
push 0x100a65b8
push str.spreadids
mov word [eax + 0x1000], cx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x44]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.1007b3b9
mov edx, eax
add esp, 8
test edx, edx
js 0x1002fdc8
mov ecx, dword [ebp - 0x44]
cmp edx, dword [ecx - 8]
jg 0x1002fdc8
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x44]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x1002fbe3
cmp esi, 0x7fe
jne 0x1002fc44
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x50]
mov eax, dword [ecx - 8]
sub edi, dword [ecx - 4]
sub eax, 0x1000
or eax, edi
mov esi, dword [esi]
jge 0x1002fc0a
push 0x1000
lea ecx, [ebp - 0x44]
call fcn.100030e0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx - 8], 0x1000
jl 0x1002fdc8
push esi
push 0x1000
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp - 0x44]
push ecx
push 0x100a65b8
push str.spreadids
mov word [eax + 0x2000], dx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
call fcn.10011ef0
add esp, 8
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1002fddc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x4c]
push str.GetSpreadId__s:_s
push eax
call fcn.10002ef0
add esp, 0x10
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x4c]
movzx eax, al
sub eax, 1
jne 0x1002fd52
push 0x59
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_spreadidproc.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
mov byte [ebp - 4], 4
call fcn.100689b0
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x9a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov edi, eax
test esi, esi
mov byte [ebp - 4], 5
mov ecx, 0x100a68c0
cmovne ecx, esi
push ecx
push edi
call fcn.10003800
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.10005bc0
lea ecx, [ebp - 0x28]
call fcn.10002b00
lea ecx, [ebp - 0x40]
call fcn.10002b00
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002fd6d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002fd8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002fdaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1006a4da
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.10002c70
push 0x80004005
call fcn.10002c70
push 0x80004005
call fcn.10002c70
int3