joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d981
Capabilities:
Get hostname

Disassembly:
push 0x168
mov eax, 0x1007eb06
call fcn.10057ca2
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x16c], eax
call fcn.10002060
push eax
lea ecx, [ebp - 0x168]
call fcn.10001827
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002060
push eax
lea ecx, [ebp - 0x164]
call fcn.10001827
mov byte [ebp - 4], 1
call fcn.10002060
push eax
lea ecx, [ebp - 0x160]
call fcn.10001827
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
xor eax, eax
mov ecx, 0x1000
stosd dword es:[edi], eax
mov dword [ebp - 0x170], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.10001c05
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x164]
call fcn.100029e4
push esi
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.100027c1
add esp, 0xc
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.10002970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.1000210b
push 3
push dword [ebp - 0x160]
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
call fcn.100012f5
mov byte [ebp - 4], 4
push dword [ebp - 0xdc]
call fcn.100013f3
pop ecx
push eax
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x168]
call fcn.100017ad
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xdc], eax
je 0x1000dab9
push dword [ebp - 0xdc]
call fcn.1005c919
pop ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.10002a10
mov eax, dword [ebp - 0x168]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100032d6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1000337c
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x34]
add esp, 0x18
mov edx, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
cmp edx, 0x21
jae 0x1000db33
movzx ecx, byte [ebp + ebx - 0x20]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc ebx
mov al, byte [ebp + eax - 0x34]
mov byte [ebp + edx - 0x58], al
mov al, byte [ebp + ecx - 0x34]
mov byte [ebp + edx - 0x57], al
add edx, 2
cmp ebx, 0x10
jb 0x1000db08
lea eax, [ebp - 0x158]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x15c]
push 3
lea eax, [ebp - 0x58]
push eax
call fcn.100014bc
mov byte [ebp - 4], 5
push dword [ebp - 0x15c]
call fcn.10001954
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x160]
call fcn.10001d6b
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x15c], eax
je 0x1000db90
push dword [ebp - 0x15c]
call fcn.1005c919
pop ecx
mov esi, dword [ebp - 0x174]
lea ecx, [ebp - 0x160]
push 0x10
push 0xa
push esi
call fcn.100028df
mov ecx, dword [ebp - 0x160]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x164]
add ecx, 0xfffffff0
call fcn.1000210b
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, esi
call fcn.10057c4c
ret
Function at 0x1000dcd6
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x1007e6e5
call fcn.10057c6e
mov edi, edx
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.10001a8b
and dword [ebp - 4], 0
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
call fcn.10057c37
ret

Function at 0x1000e4c2
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1007eca4
call fcn.10057c6e
call fcn.10002060
push eax
lea ecx, [ebp - 0x14]
call fcn.10001827
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
call fcn.10001954
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.10001d6b
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x1000e5d0
push 0x2f
push esi
call fcn.10058994
pop ecx
pop ecx
test eax, eax
jne 0x1000e527
or eax, 0xffffffff
jmp 0x1000e52b
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.100028df
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000a288
push str.Cfg_
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.100027c1
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10002725
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10002970
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e5d3
call fcn.10052fd2
push ebx
push edi
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
jmp 0x1000e5d3
mov edi, dword [ebp - 0x14]
push str..url
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.100025d0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x1000e5f5
lea ecx, [eax - 0x10]
jmp 0x1000e607
push edi
push dword [ebp + 0xc]
push eax
call fcn.100024c1
mov ecx, dword [ebp + 0x10]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.1000210b
lea ecx, [esi - 0x10]
call fcn.1000210b
lea ecx, [edi - 0x10]
call fcn.1000210b
mov eax, ebx
call fcn.10057c37
ret 0xc

