Function at 0x4126d2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne 0x4126f8
cmp eax, edx
je 0x4126fe
mov ecx, dword [edi + 0x18]
add dword [edi + 0x10], edx
add esi, edx
jne 0x412713
add esi, 8
cmp eax, 8
mov dword [esi + 0x24], eax
call fcn.0043c978
mov ebx, esp
jmp 0x41272a
xor edi, edi
test edi, edi
jne 0x41273e
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x70], 0xfffffffd
mov eax, 0x7fffffff
jmp 0x412715
cmp esi, dword [ebp - 0x14]
jae 0x412723
cmp dword [eax + 0x4460b0], edi
jne 0x412744
mov ecx, dword [esi + 0x18]
cmp byte [ecx + 0x21], 0
jne 0x412719
mov byte [ebp - 0x10], 0
call fcn.00418ea8
or edi, eax
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
jne 0x41273b
push ebx
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x2c]
dec eax
je 0x412761
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x446134
mov dword [edi + 4], eax
test eax, eax
je 0x41279d
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
call fcn.004187d3
xor edi, edi
xor esi, esi
call fcn.0040568d
mov edx, dword [ebp + 0x10]
lea eax, [edx - 1]
cmp eax, 0x1e
jbe 0x4127b1
cmp eax, 0xffffffff
jne 0x4127b1
push 4
and eax, 0xff
cmp eax, 0xab
je 0x41279a
cmp dword [ebp - 0x1b4], 0
jne 0x4127aa
mov al, byte [edx + 0xc]
mov cl, 1
cmp al, 0x43
jne 0x4127c1
xor eax, eax
cmp dword [ebp - 4], eax
jbe 0x4127c4
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x4127c6
mov ecx, dword [eax]
call fcn.0040bdc9
mov eax, dword [ecx + 4]
inc byte [eax + 0x3f]
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], 1
mov dword [esi], eax
movzx eax, byte [eax]
lea ecx, [ebp - 0x10]
call fcn.004272fb
pop ecx
mov eax, esi
jmp 0x41280e
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4461e8
and dword [ebp - 4], 0
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x41281f
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44625c
mov ecx, dword [ebp + 8]
mov esi, edi
shl esi, 2
cmp dword [esi + 0x42035c], 0
jne 0x412838
or eax, 0x100
jmp 0x412853
sar ebx, 4
mov dword [ebp - 4], ebx
cmp dword [esi + 8], 0
je 0x41283a
cmp dword [ebp + 0xc], 0
jne 0x41287b
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
push esi
call fcn.004231a7
mov edi, dword [0x446178]
push 0x2f
push edi
mov edi, dword [ebp + 0x10]
mov ebx, eax
test ebx, ebx
je 0x41286c
jmp 0x412891
mov dword [esi + ecx*8], eax
jmp 0x4128b8
call fcn.00436196
mov esi, edi
call fcn.0041e732
mov dword [esi], ebp
mov dword [esi + 0x1c], ebp
mov eax, esi
call fcn.00407e72
push 0x60
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x160]
push 0
push eax
push 0x4460b0
lea ecx, [ebp - 0x68]
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x446004], 0
jne 0x412915
mov eax, dword [ebp + 8]
mov esi, dword [ecx + 0x6c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [eax], 1
mov eax, dword [ebp + 8]
test eax, 0x4000
je 0x41292a
and dword [ebp - 4], 0
push esi
call fcn.0040993b
mov ecx, eax
test edx, edx
je 0x412916
mov esi, dword [0x446178]
add esp, 0xc
lea eax, [esi + 0x1c]
push eax
inc edi
mov edx, eax
sub edx, esi
sar edx, 1
sub ebx, edi
mov edi, dword [ebp - 0x148]
mov dword [ecx], ebx
cmp dword [edi], ebx
je 0x412952
cmp dl, 3
je 0x412952
mov eax, dword [ecx + 4]
mov dword [ecx + 4], edx
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ebx
jne 0x412950
mov ebx, dword [ebx]
test ebx, ebx
jg 0x412967
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 2]
pop esi
pop ebp
ret 4