Function at 0x10037053
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ed96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10037192
mov dword [ebp - 0x24], 0x61dd
mov dword [ebp - 0x44], 0x10008398
cmp dword [ebp - 0x24], 0x641c
jle 0x10037127
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x14], 0
jmp 0x100370b4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x515e
jge 0x1003711d
and dword [ebp - 0x18], 0
jmp 0x100370ca
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x201c
jge 0x1003711b
and dword [ebp - 0x1c], 0
jmp 0x100370e0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x27b5
jge 0x10037119
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, cl
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10616598
call fcn.10021518
jmp 0x100370d9
jmp 0x100370c3
jmp 0x100370ad
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x5fb8
jge 0x10037147
mov edx, dword [ebp - 0x44]
mov ecx, 0x10616598
call fcn.100246df
jmp 0x10037163
or dword [ebp - 4], 0xffffffff
jmp 0x1003716d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
push 0x6640
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0x57f4
push 1
call fcn.100372e1
add esp, 0x14
jmp 0x100372d0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x100372b3
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0xf33e263d
je 0x10037239
mov dword [ebp - 0x28], 1
jmp 0x1003723d
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x2b90f998
je 0x1003724f
mov dword [ebp - 0x30], 1
jmp 0x10037253
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x30]
add ecx, 0x22a
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
imul edx, ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, edx
cmp ecx, dword [eax]
jg 0x1003728b
mov dword [ebp - 0x3c], 1
jmp 0x1003728f
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x100372a2
mov dword [ebp - 0x40], 1
jmp 0x100372a6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x100372d0
push 0
push 0
push 0
push 0x23e5
push 0xbde
push 0
push 0x10da
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret