joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4716cc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x47f7f4]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x471708
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x471720
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x471719
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403184
xor edx, edx
mov eax, 0x47f9f4
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x47178a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x47173e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4719c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4719e1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4719da
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4719f3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4719ec
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004715bc
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x471a0d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004716cc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x471a92
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x471aaf
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0047164c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x471ad8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x471af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x471b09
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x471b02
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x471b1d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004714b4
test bl, bl
jne 0x471bf0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x481e1c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x471b54
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x471b68
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004719c8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x471b9a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x471b49
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x471bbd
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x471bce
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x471be2
jmp 0x471cab
cmp bl, 1
jne 0x471cab
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x481e76
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x471c10
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x471c24
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004719c8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x471c56
sub ebx, 6
inc dword [ebp - 8]
jne 0x471c05
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x471c7d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x471c8e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x471ca2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00471538
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4725f8
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472690
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x1400
mov eax, dword [ebp - 8]
call fcn.00402a48
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x47263f
push eax
call sub.kernel32.dll_SetLastError
call fcn.0040e0c0
mov dword [ebp - 4], esi
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x190]
mov eax, dword [ebp - 4]
add eax, 0x194
call fcn.00472554
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x472642
mov eax, esi
call fcn.00402a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472697
lea eax, [ebp - 0xc]
call fcn.004045a4
ret
Function at 0x474b44
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x474b4c
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a54
xor eax, eax
push ebp
push 0x474d0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 0x481e90
xor edx, edx
mov al, 2
call fcn.0040752c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x474b9b
mov eax, 0x482034
mov edx, 0x474d24
call fcn.004045f8
xor ebx, ebx
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x482020], eax
cmp dword [0x482020], 0xffffffff
jne 0x474bc5
mov eax, 0x482034
mov edx, 0x474d44
call fcn.004045f8
xor ebx, ebx
mov eax, 0x482024
mov edx, 0x10
call fcn.0040755c
mov word [0x482024], 2
mov eax, dword [ebp - 4]
call fcn.00404a64
push eax
call sub.wsock32.dll_inet_addr
mov dword [0x482028], eax
push esi
call sub.wsock32.dll_htons
mov word [0x482026], ax
push 0x10
push 0x482024
mov eax, dword [0x482020]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x474cf2
call sub.kernel32.dll_GetLastError
mov dword [0x482038], eax
lea edx, [ebp - 0x10]
mov eax, dword [0x482038]
call fcn.0040c16c
mov edx, dword [ebp - 0x10]
mov eax, 0x482034
call fcn.004045f8
xor ebx, ebx
lea eax, [ebp - 0x14]
call fcn.0046fbd0
push dword [ebp - 0x14]
push 0x474d60
call fcn.0040ab28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x18]
mov eax, 0x474d70
call fcn.0040b7d0
push dword [ebp - 0x18]
push 0x474d84
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404924
lea eax, [ebp - 0x1c]
call fcn.0046fbd0
push dword [ebp - 0x1c]
push 0x474d60
call fcn.0040ab28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x474d94
call fcn.0040b7d0
push dword [ebp - 0x20]
push 0x474d84
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404924
push 0x474da4
lea edx, [ebp - 0x28]
mov eax, dword [0x482038]
call fcn.00408b30
push dword [ebp - 0x28]
push 0x474db8
push dword [0x482034]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404924
mov edx, dword [ebp - 0x24]
mov eax, 0x474dc4
call fcn.004747cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474d14
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004045c8
ret
Function at 0x4750ec
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov ebx, edx
test ebx, ebx
js 0x475134
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x47512d
mov eax, esp
mov dword [ebp - 4], ecx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, 0x482020
xor eax, eax
push ebp
push 0x475351
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004045a4
lea eax, [ebp - 0x10]
mov edx, esi
add edx, 0x11
call fcn.0040479c
lea eax, [ebp - 0x428]
mov ecx, dword [ebp - 0x10]
mov edx, 0x475378
call fcn.004048b0
mov edx, dword [ebp - 0x428]
mov eax, 0x475388
call fcn.004747cc
push 0
push ebx
push esi
mov eax, dword [edi]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47521c
call sub.kernel32.dll_GetLastError
mov dword [0x482038], eax
lea edx, [ebp - 0x42c]
mov eax, dword [0x482038]
call fcn.0040c16c
mov edx, dword [ebp - 0x42c]
mov eax, 0x482034
call fcn.004045f8
push 0x475398
push dword [0x482034]
push 0x4753ac
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x434]
call fcn.00408c1c
push dword [ebp - 0x434]
push 0x4753b8
lea eax, [ebp - 0x430]
mov edx, 5
call fcn.00404924
mov edx, dword [ebp - 0x430]
mov eax, 0x475388
call fcn.004747cc
jmp 0x475323
push 4
lea eax, [ebp - 4]
push eax
push 0x1006
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
lea eax, [ebp - 0x411]
xor ecx, ecx
mov edx, 0x401
call fcn.00403184
lea eax, [ebp - 0x422]
xor ecx, ecx
mov edx, 0x11
call fcn.00403184
push 0
push 0x11
lea eax, [ebp - 0x422]
push eax
mov eax, dword [edi]
push eax
call sub.wsock32.dll_recv
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x422]
mov ecx, 4
call fcn.00402ce0
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_ntohl
mov dword [ebp - 0xc], eax
mov ebx, 4
cmp ebx, dword [ebp - 0xc]
jge 0x4752f5
mov eax, dword [0x47fea0]
mov eax, dword [eax]
call fcn.0043e264
lea eax, [ebp - 0x411]
xor ecx, ecx
mov edx, 0x401
call fcn.00403184
push 0
push 0x401
lea eax, [ebp - 0x411]
push eax
mov eax, dword [edi]
push eax
call sub.wsock32.dll_recv
mov esi, eax
lea eax, [ebp - 0x438]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.00404814
mov edx, dword [ebp - 0x438]
lea eax, [ebp - 8]
call fcn.0040486c
add ebx, esi
cmp ebx, dword [ebp - 0xc]
jl 0x475294
lea eax, [ebp - 0x43c]
mov ecx, dword [ebp - 8]
mov edx, 0x4753c4
call fcn.004048b0
mov edx, dword [ebp - 0x43c]
mov eax, 0x475388
call fcn.004747cc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004045f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475358
lea eax, [ebp - 0x43c]
mov edx, 6
call fcn.004045c8
lea eax, [ebp - 0x10]
call fcn.004045a4
lea eax, [ebp - 8]
call fcn.004045a4
ret
Function at 0x477d38
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040755c
ret
Function at 0x464c4e
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x464d11
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x464d11
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x464cae
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x464ca5
cmp esi, ecx
jle 0x464cc1
push 0x4bb354
push edi
call fcn.004238cc
pop ecx
pop ecx
jmp 0x464d09
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.00421950
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00424e50
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00465a99
mov esi, eax
push esi
push edi
call fcn.004238cc
push esi
call fcn.0042193c
add esp, 0x14
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x464d1e
push 0x490910
push edi
call fcn.004238cc
pop ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x464f5e
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov word [ebp - 0xc], 0x500
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x464fb7
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret

