Function at 0x10012690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063410
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x10083180]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x284], ebx
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012847
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10006b80
mov byte [ebp - 4], 1
call fcn.100230b0
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x8b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004a70
mov esi, eax
push str._IsUrlchanged_CScriptActivation__AAEHABV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL___Z
push esi
mov byte [ebp - 4], 2
call fcn.100056f0
push str._url:
push esi
call fcn.100056f0
mov eax, dword [ebx]
mov ecx, 0x10069138
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1000e4e0
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.100057b0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100127eb
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100127e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d86
push edx
push ecx
call fcn.10023f7c
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10012847
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001283d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d8b
push edx
push ecx
call fcn.10023f7c
add esp, 8
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x10012943
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012943
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10006b80
mov byte [ebp - 4], 4
call fcn.100230b0
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x8e
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004a70
mov esi, eax
push str._IsUrlchanged_CScriptActivation__AAEHABV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL___Z
push esi
mov byte [ebp - 4], 5
call fcn.100056f0
push str._url_is_empty.
push esi
call fcn.100056f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.100057b0
lea ecx, [ebp - 0x248]
call fcn.100053b0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.100053b0
call fcn.10005c70
push 0
lea ecx, [ebp - 0x248]
push ecx
mov ecx, eax
call fcn.100259d0
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 6
jb 0x10012967
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10002c90
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x100129b7
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100129ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d90
push edx
push ecx
call fcn.10023f7c
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10012d95
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
push 0xfde9
push dword [ebx]
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 9
push eax
call fcn.1001df70
add esp, 0xc
mov edi, eax
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, 0x32
or ecx, edx
mov byte [ebp - 4], 0xa
jge 0x10012a36
push 0x32
lea ecx, [ebp - 0x280]
call fcn.10003ef0
mov esi, dword [ebp - 0x280]
cmp dword [esi - 8], 0x32
jl 0x10012d9f
xor eax, eax
mov dword [esi - 0xc], 0x32
mov word [esi + 0x64], ax
cmp dword [edi + 0x14], 0x10
mov eax, dword [ebx]
jb 0x10012a57
mov edi, dword [edi]
push 0x32
push esi
push dword [eax - 0xc]
push edi
call fcn.100275f0
mov edx, dword [ebp - 0x264]
add esp, 0x10
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10012aa4
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012a9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012da9
push edx
push ecx
call fcn.10023f7c
add esp, 8
push dword [esi - 8]
push esi
call fcn.1004b252
add esp, 8
test eax, eax
js 0x10012d9f
cmp eax, dword [esi - 8]
jg 0x10012d9f
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x208
mov word [esi + eax*2], cx
lea eax, [ebp - 0x218]
push ecx
push eax
call fcn.1003cef0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x27c]
push 0x104
push eax
push 0x10067364
push str.umd5
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1004a1ef
add esp, 8
test eax, eax
jne 0x10012c0b
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012c04
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10006b80
mov byte [ebp - 4], 0xc
call fcn.100230b0
mov ebx, eax
lea ecx, [ebp - 0x31c]
push 0xa0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004a70
mov edi, eax
push str._IsUrlchanged_CScriptActivation__AAEHABV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL___Z
push edi
mov byte [ebp - 4], 0xd
call fcn.100056f0
push str.url_is_not_change
push edi
call fcn.100056f0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.100057b0
lea ecx, [ebp - 0x230]
call fcn.100053b0
lea ecx, [ebp - 0x260]
call fcn.100053b0
xor edi, edi
jmp 0x10012d26
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012d0a
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10006b80
mov byte [ebp - 4], 0xf
call fcn.100230b0
mov ebx, eax
lea ecx, [ebp - 0x3b4]
push 0xa3
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10004a70
mov edi, eax
push str._IsUrlchanged_CScriptActivation__AAEHABV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL___Z
push edi
mov byte [ebp - 4], 0x10
call fcn.100056f0
push str._url_has_changed__new_url:
push edi
call fcn.100056f0
mov eax, dword [ebp - 0x284]
mov ecx, 0x10069138
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1000e4e0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b4]
call fcn.100057b0
lea ecx, [ebp - 0x260]
call fcn.100053b0
lea ecx, [ebp - 0x278]
call fcn.100053b0
push dword [ebp - 0x27c]
push esi
push str.umd5
push str.arctrl
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012d44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10012d66
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.100242ed
mov esp, ebp
pop ebp
ret 4
call fcn.1003ff99
call fcn.1003ff99
call fcn.1003ff99
push 0x80004005
call fcn.10003320
push 0x80070057
call fcn.10003320
call fcn.1003ff99
int3