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

Disassembly:
push ebp
sub esp, 0x4a4
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x4a4], eax
push 0xc
mov eax, 0x1004fec7
call fcn.10037e76
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000682d
cmp dword [ebp + 0x10], 2
jb 0x10006944
xor ebx, ebx
mov byte [ebp - 0xd], bl
cmp dword [0x1006a458], ebx
je 0x100068cc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x10056828
push 4
push ebx
push 0x10056848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x100068b5
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100068b5
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jne 0x100068b5
cmp dword [ebp - 0x18], ebx
je 0x100068b5
push dword [ebp - 0x18]
call fcn.1003887a
pop ecx
cmp eax, 0xf3
jae 0x100068ac
push dword [ebp - 0x18]
lea eax, [ebp + 0x29c]
push eax
call fcn.1003ae7a
pop ecx
pop ecx
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001e586
cmp byte [ebp - 0xd], bl
jne 0x1000691a
mov eax, dword [0x10069bc4]
cmp eax, ebx
je 0x100069b2
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x29c]
push ecx
push ebx
push ebx
push str.ExePath
push eax
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100069b2
lea eax, [ebp + 0x29c]
push 0x5c
push eax
call fcn.100394a0
pop ecx
pop ecx
cmp eax, ebx
je 0x1000691a
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x29c]
push eax
lea eax, [ebp + 0x94]
push str._sidmbrbtn.dll
push eax
call fcn.100047e3
add esp, 0xc
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x100069ad
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x198]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x10055cc4
push dword [0x10069bc4]
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100069b2
lea eax, [ebp + 0x198]
push 0x5c
push eax
call fcn.10039430
pop ecx
pop ecx
cmp eax, ebx
je 0x100069b2
mov byte [eax], bl
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp + 0x3a0]
push 0x10055dc4
push eax
call fcn.1003b272
add esp, 0xc
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100698e8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4a4]
xor ecx, ebp
call fcn.10037e67
add ebp, 0x4a8
leave
ret
Function at 0x10007cd6
Capabilities:
Get geographical location

Disassembly:
push 0x14
mov eax, 0x10050136
call fcn.10037ea9
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
mov esi, 0x400
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003b610
mov dword [ebp - 0x18], eax
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, dword [ebp + 0xc]
sbb eax, edx
push ebx
push esi
push eax
push ecx
call fcn.1003b560
mov edi, eax
and edi, 0x800003ff
jns 0x10007d28
dec edi
or edi, 0xfffffc00
inc edi
mov eax, edi
shl eax, 0xa
cdq
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, dword [ebp + 0xc]
sbb eax, edx
sub ecx, dword [ebp - 0x20]
sbb eax, dword [ebp - 0x1c]
push ebx
push 0x100000
push eax
push ecx
call fcn.1003b560
mov ebx, eax
and ebx, 0x800003ff
jns 0x10007d5d
dec ebx
or ebx, 0xfffffc00
inc ebx
push 0
push 0x40000000
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003b560
mov dword [ebp - 0x1c], eax
push 3
lea eax, [ebp - 0x14]
push eax
push 0xe
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x10007d95
push 0x10055e3c
lea eax, [ebp - 0x14]
push eax
call fcn.10037fe0
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0
jne 0x10007e36
mov eax, 0x3e7
cmp ebx, eax
jg 0x10007e36
test ebx, ebx
jne 0x10007e05
cmp edi, eax
jg 0x10007e05
mov ecx, 0x1006a488
test edi, edi
je 0x10007dea
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov esi, eax
sar esi, 0xa
call fcn.10007658
push eax
mov eax, esi
cdq
push 0xa
pop ecx
idiv ecx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
jmp 0x10007e67
call fcn.10007684
push eax
push dword [ebp - 0x18]
push str._d___s
push dword [ebp + 0x10]
call fcn.1003b272
add esp, 0x10
jmp 0x10007e77
mov eax, edi
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov esi, eax
sar esi, 0xa
mov ecx, 0x1006a488
call fcn.1000762c
push eax
mov eax, esi
cdq
push 0xa
pop ecx
idiv ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
jmp 0x10007e67
mov eax, ebx
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov esi, eax
sar esi, 0xa
mov ecx, 0x1006a488
call fcn.10007600
push eax
mov eax, esi
cdq
push 0xa
pop ecx
idiv ecx
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push str._d_s_02d___s
push dword [ebp + 0x10]
call fcn.1003b272
add esp, 0x18
or dword [ebp - 4], 0xffffffff
call fcn.10037f4e
ret
Function at 0x100113da
Capabilities:
Create thread

Disassembly:
push 0x110
mov eax, 0x100510d0
call fcn.10037f15
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10011350
test eax, eax
je 0x10011454
push 0x104
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x15], bl
push 0x5c
lea eax, [ebp - 0x118]
push eax
call fcn.10039430
pop ecx
pop ecx
cmp eax, ebx
je 0x1001143a
push str.explorer.exe
inc eax
push eax
call fcn.10038300
pop ecx
pop ecx
test eax, eax
je 0x10011454
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push 0x1000fb7a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
call fcn.10037f71
ret
Function at 0x100161e2
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10016230
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x10016241
push 0xd
pop eax
jmp 0x1001626b
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10016244
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x1001811a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xc
mov eax, 0x10051bc7
call fcn.10037ea9
and dword [ebp - 4], 0
mov eax, dword [0x10067420]
cmp eax, 0xffffffff
je 0x100181e1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x10018196
push 0x20
call fcn.10038d8f
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10018166
call fcn.10017023
mov esi, eax
jmp 0x10018168
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100181e1
push esi
push dword [0x10067420]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x10018192
push 1
mov ecx, esi
call fcn.10016d6f
xor esi, esi
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100181e1
mov dword [esi], 1
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x100181cb
push dword [ebp + 0x10]
lea ecx, [esi + 0x18]
call fcn.10001f52
jmp 0x100181e1
add esi, 0x18
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x100181e1
mov ecx, esi
call fcn.1000f899
or dword [ebp - 4], 0xffffffff
call fcn.10037f4e
ret
Function at 0x1001b07d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 0
push 1
mov ecx, 0x10069b48
call fcn.1001aedd
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1001b0ed
cmp dword [ebp - 0x10], 2
jne 0x1001b0ed
cmp dword [ebp - 0x1c], 6
jb 0x1001b0ed
cmp dword [ebp - 0x18], 0
ja 0x1001b0d2
cmp dword [ebp - 0x1c], 6
jbe 0x1001b0ed
sub esp, 0x10
mov edi, esp
mov esi, 0x10056878
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10056808
movsd dword es:[edi], dword [esi]
call fcn.1001682e
add esp, 0x14
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10037e67
add ebp, 0x78
leave
ret
Function at 0x1001ded4
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x364]
sub esp, 0x3e4
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x360], eax
cmp dword [0x10069bc4], 0
je 0x1001defc
mov al, 1
jmp 0x1001df60
push ebx
push esi
push edi
mov ebx, 0x10069bc4
push ebx
push 0xf003f
push 0
mov edi, str.SoftwareDownloadManager_
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1001df75
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1001df75
xor eax, eax
push eax
push ebx
push eax
push 0xf003f
push eax
push eax
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001e0b8
call fcn.1001d375
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x360]
xor ecx, ebp
call fcn.10037e67
add ebp, 0x364
leave
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x2a0]
push eax
push 0
push 0
push str.idmvers
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x40
call esi
mov dword [ebp - 0x78], eax
cmp eax, 2
jne 0x1001dfb2
call fcn.1001d375
xor ebx, ebx
jmp 0x1001e0af
xor ebx, ebx
cmp eax, ebx
je 0x1001e0af
cmp dword [0x1006a458], ebx
jne 0x1001e0af
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001e0af
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push str.ProgramFilesDir
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x104
call esi
test eax, eax
jne 0x1001e00c
inc edi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x1001e0af
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x98]
push str._sInternet_Download_Manager
push eax
call fcn.1003b272
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001e0af
lea eax, [ebp + 0x98]
push str.GlobalErrors.log
push eax
call fcn.10037ff0
lea eax, [ebp + 0x98]
push 0x10057818
push eax
call fcn.1003b25b
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1001e0af
push dword [ebp - 0x78]
lea eax, [ebp + 0x2e0]
push 0x100577e0
push eax
call fcn.1003b272
add esp, 0xc
lea eax, [ebp + 0x2e0]
push esi
push eax
call fcn.100380e0
pop ecx
push eax
lea eax, [ebp + 0x2e0]
push 1
push eax
call fcn.1003ccf0
push esi
call fcn.1003afd3
add esp, 0x14
cmp dword [ebp - 0x74], ebx
je 0x1001df5b
xor al, al
jmp 0x1001df5d
Function at 0x1001e8ed
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10052726
call fcn.10037e76
xor ebx, ebx
cmp dword [0x1006a458], ebx
je 0x1001e9bd
cmp byte [0x10069c48], bl
je 0x1001e919
mov al, byte [0x10069c47]
jmp 0x1001ea30
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0x10056828
push 4
push ebx
push 0x10056848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x1001e9ab
cmp dword [ebp - 0x10], ebx
je 0x1001e9ab
push str.IEXPLORE
lea ecx, [ebp - 0x14]
call fcn.10001f24
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jne 0x1001e99e
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x18], ebx
setne bl
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
mov al, bl
jmp 0x1001ea30
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
cmp dword [0x10069bc4], ebx
jne 0x1001e9d2
call fcn.1001ded4
test al, al
jne 0x1001e9d2
xor al, al
jmp 0x1001ea30
cmp dword [0x10069bc8], ebx
jne 0x1001ea04
push 0x10069bc8
push 1
push ebx
push str.SoftwareDownloadManagerIDMBIIEXPLORE
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001e9fc
mov dword [0x10069bc8], ebx
cmp dword [0x10069bc8], ebx
je 0x1001e9ce
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 0x100578fc
push dword [0x10069bc8]
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001e9ce
cmp dword [ebp - 0x20], ebx
setne al
call fcn.10037f4e
ret
Function at 0x100203f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x10052a97
call fcn.10037e76
xor edi, edi
xor esi, esi
inc edi
cmp dword [0x1006a458], esi
je 0x10020480
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
push 0x10056828
push 4
push esi
push 0x10056848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jne 0x1002046e
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x1002046e
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jne 0x1002046e
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
cmp dword [ebp - 0x14], 2
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
mov eax, esi
jmp 0x100204ef
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001e586
cmp dword [0x10069bd0], esi
jne 0x100204c2
cmp dword [0x10069bc8], esi
jne 0x10020495
call fcn.1001e8ed
push 0x10069bd0
push edi
push esi
push str.SoftwareDownloadManagerIDMBIIEXPLOREDwnlPanel
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100204b6
mov dword [0x10069bd0], esi
cmp dword [0x10069bd0], esi
jne 0x100204c2
mov eax, edi
jmp 0x100204ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push str.PanelView
push dword [0x10069bd0]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100204be
cmp dword [ebp - 0x1c], 2
setne al
call fcn.10037f4e
ret
Function at 0x10026c13
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 8
mov eax, 0x1005350a
call fcn.10037ea9
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x10], bl
jne 0x10026d0f
mov byte [esi + 0x10], 1
mov eax, dword [0x10069bc4]
cmp eax, ebx
je 0x10026d0f
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x904]
push ecx
push ebx
push ebx
push str.AppDataIDMFolder
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10026d0f
lea eax, [ebp + 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10026d0f
lea eax, [ebp + 0x904]
push eax
call fcn.100380e0
pop ecx
mov dword [ebp - 0x14], eax
cmp byte [ebp + eax + 0x903], 0x5c
mov eax, 0x10055bd4
jne 0x10026cb6
mov eax, 0x10055e42
push str.sts_list2.dat
push eax
lea eax, [ebp + 0x904]
push eax
push str._s_s_s
lea eax, [ebp + 0x800]
push eax
call fcn.1003b272
push 0x10055c94
lea eax, [ebp + 0x800]
push eax
call fcn.1003b25b
add esp, 0x1c
mov edi, eax
cmp edi, ebx
je 0x10026d0f
push edi
push 0x800
lea eax, [ebp]
push eax
call fcn.1003b04f
add esp, 0xc
test eax, eax
jne 0x10026d32
push edi
call fcn.1003afd3
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.10037e67
add ebp, 0xa0c
leave
ret
push 0xd
lea eax, [ebp]
push eax
call fcn.100378f0
pop ecx
pop ecx
cmp eax, ebx
je 0x10026d45
mov byte [eax], bl
push 0xa
lea eax, [ebp]
push eax
call fcn.100378f0
pop ecx
pop ecx
cmp eax, ebx
je 0x10026d58
mov byte [eax], bl
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10026af3
jmp 0x10026cee

Function at 0x10027afa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.100380e0
pop ecx
xor ecx, ecx
test eax, eax
jle 0x10027b15
xor byte [ecx + esi], 0xf
inc ecx
cmp ecx, eax
jl 0x10027b0c
pop esi
ret
Function at 0x10027c5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
xor ebx, ebx
cmp dword [0x1006a468], ebx
jne 0x10027dbb
cmp dword [0x1006a464], ebx
jne 0x10027da5
cmp dword [0x10069bc4], ebx
jne 0x10027ca8
call fcn.1001ded4
test al, al
je 0x10027dbb
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10027cc3
cmp dword [ebp - 0x6c], 2
jb 0x10027d31
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x220]
push eax
push ebx
push ebx
push str.ExePath
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x220]
push 0x5c
push eax
call fcn.100394a0
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x220]
push eax
lea eax, [ebp + 0x18]
push str._sidmftype.dll
push eax
call fcn.100047e3
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10027d98
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x11c]
push eax
push ebx
push ebx
push 0x10055cc4
push dword [0x10069bc4]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10027d9d
lea eax, [ebp + 0x11c]
push 0x5c
push eax
call fcn.10039430
pop ecx
pop ecx
cmp eax, ebx
je 0x10027d9d
mov byte [eax], bl
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x324]
push 0x100587b4
push eax
call fcn.1003b272
add esp, 0xc
lea eax, [ebp + 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1006a464], eax
cmp dword [0x1006a464], ebx
je 0x10027dbb
push str.IDMFileType
push dword [0x1006a464]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006a468], eax
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
pop ebx
call fcn.10037e67
add ebp, 0x42c
leave
ret
Function at 0x10028910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x100538c3
call fcn.10037ea9
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov edi, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
call edi
test eax, eax
jne 0x10028977
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10028977
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.10037a76
pop ecx
mov esi, eax
cmp esi, ebx
je 0x10028977
mov eax, dword [ebp - 0x14]
mov byte [esi + eax], bl
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1002897f
push esi
call fcn.100378d0
pop ecx
xor eax, eax
call fcn.10037f4e
ret
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
je 0x10028a1d
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10028a1d
push dword [esi + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10002ef0
mov dword [ebp - 0x18], 1
cmp dword [esi + 0x48], ebx
je 0x100289bf
push dword [esi + 0x48]
mov ecx, dword [ebp + 0x10]
call fcn.10002ef0
cmp dword [esi + 0x40], ebx
je 0x100289fe
mov eax, dword [esi + 0x44]
cmp eax, ebx
jbe 0x100289fe
inc eax
push eax
call fcn.10037a76
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100289fe
push dword [esi + 0x44]
push dword [esi + 0x40]
push edi
call fcn.10038490
add esp, 0xc
mov eax, dword [esi + 0x44]
mov byte [edi + eax], bl
push edi
mov ecx, dword [ebp + 0x14]
call fcn.10002ef0
push edi
call fcn.10037fd1
pop ecx
push 1
push ebx
push ebx
push dword [esi + 0x1c]
call fcn.1003bd00
mov ecx, eax
mov eax, dword [esi + 0x18]
xor edi, edi
add ecx, eax
adc edx, edi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 4], 1
push esi
call fcn.100378d0
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
jmp 0x10028979
Function at 0x10028f0a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x10053909
call fcn.10037e76
mov edi, dword [ebp + 0x80c]
push str.____
push edi
mov dword [ebp - 0x1c], edi
call fcn.100379b0
pop ecx
pop ecx
test eax, eax
jne 0x100290a8
xor ebx, ebx
mov byte [ebp - 0xd], bl
mov esi, 0x800
cmp dword [0x1006a458], ebx
je 0x10029004
cmp byte [0x10069c49], bl
je 0x10028f7f
lea eax, [ebp]
push 0x10069c4a
push eax
call fcn.10037fe0
pop ecx
pop ecx
jmp 0x1002903b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x10056828
push 4
push ebx
push 0x10056848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x10028fed
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10028fed
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jne 0x10028fed
cmp dword [ebp - 0x18], ebx
je 0x10028fed
push ebx
push ebx
push esi
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x10028fe4
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1001e586
cmp byte [ebp - 0xd], bl
jne 0x1002903b
cmp dword [0x10069bc4], ebx
jne 0x10029019
call fcn.1001ded4
test al, al
je 0x100290a8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push ebx
push ebx
push str.Extensions
push dword [0x10069bc4]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100290a8
push edi
lea esi, [ebp]
call fcn.100380e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x100290a8
push edi
push dword [ebp - 0x1c]
push esi
call fcn.1003c1e6
add esp, 0xc
test eax, eax
jne 0x10029067
mov al, byte [edi + esi]
cmp al, 0x20
je 0x100290cd
cmp al, bl
je 0x100290cd
push 0x100588c0
push esi
call fcn.100379f0
pop ecx
pop ecx
cmp eax, ebx
je 0x10029092
lea ecx, [edi + esi]
cmp ecx, eax
jbe 0x10029092
sub eax, esi
push eax
push dword [ebp - 0x1c]
push esi
call fcn.1003c1e6
add esp, 0xc
test eax, eax
je 0x100290cd
push 0x10055e40
push esi
call fcn.100379f0
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x100290a8
inc esi
jne 0x1002904b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.10037e67
add ebp, 0x804
leave
ret
mov al, 1
jmp 0x100290aa