Function at 0x46502e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x465041
test al, 0x10
je 0x465041
mov al, 1
ret
xor al, al
ret
Function at 0x1003df9d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
mov dword [esp], edx
jmp 0x1003dfe3
mov edx, dword [esp]
mov edx, ebx
setl dl
mov dh, bh
not dx
lea edx, reloc.KERNEL32.dll_GetCurrentThread
jmp 0x1003e01f
push ecx
not dx
rdtsc
mov cx, di
setbe cl
mov eax, dword [esp]
jmp 0x1003e048
push eax
mov ax, si
not eax
xchg edx, eax
mov ax, word [esp]
mov edx, 0xc054fb0e
jmp 0x1003e009
rdtsc
pop eax
lea edx, reloc.KERNEL32.dll_GetCurrentThread
mov edx, 0xb6b570c6
mov dh, cl
jmp 0x1003e071
lea ecx, [eax*4]
mov cl, bl
pop ecx
bswap edx
mov eax, dword [esp]
xchg dl, dh
jmp 0x1003e032
mov dx, di
setp dh
seto dh
pop edx
jmp 0x100244f9

Function at 0x1003dfb3
Capabilities:
Execute anti-debugging instructions

Disassembly:
push cx
call fcn.1003df9d
jmp 0x1003e023

Function at 0x1003e0ba
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x100249a3
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x100249bd
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x100249ac
pop esi
jmp 0x100249c8
ret 4
jmp 0x10024996

Function at 0x1003e1f8
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x1002522e
pushfd
or dword [esp], reloc.KERNEL32.dll_GetCurrentThread
popfd
cpuid
nop
jmp 0x10025245
pop ebx
ret
jmp 0x10025222

Function at 0x100c86bb
Capabilities:
Encode data using xor

