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

Disassembly:
mov eax, 0x2008
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x2014]
push esi
mov esi, dword [esp + 0x2010]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2030]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov dword [esp + 0x24], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000df2a
lea edx, [esp + 8]
push edx
push esi
call fcn.10002b30
add esp, 8
pop esi
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.1003779c
add esp, 0x2008
ret 0x14
mov ecx, dword [esp + 0x2008]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x2008
ret 0x14

Function at 0x1000df50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2008
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2004], eax
mov ecx, dword [esp + 0x201c]
mov eax, dword [esp + 0x2014]
push esi
mov esi, dword [esp + 0x2010]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x2030]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1000dfcd
lea eax, [esp + 8]
push eax
push esi
call fcn.10002b30
add esp, 8
pop esi
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.1003779c
add esp, 0x2008
ret 0x14
mov ecx, dword [esp + 0x2008]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x2008
ret 0x14

Function at 0x1000e210
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.10002e60
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x1000e231
mov eax, dword [eax]
jmp 0x1000e233
xor eax, eax
push esi
push edi
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [esp + 0x18]
mov edi, eax
test esi, esi
je 0x1000e283
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000e283
test esi, esi
je 0x1000e283
mov eax, dword [esi]
test eax, eax
je 0x1000e26a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e27a
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x1000e290
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x200c], eax
mov eax, dword [esp + 0x2020]
push ebx
push esi
mov esi, dword [esp + 0x2024]
push edi
mov edi, dword [esp + 0x2020]
push eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x18], 0x1000
call fcn.10002e60
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x1000e2e1
mov eax, dword [eax]
jmp 0x1000e2e3
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esp + 0x10]
test eax, eax
sete bl
test esi, esi
je 0x1000e341
lea edx, [esi + 8]
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000e341
test esi, esi
je 0x1000e341
mov eax, dword [esi]
test eax, eax
je 0x1000e328
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e338
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x1000e36a
cmp dword [esp + 0xc], 0
jbe 0x1000e36a
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x1000e35a
cmp eax, 2
jne 0x1000e36a
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10002b30
add esp, 8
jmp 0x1000e36c
xor eax, eax
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x2010
ret 0x10
Function at 0x1000e390
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 0x10], 0
je 0x1000e4fb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000e4fb
push ebp
mov ebp, dword [esp + 8]
push esi
push eax
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.10002e60
mov esi, dword [esp + 0x28]
add esp, 0xc
xor edx, edx
test esi, esi
je 0x1000e3cc
mov ecx, dword [esi]
test ecx, ecx
jne 0x1000e3dd
lea ecx, [esp + 0x1c]
call fcn.10002330
pop esi
or eax, 0xffffffff
pop ebp
ret 0x14
movzx eax, word [ecx]
test ax, ax
je 0x1000e40d
cmp ax, 0x25
jne 0x1000e3f3
inc edx
cmp edx, 2
je 0x1000e40d
jmp 0x1000e401
cmp ax, 0x20
je 0x1000e3ff
cmp ax, 9
jne 0x1000e401
xor edx, edx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x1000e3e5
mov eax, dword [esi]
push ebx
xor ebx, ebx
cmp edx, 2
sete bl
push edi
inc ebx
test eax, eax
je 0x1000e42b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, dword [esp + 0x24]
jmp 0x1000e42d
xor eax, eax
lea edi, [eax + eax]
test esi, esi
je 0x1000e438
mov esi, dword [esi]
jmp 0x1000e43a
xor esi, esi
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.10002e60
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x1000e457
mov eax, dword [eax]
jmp 0x1000e459
xor eax, eax
push edi
push esi
push ebx
push 0
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000e4ba
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x1000e4b2
test esi, esi
je 0x1000e4b2
mov eax, dword [esi]
test eax, eax
je 0x1000e499
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e4a9
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1000e4f2
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x1000e4f2
test esi, esi
je 0x1000e4f2
mov eax, dword [esi]
test eax, eax
je 0x1000e4d9
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e4e9
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 0x14
or eax, 0xffffffff
ret 0x14
Function at 0x1000e510
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000e51e
or eax, 0xffffffff
ret 0x10
push eax
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10002e60
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x1000e53d
mov eax, dword [eax]
jmp 0x1000e53f
xor eax, eax
mov edx, dword [esp + 0xc]
push esi
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [esp + 0x18]
mov edi, eax
test esi, esi
je 0x1000e58f
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000e58f
test esi, esi
je 0x1000e58f
mov eax, dword [esi]
test eax, eax
je 0x1000e576
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e586
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x1000e700
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x200c
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2018]
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x2018]
mov dword [esp + 0xc], ebx
test eax, eax
je 0x1000e76b
push eax
lea eax, [esp + 0x10]
push edi
push eax
mov ebx, 1
call fcn.10002e60
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x1000e750
mov eax, dword [eax]
jmp 0x1000e752
xor eax, eax
push 0x1000
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov byte [esp + 0xb], bl
test eax, eax
jne 0x1000e770
mov byte [esp + 0xb], 0
test bl, 1
je 0x1000e7b7
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000e7b6
lea edx, [esi + 8]
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000e7b6
test esi, esi
je 0x1000e7b6
mov eax, dword [esi]
test eax, eax
je 0x1000e79d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e7ad
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
cmp byte [esp + 0xb], 0
je 0x1000e7ce
lea eax, [esp + 0x10]
push eax
push edi
call fcn.10002b30
add esp, 8
jmp 0x1000e7d0
xor eax, eax
mov ecx, dword [esp + 0x2010]
pop edi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x200c
ret 0xc
Function at 0x1000e7f0
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp word [esp], 0
lea eax, [esp]
je 0x1000e847
lea esp, [esp]
cmp word [eax], 0x5c
jne 0x1000e83e
mov ecx, 0x2f
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x1000e830
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_wcschr]
push edi
lea edx, [esp + 8]
push 0x2f
push edx
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x1000e8b8
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_wcsncpy_s]
push esi
lea esp, [esp]
lea eax, [esp + 0x10]
mov esi, edi
sub esi, eax
sar esi, 1
push esi
mov ecx, eax
push ecx
lea edx, [esp + 0x220]
push 0x104
push edx
call ebp
lea ecx, [esp + 0x228]
xor eax, eax
push ecx
mov word [esp + esi*2 + 0x22c], ax
call dword [sym.imp.MSVCR100.dll__wmkdir]
push 0x2f
add edi, 2
push edi
call ebx
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x1000e870
pop esi
pop ebp
mov ecx, dword [esp + 0x418]
pop edi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x414
ret
Function at 0x1000e8d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x234
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
push esi
mov esi, dword [esp + 0x240]
push 0x1003cd64
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x1000ea8a
push esi
call dword [sym.imp.MSVCR100.dll__wchdir]
add esp, 4
test eax, eax
jne 0x1000ea8a
mov ecx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push ecx
push 1
lea edx, [esp + 0x18]
push 0x1e
push edx
call edi
add esp, 0x10
cmp eax, 1
jne 0x1000ea7b
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fseek]
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_fwrite]
cmp dword [esp + 0x18], 0x4034b50
jne 0x1000ea79
cmp word [esp + 0x20], 0
jne 0x1000ea79
mov ax, word [esp + 0x32]
mov ecx, dword [esp + 0x10]
movzx edx, ax
push ecx
push edx
movzx esi, ax
lea eax, [esp + 0x40]
push 1
push eax
call edi
add esp, 0x10
cmp eax, esi
jne 0x1000ea79
lea edx, [esp + 0x38]
xor ecx, ecx
push edx
mov word [esp + esi*2 + 0x3c], cx
call fcn.1000e7f0
mov ax, word [esp + 0x38]
add esp, 4
test ax, ax
je 0x1000e9c7
mov ecx, dword [esp + 0x10]
movzx eax, ax
push 1
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x1000ea79
movzx edx, word [esp + 0x32]
cmp word [esp + edx*2 + 0x36], 0x2f
je 0x1000ea52
push 0x1003cd5c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x1000ea79
mov eax, dword [esp + 0x2e]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [esp + 0x32]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 1
push esi
call edi
mov ecx, dword [esp + 0x42]
add esp, 0x14
cmp eax, ecx
jne 0x1000ea70
mov edx, dword [esp + 0x14]
push edx
push ecx
push 1
push esi
call ebp
add esp, 0x10
push esi
cmp eax, dword [esp + 0x32]
jne 0x1000ea71
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 8
mov ecx, dword [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x20]
push 0x1e
push edx
call edi
add esp, 0x10
cmp eax, 1
je 0x1000e952
jmp 0x1000ea79
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
pop ebx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop edi
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
call fcn.1003779c
add esp, 0x234
ret
Function at 0x1000ee00
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x2254
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2250], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x2264]
push 0x250
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea ecx, [esp + 0x126c]
push 0x1003ce60
push ecx
call esi
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1260]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000efa3
push ebp
mov ebp, dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov ecx, 0x1003ce5c
lea eax, [esp + 0x3c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000eea6
test dx, dx
je 0x1000eea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000eea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000ee80
xor eax, eax
jmp 0x1000eeab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000ef55
mov ecx, 0x1003ce54
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000eee6
test dx, dx
je 0x1000eee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000eee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000eec0
xor eax, eax
jmp 0x1000eeeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000ef55
lea ecx, [esp + 0x3c]
push ecx
push edi
lea edx, [esp + 0x268]
push str._s_s
push edx
call esi
mov eax, dword [esp + 0x20]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x264]
push ecx
call ebp
test byte [esp + 0x10], 0x10
jne 0x1000ef45
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x1000ef55
push eax
lea eax, [esp + 0x264]
push eax
call fcn.10011980
add esp, 8
jmp 0x1000ef55
lea ecx, [esp + 0x260]
push ecx
call fcn.1000ee00
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1000ee71
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
push edi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov esi, eax
pop ebp
test esi, esi
jne 0x1000ef89
push 0
push edi
call fcn.10011980
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2250]
xor ecx, esp
call fcn.1003779c
add esp, 0x2254
ret
mov ecx, dword [esp + 0x225c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1003779c
add esp, 0x2254
ret
Function at 0x1000f140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f199
mov eax, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.JavaHome
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000f19f
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0xc
ret

Function at 0x1000f1c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x628
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
mov ebx, dword [esp + 0x63c]
push esi
mov esi, dword [esp + 0x634]
mov eax, dword [esi]
mov ecx, dword [eax + 0x7c]
push edi
mov edi, dword [esp + 0x63c]
push ebx
push esi
call ecx
mov edx, dword [esi]
push str._Ljava_lang_Object__V
push str.addElement
push eax
mov eax, dword [edx + 0x84]
push esi
call eax
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f330
push ebp
xor ebp, ebp
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
push ebp
push ecx
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000f324
mov ecx, dword [esp + 0x644]
lea eax, [esp + 0x1c]
jmp 0x1000f270
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000f296
test dx, dx
je 0x1000f292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000f296
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000f270
xor eax, eax
jmp 0x1000f29b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
js 0x1000f31e
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x434]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea ecx, [esp + 0x238]
push 0
push ecx
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x44c]
push eax
call fcn.1000f140
add esp, 0x24
test eax, eax
je 0x1000f31e
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.10002b30
mov edx, dword [esp + 0x18]
push eax
push edx
push ebx
push esi
call fcn.1000c6b0
lea eax, [esp + 0x23c]
push eax
push esi
call fcn.10002b30
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebx
push esi
call fcn.1000c6b0
add esp, 0x30
inc ebp
jmp 0x1000f232
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov ecx, dword [esp + 0x630]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x628
ret
Function at 0x1000ff60
Capabilities:
Initialize iwebbrowser2

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x1000ff75
xor al, al
pop edi
add esp, 0x20
ret 0xc
push ebx
push ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x38]
push eax
push 0x1003d1cc
push 0x17
push 0
push 0x10046020
mov dword [esp + 0x4c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, eax
test ebp, ebp
js 0x10010044
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x64]
push edi
push esi
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push 0
push edi
push esi
call ecx
lea edx, [esp + 0x10]
push edx
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
push ebx
lea ecx, [esp + 0x24]
mov word [esp + 0x24], ax
call fcn.10030fd0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push edx
push edx
push edx
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2a8]
push ebx
push edi
push esi
mov ebp, eax
call edx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call ebx
test edi, edi
je 0x10010043
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push edi
push esi
call eax
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x38]
test ebp, ebp
setns bl
test eax, eax
je 0x1001005f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
mov al, bl
pop ebx
pop edi
add esp, 0x20
ret 0xc

