joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ecf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004f37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004f338]
cmp eax, 0xffffffff
jne 0x10036fb6
xor ebx, ebx
jmp 0x10036fbf
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10036fff
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003703e
test esi, esi
jne 0x10037042
push 0x10035760
push 0x10050e58
call fcn.10030a00
mov eax, dword [0x1004f338]
add esp, 8
cmp eax, 0xffffffff
je 0x10036fff
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003702c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003702c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10037084
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003706d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10037042
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036fd0
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370a9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100370a9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10030a00
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10037090
jmp 0x10036fd0

Function at 0x100370d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x10037130
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100370fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x10037118
cmp eax, 0xffffffff
je 0x10037118
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x415f09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00415cdc
and eax, 0x66bb64c2
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x415f36
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x415f30
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x415f21
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00415cdc
rcl dword [ebx + 0x458d540c], 0xa8
push eax
call fcn.00415cec
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00415ca1
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x415fca
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00415cdc
mov bh, 0xa7
dec esi
jb 0x415fac
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x41609f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
Function at 0x10001110
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x198
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp + 0x114], eax
mov eax, dword [ebp + 0x124]
mov dword [0x100231c4], eax
mov eax, dword [ebp + 0x12c]
mov dword [0x100231c0], eax
mov eax, dword [ebp + 0x128]
lea ecx, [ebp - 0x80]
mov dword [0x100235c8], eax
call fcn.1000c561
push 0x103
lea eax, [ebp + 0x11]
push 0
push eax
mov byte [0x100231ca], 0
mov byte [ebp + 0x10], 0
call fcn.1000e1f0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x80]
mov byte [0x100231c8], 0x76
call fcn.1000a925
push 0x100231c8
push 0
mov byte [0x100231c9], al
call fcn.10001081
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x80]
call fcn.1000aeab
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.1000e1d7
add ebp, 0x118
leave
ret

Function at 0x1000145c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x518]
sub esp, 0x598
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp + 0x514], eax
mov eax, dword [ebp + 0x524]
mov dword [0x100231c4], eax
mov eax, dword [ebp + 0x52c]
push ebx
mov dword [0x100231c0], eax
mov eax, dword [ebp + 0x528]
push esi
lea ecx, [ebp - 0x80]
mov dword [0x100235c8], eax
call fcn.1000c561
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000b644
mov esi, 0x3ff
xor ebx, ebx
push esi
lea eax, [ebp + 0x11]
push ebx
push eax
mov byte [ebp + 0x10], bl
call fcn.1000e1f0
push 0x103
lea eax, [ebp + 0x411]
push ebx
push eax
mov byte [ebp + 0x410], bl
call fcn.1000e1f0
add esp, 0x18
push 0x104
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
cmp eax, esi
jle 0x100014fc
mov eax, esi
push eax
lea ecx, [ebp + 0xc]
call fcn.10001442
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.1000e2f0
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ebx
call fcn.10001081
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.100010c6
lea ecx, [ebp - 0x80]
call fcn.1000aeab
mov ecx, dword [ebp + 0x514]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e1d7
add ebp, 0x518
leave
ret
Function at 0x10009a71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
xor eax, eax
and dword [ebp - 0x24], 0
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x13], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009b18
lea ecx, [ebp - 0x24]
push ecx
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
xor ecx, ebp
pop esi
call fcn.1000e1d7
leave
ret
Function at 0x1000b3cf
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x48
mov eax, 0x1001a84f
call fcn.1000f024
mov esi, dword [ebp + 0x134]
and dword [ebp - 0x20], 0
push 0
push 2
mov dword [ebp], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0
push 2
mov dword [ebp - 0x10], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x10], 0xffffffff
je 0x1000b559
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32First
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1000b550
mov dword [ebp - 0x20], ecx
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.10002777
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
and dword [ebp - 4], 0
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.1000a013
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
jmp 0x1000b4c9
lea ecx, [ebp - 0x1c]
call fcn.10009e43
push eax
lea ecx, [ebp - 0x40]
call fcn.1000a170
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1000a122
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10009dba
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.100010c6
lea ecx, [ebp - 0x40]
test bl, bl
jne 0x1000b527
mov byte [ebp - 4], bl
call fcn.1000a1b4
lea ecx, [ebp - 0x1c]
call fcn.10009e06
mov eax, dword [esi + 0x14]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a013
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009b3c
test al, al
je 0x1000b470
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x1001caf7
call fcn.10002777
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.10001c77
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.1000a87d
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000adb2
lea ecx, [ebp - 0x50]
call fcn.1000a1b4
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.100010c6
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x1000b443
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.1000e1d7
add ebp, 0x12c
leave
ret 4
Function at 0x1000d08b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
mov ebx, ecx
push eax
mov byte [ebx], 0
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 8], 0x6c
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x1d], 0x49
mov byte [ebp - 0x15], 0x7a
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x38], 0x43
mov byte [ebp - 0x2f], 0x6e
mov byte [ebp - 0x35], 0x72
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2e], 0x73
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x2c], 0x61
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x36], 0x43
mov byte [ebp - 0x2a], 0x63
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x30], 0x49
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x10023f90], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
push eax
call edi
mov dword [0x10023f94], eax
cmp dword [0x10023f90], 0
je 0x1000d199
test eax, eax
je 0x1000d199
mov byte [ebx], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1000e1d7
leave
ret