Disassembly:
mov byte [eax], bl
inc eax
jmp 0x1002bb78
lea esp, [esp + 4]
jmp 0x100c869e
Function at 0x10005d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007c26b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100d90a4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], eax
mov byte [esi + 8], al
xor ecx, ecx
mov word [esi + 0x20], cx
xor edx, edx
mov word [esi + 0x24], cx
mov word [esi + 0x28], cx
mov word [esi + 0x22], dx
mov word [esi + 0x26], dx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov word [esi + 0x3a], cx
push 0x100da498
mov ecx, esi
mov dword [esp + 0x18], eax
mov word [esi + 0x38], dx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.10005c90
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10005e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007c26b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100d90a4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], eax
mov byte [esi + 8], al
xor ecx, ecx
xor edx, edx
mov word [esi + 0x20], cx
mov word [esi + 0x22], dx
mov word [esi + 0x24], cx
mov word [esi + 0x26], dx
mov word [esi + 0x28], cx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov word [esi + 0x38], dx
mov edx, dword [esp + 0x1c]
mov word [esi + 0x3a], cx
push edx
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.10005c90
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10010d9a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
test ebx, ebx
jne 0x10010dac
pop esi
pop ebp
mov eax, 0xa006
pop ebx
ret 0x10
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
and eax, 0xfffffffe
push eax
push edi
call fcn.100105b0
push ebx
push edi
mov ecx, esi
call fcn.10010670
push 1
push edi
mov ecx, esi
call fcn.10010760
push 7
push edi
mov ecx, esi
call fcn.10010820
push edi
mov ecx, esi
call fcn.100108e0
push 0x28
push edi
mov ecx, esi
call fcn.10010300
mov edi, edi
movzx ecx, byte [ebp]
push ecx
push edi
mov ecx, esi
dec ebx
call fcn.10010c10
test eax, eax
jne 0x10010eb1
inc ebp
test ebx, ebx
jne 0x10010df0
push edi
mov ecx, esi
call fcn.100109a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
push 1
add eax, 0xc
lea ebp, [esp + 0x24]
push ebp
push eax
mov eax, dword [edx + 0x94]
push edi
call eax
test eax, eax
jne 0x10010eb1
nop
mov al, byte [esp + 0x20]
test al, 1
jne 0x10010e84
test al, 4
jne 0x10010e88
test al, 2
jne 0x10010e8f
call ebx
sub eax, dword [esp + 0x1c]
cmp eax, 0xc8
jae 0x10010e96
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
add eax, 0xc
lea ebp, [esp + 0x24]
push ebp
push eax
mov eax, dword [edx + 0x94]
push edi
call eax
test eax, eax
je 0x10010e40
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
xor ebx, ebx
jmp 0x10010e9b
mov ebx, 0xa007
jmp 0x10010e9b
mov ebx, 0xa008
jmp 0x10010e9b
mov ebx, 0xa009
push 7
push edi
mov ecx, esi
call fcn.100103f0
push 7
push edi
mov ecx, esi
call fcn.10010a60
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x10010eca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 8], eax
test ebx, ebx
jne 0x10010ee0
pop esi
mov eax, 0xa002
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x14]
push ebp
push edi
mov edi, dword [esp + 0x18]
or ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.100105b0
push ebx
push edi
mov ecx, esi
call fcn.10010670
push 1
push edi
mov ecx, esi
call fcn.10010760
push 7
push edi
mov ecx, esi
call fcn.10010820
push edi
mov ecx, esi
call fcn.100108e0
push 0x28
push edi
mov ecx, esi
call fcn.10010300
push edi
mov ecx, esi
call fcn.100109a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
push 1
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x94]
push edi
call eax
test eax, eax
jne 0x10011028
jmp 0x10010f60
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
add eax, 0x30
lea ebp, [esp + 0x24]
push ebp
push eax
mov eax, dword [edx + 0x94]
push edi
call eax
test eax, eax
jne 0x10011028
mov al, byte [esp + 0x24]
test al, 1
je 0x10010f93
test byte [esp + 0x20], 1
je 0x10010fd4
test al, 4
jne 0x10010fd8
test al, 2
jne 0x10010fdf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0xc8
jae 0x10010fe6
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
add eax, 0xc
lea ebp, [esp + 0x28]
push ebp
push eax
mov eax, dword [edx + 0x94]
push edi
call eax
test eax, eax
je 0x10010f60
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 0x10
xor ebp, ebp
jmp 0x10010feb
mov ebp, 0xa003
jmp 0x10010feb
mov ebp, 0xa004
jmp 0x10010feb
mov ebp, 0xa005
push 7
push edi
mov ecx, esi
call fcn.100103f0
test ebp, ebp
jne 0x1001101c
lea esp, [esp]
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
dec ebx
call fcn.10010b50
mov ebp, eax
test ebp, ebp
jne 0x10011026
inc dword [esp + 0x10]
test ebx, ebx
jne 0x10011000
push 7
push edi
mov ecx, esi
call fcn.10010a60
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 0x10
Function at 0x10045086
Capabilities:
Get disk information

Disassembly:
sub esp, 0xa4
mov eax, dword [0x100d90a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0x10]
push edi
mov dword [esp + 0x10], esi
cmp dword [esi + 0xc], ebx
jbe 0x1004509b
call fcn.10062bb7
mov edi, dword [esi + 0xc]
mov ebp, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x100450aa
call fcn.10062bb7
mov eax, dword [esi]
push ebx
push ebp
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.10044330
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10045160
cmp dword [esp + 0x2c], 2
jne 0x10045160
push 0xffff
push 0x100da5c0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x1004515c
xor esi, esi
mov ebx, 0x100da5c0
nop
mov eax, ebx
call fcn.10042c90
test al, al
je 0x1004513d
lea edx, [ebx + 3]
push edx
call fcn.1006328c
mov ebp, eax
push ebp
mov edi, 1
call fcn.10042bb0
add esp, 8
test al, al
je 0x1004513d
movzx eax, bp
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.10044be0
cmp byte [ebx], 0
je 0x1004514c
inc esi
cmp byte [esi + 0x100da5c0], 0
jne 0x10045142
inc esi
cmp byte [esi + 0x100da5c0], 0
lea ebx, [esi + 0x100da5c0]
jne 0x10045100
xor eax, eax
jmp 0x10045169
push 0
mov ecx, esi
call fcn.10044fe0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10062252
add esp, 0xa4
ret