Function at 0x1000e626
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4
Function at 0x1000e642
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
mov dword [ebp - 0x25c], ebx
test ebx, ebx
je 0x1000e82c
xor eax, eax
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
je 0x1000e6f2
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x230]
sub eax, dword [ebp - 0x220]
cmp eax, ecx
jne 0x1000e82c
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x1000e82c
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x260]
push eax
push ebx
call edi
xor esi, esi
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1000e71e
lea ecx, [ebp - 0x264]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x264]
je 0x1000e82c
xor eax, eax
cmp dword [ebp - 0x220], eax
push esi
cmovge eax, dword [ebp - 0x220]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x220], eax
xor eax, eax
cmp dword [ebp - 0x21c], eax
cmovge eax, dword [ebp - 0x21c]
xor ebx, ebx
cmp dword [ebp - 0x218], ebx
mov dword [ebp - 0x270], eax
cmovge ebx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ebx
cmovge eax, dword [ebp - 0x214]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x214], eax
call esi
push 1
mov edi, eax
call esi
sub ebx, dword [ebp - 0x268]
cmp ebx, edi
jl 0x1000e82c
mov ecx, dword [ebp - 0x26c]
sub ecx, dword [ebp - 0x270]
cmp ecx, eax
jl 0x1000e82c
mov esi, dword [ebp - 0x25c]
lea edi, [ebp - 0x258]
push 0xa
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov ebx, eax
mov dword [ebp - 0x258], 0x28
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1000e810
xor ecx, ecx
mov eax, ebx
cmp dword [ebp - 0x234], 1
cmovne eax, ecx
mov dword [ebp - 0x25c], eax
mov edi, eax
push 0x208
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_RealGetWindowClassW]
xor eax, eax
test edi, edi
setne al
jmp 0x1000e82e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056bff
leave
ret
Function at 0x10010815
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1007ee4b
call fcn.10057d10
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10010892
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10010892
call fcn.1000f342
mov esi, eax
jmp 0x10010989
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100108b5
call fcn.1000f342
jmp 0x1001097c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100108ab
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x100108e8
mov esi, 0x8007000e
jmp 0x1001097e
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.1000f7b4
cmp eax, 0x400
jbe 0x10010909
push eax
lea ecx, [ebp - 0x418]
call fcn.1000f31d
jmp 0x1001092b
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001092b
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x100108de
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100108ab
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.100106c0
mov esi, eax
test edi, edi
je 0x10010989
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100109a2
lea ecx, [ebp - 0x418]
call fcn.1000f308
mov eax, esi
call fcn.10057c5d
ret 0x10
Function at 0x10010e5c
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x1007eec6
call fcn.10057c6e
push 0x66
pop edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001a8b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str._startby_d
call fcn.10001a8b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10002819
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.10010e00
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.100028df
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.10002970
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1000210b
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10010e37
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
test eax, eax
cmove esi, edi
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esi
call fcn.1000210b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, esi
call fcn.10057c37
ret

Function at 0x1001117a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x1007ef0a
call fcn.10057c6e
mov ebx, edx
and dword [ebp - 0x1c], 0
xor edi, edi
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
and dword [ebp - 4], edi
mov edx, ebx
push ecx
lea ecx, [ebp - 0x14]
call fcn.10012c8a
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011255
mov byte [ebp - 4], 2
call fcn.10002060
push eax
lea ecx, [ebp - 0x18]
call fcn.10001827
push 3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push str._startby_d
push eax
call fcn.10008741
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 8]
push str._s__s
push eax
call fcn.10008741
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
call fcn.1000210b
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.10058f90
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10011258
push dword [ebp - 0x20]
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10011258
mov esi, dword [ebp - 0x10]
push 0
push 0
push edi
push ebx
push 3
call fcn.10052fd2
mov ecx, eax
call fcn.10053938
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000210b
lea ecx, [esi - 0x10]
call fcn.1000210b
mov eax, edi
call fcn.10057c37
ret
Function at 0x10012882
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x1007e6e5
call fcn.10057c6e
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.10001c05
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029e4
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x100128e3
push 0x10095fe8
mov ecx, edi
call fcn.10001a8b
lea ecx, [esi - 0x10]
jmp 0x10012933
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.100029c0
cmp ax, 0x5c
je 0x10012909
mov esi, 0x100960f8
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, str.2019Zip_
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.1000122a
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.1000210b
mov eax, edi
call fcn.10057c37
ret

Function at 0x100129e0
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x1007f1c7
call fcn.10057c6e
lea ecx, [ebp - 0x14]
call fcn.10012940
and dword [ebp - 4], 0
push str.AppTest.txt
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100027c1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1000210b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, esi
call fcn.10057c37
ret
Function at 0x10012a33
Capabilities:
Get hostname

