joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011617
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100116b4
push ebx
push esi
call fcn.100115e0
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011574
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011661
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100116b3
push edi
push eax
call fcn.1000ebaf
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011681
call fcn.1000eb75
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100116b2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011574
add esp, 0x20
test eax, eax
jne 0x100116a0
push edi
call fcn.1000eb75
jmp 0x100116a8
push ebx
call fcn.1000eb75
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10011921
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e448
push 0x1001e440
push str.FlsAlloc
push 0x1f
call fcn.1001183d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011955
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b1bc]
call esi
jmp 0x1001195b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001199f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e458
push 0x1001e450
push str.FlsGetValue
push 0x21
call fcn.1001183d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100119d6
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b1bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100119de
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e460
push 0x1001e458
push str.FlsSetValue
push 0x22
call fcn.1001183d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011a18
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001b1bc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10019120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001914d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001914d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4080b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x828]
push edi
mov edi, ecx
push 0x400
push eax
push dword [edi + 0x1b8]
call esi
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x3b4]
call esi
cmp word [ebp - 0x28], 0
mov eax, dword [edi + 0x1b4]
je 0x40816c
lea ecx, [ebp - 0x82c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00407360
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40811b
mov ecx, esi
jmp 0x40812b
or ecx, 0xffffffff
cmp dword [ebp - 0x82c], ecx
cmovne ecx, dword [ebp - 0x82c]
push 0
push ecx
push 0x186
push dword [edi + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, 0xffffffff
je 0x40817c
push 1
mov ecx, edi
call fcn.00408470
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp word [ebp - 0x828], ax
setne al
push eax
push dword [edi + 0x1c8]
call esi
push 1
jmp 0x4081b0
push 0
push 0xffffffffffffffff
push 0x186
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, edi
call fcn.00408470
cmp word [ebp - 0x28], 0
je 0x40819d
cmp word [ebp - 0x828], 0
je 0x40819d
mov eax, 1
jmp 0x40819f
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
push dword [edi + 0x1c8]
call esi
push 0
push dword [edi + 0x218]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00424790
mov esp, ebp
pop ebp

Function at 0x408370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x824]
push 0x400
push eax
push dword [edi + 0x1b8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x824], 0
je 0x4083c8
cmp word [ebp - 0x24], 0
je 0x4083c8
mov eax, 1
jmp 0x4083ca
xor eax, eax
push eax
push dword [edi + 0x1c8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00424790
mov esp, ebp
pop ebp
ret
Function at 0x408dd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x408e4f
push esi
push str.ChangeWindowMessageFilter
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x408e4e
push 1
push 0x466
call esi
push 1
push 0x467
call esi
push 1
push 0x468
call esi
push 1
push 0x469
call esi
push 1
push 0x46a
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424790
mov esp, ebp
pop ebp

Function at 0x409540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov ebx, ecx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x5826e0
push 0x4b8bf0
push 0x80
call fcn.0040fc70
mov edi, eax
test edi, edi
jne 0x409587
pop edi
pop ebx
pop ebp
ret 4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.Segoe_UI
mov dword [ebx + 0x650], 0
call fcn.00403d10
add esp, 4
test eax, eax
jne 0x4095bd
mov ecx, ebx
call fcn.004096e0
test eax, eax
je 0x4095c7
mov dword [ebx + 0x650], 1
cmp dword [0x5827c4], 0
je 0x4095e3
cmp dword [ebx + 0x650], 0
jne 0x4095e3
mov dword [0x5827c4], 0
push esi
push 0x5827a8
push edi
push dword [ebp + 8]
lea ecx, [ebx + 0xc]
call fcn.0040d450
lea ecx, [ebx + 0xc]
call fcn.0040d580
push 0x103
xor eax, eax
lea esi, [ebx + 0x444]
push esi
push eax
mov word [0x582a0c], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.0044768a
add esp, 8
test eax, eax
je 0x40962c
xor ecx, ecx
mov word [eax], cx
lea edi, [ebx + 0x34]
mov ecx, 0x16
mov esi, str.https:__www.unikey.org_support_ukmanual.html
lea eax, [ebx + 0x444]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebx + 0x23c]
push str._skeymap.txt
push eax
movsw word es:[edi], word [esi]
call fcn.00406f60
add esp, 0xc
mov ecx, 0x585470
call fcn.0040e920
push 0
mov ecx, 0x585470
call fcn.0040e710
pop esi
pop edi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x409940
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
lea eax, [ecx + 0x34]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x5731484c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x5d15e0b
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403480
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x4034aa
mov eax, dword [ebx]
jmp 0x4034ac
mov eax, ebx
mov byte [eax], 0
call fcn.0044dab0
mov esi, eax
test esi, esi
jne 0x4034d0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00402fe0
push 1
push 0x34
push esi
call fcn.0044daf0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0044daf0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0044daf0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0044daf0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x403521
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0044daf0
add esp, 0xc
push 0x4035e0
push 0x4e2b
push esi
call fcn.0044daf0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0044daf0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0044daf0
add esp, 0xc
push esi
call fcn.0044db20
add esp, 4
test eax, eax
je 0x403575
mov dword [ebp - 0x24], 0x13ab
jmp 0x4035a9
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0044dc80
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x403595
cmp eax, 0xc8
je 0x4035a9
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0044dc20
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x4035c3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00482624
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x405e90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.00486870
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f27
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405f20
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405f0e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x405f3a
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x405ef1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00482279
mov esp, ebp
pop ebp
ret 4

Function at 0x406590
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004884f0
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.004835a5
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x407850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x407882
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.004079b0
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.00486870
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078b0
sub eax, edx
inc eax
cmp eax, edi
je 0x4078d6
cmp eax, 0x7fffffff
ja 0x4078d6
push esi
mov edx, bind
lea ecx, [ebp - 0x108]
call fcn.00406f60
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x4078ec
inc eax
dec edx
jne 0x4078e1
jmp 0x407914
cmp edx, edi
je 0x407914
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x5112f8
lea ecx, [ebp + ecx - 0x108]
mov edx, bind
call fcn.00406f60
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x407960
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x407985
cmp edi, 0x20
jne 0x40799d
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x407960
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482279
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x408770
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x408789
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408789
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x40878c
xor eax, eax
ret
add eax, 0x18
ret
Function at 0x40e100
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xfa0
jae 0x40e151
jmp 0x40e120
push str.www.baidu.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40e157
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xfa0
jb 0x40e120
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
ret

Function at 0x40e170
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x288
mov esi, eax
mov dword [ebp - 8], 0x288
call fcn.00484b34
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x40e280
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x40e1d0
push ebx
call fcn.00484aba
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call fcn.00484b34
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test eax, eax
je 0x40e280
lea edx, [ebp - 8]
push edx
push ebx
call edi
test eax, eax
jne 0x40e280
mov edi, ebx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x40e280
jmp 0x40e1f3
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x198]
lea edx, [edi + 0x1b0]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x40e273
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x21], 0
jne 0x40e236
cmp dword [ecx + 0x10], eax
jae 0x40e22c
mov ecx, dword [ecx + 8]
jmp 0x40e230
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x21], 0
je 0x40e222
cmp ebx, dword [esi + 4]
je 0x40e240
cmp eax, dword [ebx + 0x10]
jae 0x40e264
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0040ec50
push ebx
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.0040e7e0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x40e1f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x40e295
push ebx
call fcn.00484aba
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ed80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x40eda3
push edi
movzx edi, byte [edx]
mov eax, dword [esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50caa0]
inc edx
dec ecx
mov dword [esi], eax
jne 0x40ed85
pop edi
ret
Function at 0x40fe70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push esi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40febb
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40ff25
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
lea ecx, [esp + 0x34]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ff06
test dl, dl
je 0x40ff02
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ff06
add eax, 2
add ecx, 2
test dl, dl
jne 0x40fee6
xor eax, eax
jmp 0x40ff0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ff1d
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x40fee0
jmp 0x40ff25
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x410410
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4104a4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410427
sub eax, edx
je 0x4104a4
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00486870
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
xor ecx, ecx
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4104ac
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x41049a
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4104a4
push eax
call esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4104c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x410507
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x410538
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xffffff00
add ecx, 0x200
push ecx
push esi
push ebx
call eax
jmp 0x410540
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41055e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x14]
push edx
and eax, 0x100
add eax, 0x20019
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41058e
xor ecx, ecx
cmp eax, 2
jmp 0x410695
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax - 1], 0x5c
lea edi, [esi + eax]
je 0x4105a6
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x410655
lea eax, [esp + 0x28]
sub eax, edi
mov dword [esp + 0x18], eax
mov edx, 0x208
mov eax, edi
lea esp, [esp]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x41060d
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + eax]
test cl, cl
je 0x41060d
mov byte [eax], cl
inc eax
dec edx
jne 0x4105f0
jmp 0x410611
test edx, edx
jne 0x410612
dec eax
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
mov byte [eax], 0
call fcn.004104c0
add esp, 0xc
test eax, eax
je 0x410655
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4105e2
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x410689
movzx edx, byte [ebp + 0x10]
neg edx
sbb edx, edx
push 0
and edx, 0xffffff00
add edx, 0x200
push edx
push esi
push ebx
call eax
jmp 0x410691
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482279
mov esp, ebp
pop ebp
ret
Function at 0x412480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.0041f760
test al, al
jne 0x4124c0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call ebx
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4124c9
mov ecx, dword [ebp + 8]
call fcn.0041f760
test al, al
je 0x4124a2
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x412f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eab08
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebx + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.004be760
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret