Function at 0x1c21340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
test esi, esi
jne 0x1c2135e
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, dword [ebx]
push dword [ecx + 0x78]
mov ecx, ebx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1c21354
mov eax, dword [ebp + 8]
push edi
cmp eax, 0xffff
ja 0x1c21392
pop edi
mov word [esi], ax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
push dword [ecx + 0x20]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 8]
mov edi, eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ecx + 0x18]
lea ebx, [eax + ecx*4]
cmp eax, ebx
je 0x1c21406
nop
mov eax, ebx
sub eax, edi
sar eax, 2
mov eax, eax
test eax, eax
jns 0x1c213c0
add eax, 1
sar eax, 1
mov ecx, dword [ebp - 4]
lea esi, [edi + eax*4]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov edx, ecx
mov cl, byte [ecx]
test cl, cl
je 0x1c213ed
nop word [eax + eax]
cmp cl, byte [eax]
jne 0x1c213ed
mov cl, byte [edx + 1]
inc edx
inc eax
test cl, cl
jne 0x1c213e0
movzx eax, byte [eax]
movzx ecx, byte [edx]
sub ecx, eax
je 0x1c21411
test ecx, ecx
jle 0x1c21400
lea edi, [esi + 4]
jmp 0x1c21402
mov ebx, esi
cmp edi, ebx
jne 0x1c213b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, dword [ecx]
push dword [ebx + 0x24]
call dword [eax + 4]
sub esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar esi, 2
pop edi
mov ax, word [eax + esi*2]
add ax, word [ebx + 0x10]
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1c21440
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x1c21450
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1c2144d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x1c2144d
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret

Function at 0x1c2155f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], 1
mov dword [ebp + 0xc], esi
jne 0x1c2158f
push 4
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 4
push esi
push str.failed_count
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
jmp 0x1c215ed
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 4
push eax
push esi
push esi
mov ebx, str.failed_count
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x1c215bf
test eax, eax
jne 0x1c215e9
mov esi, dword [ebp + 0xc]
inc esi
push esi
push ebx
push edi
mov dword [ebp + 0xc], esi
call fcn.01c21818
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, dword [0x1c34ae8]
jb 0x1c215e9
push 3
push str.state
push edi
call fcn.01c21818
add esp, 0xc
pop edi
xor al, al
pop ebx
pop esi
mov esp, ebp
pop ebp
ret