Function at 0x1000d22e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [0x10023f98], esi
je 0x1000d2a2
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x10023f98]
test eax, eax
je 0x1000d299
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push esi
call dword [0x10023fa0]
test eax, eax
je 0x1000d299
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [0x10023f9c]
push dword [ebp - 4]
call dword [0x10023fa8]
pop esi
leave
ret
Function at 0x1000d4c5
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x11], 0x6e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x1000d59c
push 0x1001ce48
push edi
call esi
push 0x1001ce38
push edi
mov dword [0x10023fac], eax
call esi
push 0x1001ce1c
push edi
mov dword [ebx], eax
call esi
mov dword [ebx + 4], eax
xor eax, eax
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1f], 0x48
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x6c
call esi
mov dword [0x10023fa8], eax
mov dword [0x10023fa4], 0x1001ce00
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000d5d4
push str.AdjustTokenPrivileges
push edi
call esi
push str.OpenProcessToken
push edi
mov dword [0x10023f9c], eax
call esi
push str.LookupPrivilegeValueA
push edi
mov dword [0x10023f98], eax
call esi
mov dword [0x10023fa0], eax
mov eax, sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000d5ef
mov ecx, ebx
call fcn.1000d22e
mov ecx, ebx
call fcn.1000d375
mov al, 1
jmp 0x1000d5f1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e1d7
leave
ret
Function at 0x1000d63e
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10022180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
call fcn.1000d600
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10023fb0]
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 8], 0x64
mov byte [ebp - 0xb], 0x48
mov byte [ebp - 6], 0x65
mov byte [ebp - 9], 0x6e
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x6c
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x18], 0x49
mov byte [ebp - 0x12], 0x65
test eax, eax
jne 0x1000d6cc
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10023fb0], eax
test eax, eax
je 0x1000d71e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push eax
call esi
push str.InternetConnectA
mov dword [ebx + 0x38], eax
push dword [0x10023fb0]
call esi
push str.HttpOpenRequestA
mov dword [ebx + 0x3c], eax
push dword [0x10023fb0]
call esi
push str.HttpSendRequestA
mov dword [ebx + 0x40], eax
push dword [0x10023fb0]
call esi
mov dword [ebx + 0x44], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x10023fb0]
call esi
mov dword [ebx + 0x48], eax
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1000e1d7
leave
ret

Function at 0x1000e1d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022180]
jne 0x1000e1e1
repz ret
jmp fcn.10010e68
Function at 0x100194af
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10011808
and dword [ebp - 4], 0
cmp dword [0x10024b14], 0
mov ebx, eax
jne 0x10019560
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10019611
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ecb8
push edi
call esi
test eax, eax
je 0x10019611
push eax
call fcn.10011796
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10024b14], eax
call esi
push eax
call fcn.10011796
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10024b18], eax
call esi
push eax
call fcn.10011796
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10024b1c], eax
call esi
push eax
call fcn.10011796
pop ecx
mov dword [0x10024b24], eax
test eax, eax
je 0x10019560
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10011796
pop ecx
mov dword [0x10024b20], eax
mov eax, dword [0x10024b20]
cmp eax, ebx
je 0x100195b8
cmp dword [0x10024b24], ebx
je 0x100195b8
push eax
call fcn.10011811
push dword [0x10024b24]
mov esi, eax
call fcn.10011811
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100195b8
test edi, edi
je 0x100195b8
call esi
test eax, eax
je 0x100195af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100195af
test byte [ebp - 0xc], 1
jne 0x100195b8
or dword [ebp + 0x10], 0x200000
jmp 0x100195f1
mov eax, dword [0x10024b18]
cmp eax, ebx
je 0x100195f1
push eax
call fcn.10011811
pop ecx
test eax, eax
je 0x100195f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100195f1
mov eax, dword [0x10024b1c]
cmp eax, ebx
je 0x100195f1
push eax
call fcn.10011811
pop ecx
test eax, eax
je 0x100195f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10024b14]
call fcn.10011811
pop ecx
test eax, eax
je 0x10019611
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10019613
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x408a6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x408a7a
pop dword [ebp - 0x30]
mov eax, 0x408a7a
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x34c66
push 0
mov eax, 0xb9a5eb31
sub eax, 0xb9650a11
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xca19afe0
sub ecx, 0xca197a09
xor ebx, ebx
add ebx, eax
mov edx, 0x417800
add edx, dword [ebp - 0x30]
mov edi, 0x94194f0d
sub edi, 0x192a14
sub dword [ebp - 0x20], ebx
mov esi, dword [edx]
xor dword [ebp - 0x10], 0x448ba3d7
add esi, edi
add dword [ebp - 8], ebx
mov dword [ebx], esi
sub dword [ebp - 0x10], eax
add ebx, 0xc4f56ca2
add ebx, 0x3b0a9362
add edx, 0x80d5e78f
sub edx, 0x80d5e78b
loop 0x408ad0
add eax, 0xca2f
xor ebx, ebx
add ebx, eax
add eax, 0x88a0e74b
add eax, 0x775f18ba
mov ecx, 0x4c088890
sub ecx, 0x4bc88890
add ecx, dword [ebp - 0x30]
call ebx
leave
ret