Disassembly:
push 0x16c
mov eax, 0x1007f224
call fcn.10057ca2
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x170], eax
call fcn.10002060
push eax
lea ecx, [ebp - 0x16c]
call fcn.10001827
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002060
push eax
lea ecx, [ebp - 0x168]
call fcn.10001827
mov byte [ebp - 4], 1
call fcn.10002060
push eax
lea ecx, [ebp - 0x164]
call fcn.10001827
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
xor eax, eax
mov ecx, 0x1000
stosd dword es:[edi], eax
mov dword [ebp - 0x174], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x174]
push eax
push ecx
lea ecx, [ebp - 0x168]
call fcn.10001c05
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x168]
call fcn.100029e4
push esi
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.100027c1
add esp, 0xc
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call fcn.10002970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x170]
lea ecx, [ecx - 0x10]
call fcn.1000210b
push 3
push dword [ebp - 0x164]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
call fcn.100012f5
mov byte [ebp - 4], 4
push dword [ebp - 0xe0]
call fcn.100013f3
pop ecx
push eax
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x16c]
call fcn.100017ad
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe0], eax
je 0x10012b6b
push dword [ebp - 0xe0]
call fcn.1005c919
pop ecx
lea eax, [ebp - 0xb8]
push eax
call fcn.10002a10
mov eax, dword [ebp - 0x16c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.100032d6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1000337c
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x34]
add esp, 0x18
mov edx, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
cmp edx, 0x21
jae 0x10012be5
movzx ecx, byte [ebp + ebx - 0x20]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc ebx
mov al, byte [ebp + eax - 0x34]
mov byte [ebp + edx - 0x58], al
mov al, byte [ebp + ecx - 0x34]
mov byte [ebp + edx - 0x57], al
add edx, 2
cmp ebx, 0x10
jb 0x10012bba
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x160]
push 3
lea eax, [ebp - 0x58]
push eax
call fcn.100014bc
mov byte [ebp - 4], 5
push dword [ebp - 0x160]
call fcn.10001954
pop ecx
push eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x164]
call fcn.10001d6b
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x160], eax
je 0x10012c42
push dword [ebp - 0x160]
call fcn.1005c919
pop ecx
mov esi, dword [ebp - 0x178]
lea ecx, [ebp - 0x164]
push 0x10
push 0xa
push esi
call fcn.100028df
mov ecx, dword [ebp - 0x164]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.1000210b
mov ecx, dword [ebp - 0x16c]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, esi
call fcn.10057c4c
ret
Function at 0x10012e64
Capabilities:
Check mutex on windows

Disassembly:
push esi
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10012e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10012e8e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret

Function at 0x100154b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x100a5588], 0
push esi
mov esi, dword [ebp + 8]
jne 0x100155bb
push 0x100a558c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x100155a9
test esi, esi
jne 0x1001559e
push ebx
push edi
push str.advapi32.dll
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x1001557e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextA
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x1001557e
push str.CryptGenRandom
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x1001557e
push str.CryptReleaseContext
push esi
call edi
mov edi, eax
test edi, edi
je 0x1001557e
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp + 8]
push eax
call ebx
test eax, eax
je 0x1001557e
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 8]
call dword [ebp - 8]
push 0
push dword [ebp + 8]
mov esi, eax
call edi
test esi, esi
je 0x1001557e
mov eax, dword [ebp - 4]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 1]
shl esi, 8
or esi, eax
jmp 0x10015592
push 0
call fcn.100626c0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
test esi, esi
mov eax, 1
pop edi
cmove esi, eax
pop ebx
mov dword [0x100a5588], esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SwitchToThread]
nop
call esi
cmp dword [0x100a5588], 0
je 0x100155b0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100177a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.100174a4
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100177cb
push 2
pop eax
jmp 0x1001782f
push ebx
push edi
call fcn.100174a4
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x100177e4
push 0xd
pop esi
jmp 0x10017825
push edi
call fcn.100174a4
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
test ecx, ecx
je 0x100177df
mov eax, dword [ebp + 0x14]
push 8
pop edx
cmp ecx, dword [eax]
mov dword [eax], ecx
cmova esi, edx
test esi, esi
jne 0x10017825
cmp dword [ebp + 0x10], esi
jne 0x10017811
push 0x57
jmp 0x100177e1
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp + 0x10]
call fcn.100590f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10017833
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x94
mov eax, 0x1007f4e4
call fcn.10057ca2
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
call fcn.100174b3
push eax
lea ecx, [ebp - 0x94]
call fcn.1001a669
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.1001a804
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.1001a7e4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100178a7
push 2
pop esi
jmp 0x1001790a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x100178ba
push 0xd
pop esi
jmp 0x10017903
mov eax, dword [ebp - 0x9c]
xor esi, esi
push 8
pop ecx
cmp edi, dword [eax]
mov dword [eax], edi
cmova esi, ecx
test esi, esi
jne 0x10017903
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x100178de
push 0x57
jmp 0x100178b7
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x98], edi
push 0xc
pop eax
cmovne esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x94]
call fcn.10001421
mov eax, esi
call fcn.10057c4c
ret

Function at 0x10017a2f
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x10017a52
or esi, 1
push 1
call edi
test ax, ax
jns 0x10017a5e
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x10017a6a
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x10017a76
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret