Function at 0x4a0f40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b104
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x567e00]
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
cmp byte [0x567b90], 0
je 0x4a0fa5
mov byte [0x567b90], 0
call fcn.004555b0
test al, al
jne 0x4a0fc1
push str.not_win8_or_later__not_collect
push str._anonymous_namespace::collectVerifyResult
push 0xef
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x14
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.004c6f8b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x9c]
push 7
push eax
call fcn.00417040
add esp, 8
push 0x16
push str._addonskpluginrunner_
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0
call fcn.004038f0
mov ebx, dword [ebp - 0x8c]
mov eax, 0x7ffffffe
sub eax, ebx
cmp eax, 7
jb 0x4a1527
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
mov esi, 7
mov dword [ebp - 0x6c], 0
cmovae eax, dword [ebp - 0x9c]
lea edi, [ebp - 0x6c]
mov dword [ebp - 0xd0], eax
lea eax, [ebx + 7]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea ecx, [esi + 3]
cmp eax, esi
jbe 0x4a106f
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4a1056
mov esi, 0x7ffffffe
jmp 0x4a105b
cmp esi, ecx
cmovb esi, ecx
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403890
mov edi, eax
lea eax, [ebx + 7]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x58], esi
lea esi, [ebx + ebx]
push esi
push dword [ebp - 0xd0]
mov dword [ebp - 0x5c], eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.md5.ini]
add esp, 0xc
mov dword [edi + esi], eax
mov eax, dword [0x533314]
mov dword [edi + esi + 4], eax
mov eax, dword [0x533318]
mov dword [edi + esi + 8], eax
mov ax, word [0x53331c]
mov word [edi + esi + 0xc], ax
xor eax, eax
mov word [edi + ebx*2 + 0xe], ax
push 0x11
push str.kpluginrunner.dll
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.004038f0
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
call fcn.00416b00
add esp, 4
test al, al
je 0x4a1474
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.00416b00
add esp, 4
test al, al
je 0x4a1474
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov ebx, dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
mov dword [ebp - 0xd0], eax
cmp ebx, 7
ja 0x4a116c
lea esi, [ebx + ebx]
mov dword [ebp - 0x74], ebx
push esi
push eax
lea eax, [ebp - 0x84]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x84], ax
jmp 0x4a11cd
cmp ebx, 0x7ffffffe
ja 0x4a1527
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4a118c
mov esi, 0x7ffffffe
jmp 0x4a1197
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x84]
call fcn.00403890
mov dword [ebp - 0x70], esi
mov edi, eax
lea esi, [ebx + ebx]
mov dword [ebp - 0x74], ebx
push esi
push dword [ebp - 0xd0]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x84], edi
push 0xa000
mov byte [ebp - 4], 3
call fcn.004c6f7d
add esp, 4
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x84]
push ecx
push 0x5000
push esi
push 0x516c74
push str.kpluginrunner.dll
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
mov dword [ebp - 0xb4], 0
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1240
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xb4]
call fcn.00403a70
push esi
call fcn.004c6f86
add esp, 4
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 4], 4
test ebx, ebx
jne 0x4a129c
push str.md5_empty__collect_fail
push str._anonymous_namespace::collectVerifyResult
push 0x103
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x14
jmp 0x4a13e4
mov eax, 0x30
push 0x40
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x88], 8
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push ecx
push eax
call fcn.004ecbf0
add esp, 0x14
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xcc]
push eax
call fcn.004050b0
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
mov edi, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0xbc]
cmovae eax, esi
cmp dword [ebp - 0xb8], 8
mov byte [ebp - 4], 5
cmovae ecx, edi
cmp edx, ebx
jne 0x4a138c
push edx
push eax
push ecx
call fcn.00411a20
add esp, 0xc
test eax, eax
jne 0x4a138c
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a1fe0
mov bl, al
movzx ecx, bl
push ecx
push str.offline_result_is__d
push str._anonymous_namespace::collectVerifyResult
push 0x110
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x20
test bl, bl
jne 0x4a13aa
lea eax, [ebp - 0x9c]
push 1
push eax
call fcn.004a1fe0
movzx eax, al
push eax
push str.online_result_is__d
push str._anonymous_namespace::collectVerifyResult
push 0x114
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x20
jmp 0x4a13aa
push str.md5_not_match__collect_fail
push str._anonymous_namespace::collectVerifyResult
push 0x10b
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x14
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x4a13e4
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4a13da
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1512
push ecx
push edi
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0xa0]
cmp eax, 8
jb 0x4a141e
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a1414
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1512
push ecx
push esi
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x4a145b
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1512
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
jmp 0x4a1492
push str.file_not_found__collect_fail
push str._anonymous_namespace::collectVerifyResult
push 0xfb
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilkverifyembeddedsignature.cpp
push 7
call fcn.00412230
add esp, 0x14
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x4a14c8
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a14be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1512
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x4a0fa5
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a1518
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
jmp 0x4a0fa5
call fcn.00403870
int3