joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1c2170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x81c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf_s]
push esi
push edi
mov edi, dword [esp + 0x82c]
push edi
push str.SOFTWAREJavaSoftJava_Plug_in_s
lea eax, [esp + 0x2c]
push 0x800
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 1
call ebx
add esp, 0x10
push 0x20019
lea ecx, [esp + 0x28]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.6d1b2d40
test eax, eax
je 0x6d1c2212
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x6d1c21f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x81c
ret
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.UseJava2IExplorer
push esi
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d1c226a
cmp dword [esp + 0x10], 4
jne 0x6d1c226a
mov edx, dword [esp + 0xc]
push edx
push edi
push str.SOFTWAREJavaSoftJava_Plug_in_sUseJava2IExplorer_is__d_n
lea eax, [esp + 0x30]
push 0x800
push eax
call ebx
lea ecx, [esp + 0x38]
push ecx
call fcn.6d1c20b0
add esp, 0x18
mov edi, dword [esp + 0xc]
test esi, esi
je 0x6d1c2279
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x824]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x81c
ret
Function at 0x6d1c23b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x81c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [esp + 0x820]
push esi
push 0x20019
xor esi, esi
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x800
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
call fcn.6d1b2d40
test eax, eax
je 0x6d1c242d
mov eax, dword [esp + 8]
cmp eax, esi
je 0x6d1c2415
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x81c
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x6d1c2497
call fcn.6d1c1ff0
test eax, eax
je 0x6d1c2471
mov edx, dword [0x6d1d56bc]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.MSVCR100.dll_fprintf_s]
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
inc esi
push esi
push edi
mov dword [esp + 0x2c], 0x800
call ebx
test eax, eax
je 0x6d1c2453
mov ebx, 1
cmp eax, 0x103
je 0x6d1c24a7
mov ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x6d1c24b6
push edi
call esi
xor edi, edi
mov ecx, dword [esp + 0x830]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push 0x6d1ccc48
push ecx
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
test edi, edi
je 0x6d1c24dd
push edi
call esi
mov ecx, dword [esp + 0x824]
pop edi
mov eax, ebx
pop ebx
pop esi
xor ecx, esp
call fcn.6d1c932c
add esp, 0x81c
ret
Function at 0x6d1c2500
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x814
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x800
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.6d1b2d40
test eax, eax
je 0x6d1c2585
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x6d1c256d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x814
ret
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push edi
xor esi, esi
call ebp
test eax, eax
jne 0x6d1c260b
mov edi, edi
inc esi
mov ecx, str.1.6.0_10
lea eax, [esp + 0x20]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x6d1c25e0
cmp dl, bl
je 0x6d1c25dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x6d1c25e0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x6d1c25c0
xor eax, eax
jmp 0x6d1c25e5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d1c2631
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push edi
mov dword [esp + 0x30], 0x800
call ebp
test eax, eax
je 0x6d1c25b0
cmp edi, ebx
je 0x6d1c2616
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x814
ret
cmp edi, ebx
je 0x6d1c263c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x6d1c2618
Function at 0x6d1c2650
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x101c
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x1018], eax
mov eax, dword [esp + 0x1020]
push esi
push 0x7ff
xor esi, esi
lea ecx, [esp + 0x21]
push esi
push ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
call sub.MSVCR100.dll_memset
push 0x7ff
lea edx, [esp + 0x82d]
push esi
push edx
mov byte [esp + 0x834], 0
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0x20019
push str.SOFTWAREOracleJavaFX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0x800
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
call fcn.6d1b2d40
test eax, eax
je 0x6d1c2704
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x6d1c26ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x101c
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push edi
call ebx
test eax, eax
jne 0x6d1c2794
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_strcat_s]
mov dword [esp + 0x14], 1
lea esp, [esp]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x82c]
push 0x800
push ecx
inc esi
call ebp
push 0x6d1cd240
lea edx, [esp + 0x838]
push 0x800
push edx
call ebp
add esp, 0x18
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push edi
mov dword [esp + 0x30], 0x800
call ebx
test eax, eax
je 0x6d1c2740
xor esi, esi
pop ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x6d1c27a3
push edi
call ebx
xor edi, edi
mov ecx, dword [esp + 0x1030]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x824]
push eax
push 0x6d1ccc48
push ecx
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
cmp edi, esi
je 0x6d1c27cd
push edi
call ebx
mov ecx, dword [esp + 0x1024]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
xor ecx, esp
call fcn.6d1c932c
add esp, 0x101c
ret
Function at 0x6d1c2a80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.6d1b3d80
test eax, eax
jne 0x6d1c2af9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 8]
push edi
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push ecx
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test esi, esi
je 0x6d1c2af1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x6d1c2b08
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret

Function at 0x6d1c2b10
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.6d1b3d80
test eax, eax
jne 0x6d1c2b91
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x6d1c2b62
lea esi, [eax + 0xd]
jmp 0x6d1c2b7e
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [esp + 0x20]
inc eax
push eax
push esi
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test edi, edi
je 0x6d1c2b89
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
mov eax, dword [esp]
test eax, eax
je 0x6d1c2b9f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret

Function at 0x6d1c2bb0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 0x2001f
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.6d1b2d40
mov esi, eax
test esi, esi
je 0x6d1c2c00
mov eax, dword [esp + 4]
test eax, eax
je 0x6d1c2c3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x6d1c2c14
mov esi, 0xd
jmp 0x6d1c2c30
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [esp + 0x20]
inc eax
push eax
push esi
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test edi, edi
je 0x6d1c2c3b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x6d1c4190
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
test eax, eax
jne 0x6d1c4203
test edi, edi
jne 0x6d1c41c9
lea eax, [esp + 0xc]
push eax
push 0x2001f
push edi
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x6d1c41f4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d1c424e
mov ebx, 1
jmp 0x6d1c4207
mov dword [esp + 0xc], eax
test eax, eax
je 0x6d1c4243
test edi, edi
jne 0x6d1c421d
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x6d1c423a
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb esi, esi
mov eax, dword [esp + 0xc]
inc esi
test ebx, ebx
je 0x6d1c424e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x6d1c4260
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
xor esi, esi
cmp eax, esi
je 0x6d1c428a
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x6d1c42e4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
neg eax
push edx
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0x6d1c4370
Capabilities:
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
xor esi, esi
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x6d1c4394
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x6d1c43e0
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
neg eax
push edx
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret

Function at 0x6d1c43f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x98], eax
push 0x94
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x6d1c44a3
mov eax, dword [esp + 8]
cmp eax, 6
jne 0x6d1c445d
mov eax, 1
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x9c
ret
cmp eax, 5
jne 0x6d1c44a3
cmp dword [esp + 0xc], 1
jae 0x6d1c4443
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d1c4470
sub eax, edx
je 0x6d1c4496
test eax, eax
je 0x6d1c4496
lea edx, [esp]
push edx
lea eax, [esp + 0x1c]
push str.Service_Pack__d
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x6d1c44a3
cmp dword [esp], 2
jae 0x6d1c4443
mov ecx, dword [esp + 0x98]
xor ecx, esp
xor eax, eax
call fcn.6d1c932c
add esp, 0x9c
ret

Function at 0x6d1c44c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x94], eax
push 0x94
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x6d1c4534
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x6d1c4524
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x98
ret
cmp eax, 5
jne 0x6d1c4534
mov eax, 1
cmp dword [esp + 8], eax
je 0x6d1c4536
xor eax, eax
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x98
ret
Function at 0x6d1c45e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x1c], str.Java_Update_Scheduler
cmp dword [esp + 0x5c], eax
jne 0x6d1c462a
xor ecx, ecx
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], cx
mov ecx, dword [esp + 0x58]
push esi
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x6d1c466c
mov edx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x6d1c4680
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6d1c46a4
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LocalFileName
push ecx
call esi
mov edx, dword [esp + 4]
push str.InstallOptions
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateDescription
push eax
call esi
mov ecx, dword [esp + 4]
push str.UpdateTitle1
push ecx
call esi
mov edx, dword [esp + 4]
push str.UpdateTitle2
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateMoreInfoUrl
push eax
call esi
mov ecx, dword [esp + 4]
push str.BalloonTitle
push ecx
call esi
mov edx, dword [esp + 4]
push str.BalloonTip
push edx
call esi
mov eax, dword [esp + 4]
push str.DlgCaption
push eax
call esi
mov ecx, dword [esp + 4]
push str.MoreInfoTxt
push ecx
call esi
mov edx, dword [esp + 4]
push str.PreDownld
push edx
call esi
mov eax, dword [esp + 4]
push str.UrlInfo
push eax
call esi
mov ecx, dword [esp + 4]
push str.NumTries
push ecx
call esi
mov edx, dword [esp + 4]
push str.LastUDCheckTime
push edx
call esi
mov eax, dword [esp + 4]
push str.VersionXmlChecksum
push eax
call esi
mov ecx, dword [esp + 4]
push str.Country
push ecx
call esi
call fcn.6d1c44c0
test eax, eax
je 0x6d1c477f
mov edx, dword [esp + 4]
push str.TransferJobID
push edx
call esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x6d1c47d0
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c484a
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.NewJREVersion
push ecx
call esi
mov edx, dword [esp + 4]
push str.VisitorId
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateDetected
push eax
call esi
mov ecx, dword [esp + 4]
push str.UpdAvailNotifyCnt
push ecx
call esi
mov edx, dword [esp + 4]
push str.UpdAvailNotifyTime
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdAvailElapsed
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret

Function at 0x6d1c4850
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
call fcn.6d1b30d0
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 4
mov esi, eax
push str.AllocateAndInitializeSid
push esi
call edi
push 0x6d1ce178
push esi
mov dword [esp + 0x18], eax
call edi
push str.GetTokenInformation
push esi
mov dword [esp + 0x30], eax
call edi
push str.EqualSid
push esi
mov ebp, eax
call edi
push str.FreeSid
push esi
mov dword [esp + 0x28], eax
call edi
xor ebx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], 0x500
mov dword [esp + 0x48], ebx
call dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push 8
mov dword [esp + 0x1c], ebx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push 2
push ecx
mov dword [esp + 0x2c], ebx
call ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
push eax
push ecx
push edi
push 2
push edx
call ebp
xor ebp, ebp
cmp dword [edi], ebx
jbe 0x6d1c495e
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [esp + 0x28]
test eax, eax
jne 0x6d1c495e
add dword [esp + 0x10], 8
inc ebp
cmp ebp, dword [edi]
jb 0x6d1c4940
xor ecx, ecx
cmp ebp, dword [edi]
push edi
setne cl
mov ebp, ecx
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
push eax
call dword [esp + 0x28]
cmp esi, ebx
je 0x6d1c4990
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x28
ret
Function at 0x6d1c49b0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x6d1c4a1b
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x6d1c4a1b
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.6d1c932c
add esp, 0xa0
ret
cmp dword [esp + 0x14], 2
jne 0x6d1c4a4b
mov eax, dword [esp + 8]
cmp eax, 6
jae 0x6d1c4a4b
cmp eax, 4
jb 0x6d1c4a4b
call fcn.6d1c4850
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.6d1c932c
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.6d1c932c
add esp, 0xa0
ret