Function at 0x10010cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x10010cd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10010d12
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10010d0e
lea ebx, [ebx]
cmp esi, eax
jae 0x10010d12
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10010d00
cmp esi, eax
jb 0x10010d18
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10011130
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1254]
mov eax, 0x1254
call fcn.100378e0
push 0xfffffffffffffffe
push 0x10047ae8
push 0x10037882
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1004f860]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1260]
mov ecx, dword [ebp + 0x1264]
xor edx, edx
mov word [ebp + 0x250], dx
push ecx
push eax
push str._s_s
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x250]
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10011295
push eax
call dword [sym.imp.kernel32.dll_FindClose]
xor ebx, ebx
push ebx
lea eax, [ebp + 0x250]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x10011295
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x10011295
mov dword [ebp - 4], ebx
push edi
push esi
push ebx
lea eax, [ebp + 0x250]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10011289
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push str.StringFileInfo040904e4ProductVersion
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10011289
mov ecx, dword [ebp + 0x125c]
mov eax, dword [ebp - 0x20]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10011266
cmp dx, bx
je 0x10011262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10011266
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10011240
xor eax, eax
jmp 0x1001126b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10011289
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1004f860
call sub.MSVCR100.dll__local_unwind4
add esp, 0xc
mov eax, 1
jmp 0x10011297
mov dword [ebp - 4], 0xfffffffe
call fcn.100112bd
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1250]
xor ecx, ebp
call fcn.1003779c
lea esp, [ebp + 0x1254]
pop ebp
ret