Function at 0x40b610
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4329aa
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x443080]
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 + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], 0
cmp edi, 0x64
je 0x40ba4f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x444ce4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x444b18]
cmp eax, dword [ecx + 4]
jg 0x40ba70
jmp 0x40b6b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb3b
test dx, dx
je 0x40bb37
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb3b
add eax, 4
add ecx, 4
test dx, dx
je 0x40bb37
jmp 0x40b680
cmp dword [0x444b14], 0
jne 0x40ba4f
cmp edi, 2
jne 0x40b7f0
xor esi, esi
mov dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], esi
push eax
push esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0xaac56b
mov dword [ebp - 0x2c], 0x11d0cd44
mov dword [ebp - 0x28], 0xc000c28c
mov dword [ebp - 0x24], 0xee95c24f
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x74], 0x34
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], 0x1000
call sub.WINTRUST.dll_WinVerifyTrust
cmp eax, 0x800b0100
jg 0x40b796
je 0x40b765
cmp eax, 0x80092026
je 0x40b75e
cmp eax, 0x800b0004
jne 0x40b7a1
push str.The_signature_is_present__but_not_trusted._n
jmp 0x40b7cb
push str.CRYPT_E_SECURITY_SETTINGS___The_hash_representing_the_subject_or_the_publisher_wasnt_explicitly_trusted_by_the_admin_and_admin_policy_has_disabled_user_trust._No_signature__publisher_or_timestamp_errors._n
jmp 0x40b7cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x800b0100
je 0x40b785
cmp eax, 0x800b0003
je 0x40b785
cmp eax, 0x800b0001
mov eax, str.An_unknown_error_occurred_trying_to_verify_the_signature_of_the___s__file._n
jne 0x40b78a
mov eax, str.The_file___s__is_not_signed._n
push ebx
push eax
call fcn.004140c0
add esp, 8
jmp 0x40b7d3
cmp eax, 0x800b0111
je 0x40b7c6
test eax, eax
je 0x40b7b1
push eax
push str.Error_is:_0x_x._n
call fcn.004140c0
add esp, 8
jmp 0x40b7d3
push ebx
push str.The_file___s__is_signed_and_the_signature_was_verified._n
call fcn.004140c0
add esp, 8
mov esi, 1
jmp 0x40b7d3
push str.The_signature_is_present__but_specifically_disallowed._n
call fcn.004140c0
add esp, 4
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], 2
push eax
lea eax, [ebp - 0x30]
push eax
push 0
call sub.WINTRUST.dll_WinVerifyTrust
mov eax, esi
jmp 0x40ba54
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x20]
push eax
push ebx
test edi, edi
jne 0x40b82b
call fcn.0040fd80
jmp 0x40b830
call fcn.0040fff0
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp ebx, eax
je 0x40b9bc
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.0040bba0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [eax + 4]
mov byte [ebp - 4], 5
test edi, edi
js 0x40bb81
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x40b884
push edi
lea ecx, [ebp - 0x14]
call fcn.00411c00
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.0041897b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x40bb81
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x40b8c4
push str.lenovo
push esi
call fcn.00415be7
add esp, 8
test eax, eax
je 0x40b8c4
sub eax, esi
sar eax, 1
jns 0x40ba22
mov edi, dword [esi - 0xc]
test edi, edi
js 0x40bb81
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40b8ec
push edi
lea ecx, [ebp - 0x14]
call fcn.00411c00
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.0041897b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x40bb81
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x40b92c
push str.microsoft
push esi
call fcn.00415be7
add esp, 8
test eax, eax
je 0x40b92c
sub eax, esi
sar eax, 1
jns 0x40ba22
mov edi, dword [esi - 0xc]
test edi, edi
js 0x40bb81
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40b954
push edi
lea ecx, [ebp - 0x14]
call fcn.00411c00
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.0041897b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x40bb81
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x40b994
push str.huorong
push esi
call fcn.00415be7
add esp, 8
test eax, eax
je 0x40b994
sub eax, esi
sar eax, 1
jns 0x40ba22
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40b9b0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x78]
jne 0x40b844
call fcn.0040f870
push dword [ebp - 0x80]
push 0x1d6
push str.E:Jenkinsjobspcmanager_build_OTAworkspacelibsrcCommonnewSignUtils.hpp
push str.CheckSigiture_error:_s
push 1
push eax
call fcn.004128a0
add esp, 0x18
xor esi, esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40ba4b
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.00409fc0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x20]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x40ba41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb8b
jmp 0x40ba41
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ba3a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x40b9e0
push ecx
push edx
call fcn.00414794
add esp, 8
mov eax, esi
jmp 0x40ba54
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 - 0x10]
xor ecx, ebp
call fcn.00414ae1
mov esp, ebp
pop ebp
ret
push 0x444b18
call fcn.00414a7d
add esp, 4
cmp dword [0x444b18], 0xffffffff
jne 0x40b6b4
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
call fcn.0040f760
mov ecx, eax
test ecx, ecx
jne 0x40bab1
push 0x80004005
call fcn.0040b460
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], 1
sub ecx, dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [eax + 8]
sub eax, 0x104
mov dword [ebp - 0x14], esi
or eax, ecx
jge 0x40baed
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00411c00
mov esi, dword [ebp - 0x14]
jmp 0x40baed
push str.C:config.ini
push 0x104
push esi
push 0x434308
push 0x4349cc
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.00418629
add esp, 8
test eax, eax
js 0x40bb81
cmp eax, dword [esi - 8]
jg 0x40bb81
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, 0x4349c8
mov eax, esi
jmp 0x40b680
xor ecx, ecx
jmp 0x40bb40
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
sete al
add esi, 0xfffffff0
mov dword [0x444b14], eax
mov eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40bb68
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40bb68
push 0x444b18
mov dword [ebp - 4], 0xffffffff
call fcn.00414a2c
add esp, 4
jmp 0x40b6b4
push 0x80070057
call fcn.0040b460
call fcn.0041829f
int3