joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401db8
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x401e6f
push esi
push 0x104
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x401e69
push edi
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
pop ecx
push dword [ebp - 4]
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push 0x4015f0
push eax
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x364]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x401e69
push dword [ebp - 0x10]
inc ebx
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 4]
call esi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x401ef5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x4050f4], 2
je 0x401f08
xor eax, eax
leave
ret
mov ecx, dword [0x405140]
push ebx
push esi
xor ebx, ebx
push edi
inc ebx
xor edi, edi
cmp ecx, edi
mov dword [0x4050f4], ebx
je 0x401f40
mov eax, dword [0x405148]
cmp eax, edi
je 0x401f3a
mov ecx, dword [eax]
push edi
push edi
push edi
push 0x65
push eax
call dword [ecx + 0x38]
mov ecx, dword [0x405140]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x3c]
call fcn.00402960
mov eax, dword [0x40514c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push edi
push edi
push edi
mov dword [0x40514c], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 0xc], eax
mov esi, 0x3e8
push 0xff
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, edi
je 0x401fef
cmp eax, 0x102
je 0x401fef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0xc]
lea ecx, [esi + 0x3e8]
cmp eax, ecx
jae 0x401fef
sub esi, eax
add esi, 0x3e8
jmp 0x401fdb
cmp dword [ebp - 0x24], 0x12
je 0x401fd1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401fdb
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], edi
push 1
push edi
push edi
lea eax, [ebp - 0x28]
push edi
push eax
call ebx
test eax, eax
jne 0x401fb5
cmp dword [ebp - 4], edi
jne 0x401f7a
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
call fcn.00402925
push 0x40163c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
je 0x402015
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x405038], 2
je 0x402030
mov eax, dword [0x4050f0]
cmp eax, edi
je 0x402030
push eax
call esi
mov dword [0x4050f0], edi
mov dword [0x4050f4], edi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x402737
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x405148], 0
je 0x4027d9
push 0
push 1
push 0x80000002
push 0x401750
lea ecx, [ebp - 0x34]
call fcn.004037a8
push 2
push 0x40173c
lea ecx, [ebp - 0x34]
call fcn.004038e9
mov ecx, dword [0x405148]
mov edx, dword [ecx]
push eax
push 0x46
push ecx
call dword [edx + 0x34]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 8], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4027a6
push 0x401738
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.004023d1
push dword [eax]
mov ecx, dword [0x405148]
mov edx, dword [ecx]
push 6
push ecx
call dword [edx + 0x14]
cmp dword [ebp - 4], 0
je 0x4027d1
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
call fcn.0040397e
leave
ret
Function at 0x403552
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x401890
call fcn.004036fc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40358d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40358d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4035a5
cmp eax, 0x20b
je 0x403592
mov dword [ebp - 0x1c], edi
jmp 0x4035b9
cmp dword [ecx + 0x84], 0xe
jbe 0x40358d
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4035b3
cmp dword [ecx + 0x74], 0xe
jbe 0x40358d
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x405180], 0xffffffff
or dword [0x405184], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x405174]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x405170]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x405188], eax
call fcn.004036f6
cmp dword [0x405004], edi
jne 0x403614
push fcn.004036f6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004036e4
push 0x4011e0
push 0x4011dc
call sub.msvcrt.dll__initterm
mov eax, dword [0x40516c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x405168]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x4011d8
push 0x4011d4
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00401d47
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x40368b
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x4036c0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00403735
ret

Function at 0x403858
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x40388b
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.0040384a
mov eax, dword [esi + 4]
pop esi
ret 8

Function at 0x4038e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
je 0x403926
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
mov eax, dword [ebp + 0xc]
pop esi
jne 0x403933
mov eax, dword [ebp - 4]
leave
ret 8
Function at 0x403993
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x403a16
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4039d6
cmp dword [esi + 0xc], ebx
je 0x4039dd
cmp eax, 0xea
jne 0x4039fd
push dword [ebp - 8]
mov ecx, esi
call fcn.00403937
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
pop edi
jne 0x403a25
cmp dword [ebp - 4], 1
je 0x403a16
cmp dword [ebp - 4], 2
je 0x403a16
mov dword [esi + 4], 0x57
cmp dword [esi + 4], ebx
jne 0x403a25
cmp dword [ebp - 8], ebx
je 0x403a25
mov eax, dword [esi + 0xc]
jmp 0x403a28
lea eax, [esi + 0x18]
pop esi
pop ebx
leave
ret 4

Function at 0x403a2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 8], 3
mov dword [ebp - 4], eax
je 0x403aab
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x403a71
cmp dword [esi + 0xc], ebx
je 0x403a78
cmp eax, 0xea
jne 0x403a98
push dword [ebp - 4]
mov ecx, esi
call fcn.00403937
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
pop edi
jne 0x403ac1
cmp dword [ebp - 8], 3
je 0x403aab
mov dword [esi + 4], 0x57
cmp dword [esi + 4], ebx
jne 0x403ac1
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x403ac1
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
jmp 0x403ac8
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x10003e10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movsd xmm0, qword [0x1000c7f8]
push esi
sub esp, 8
movsd qword [esp], xmm0
call dword [0x1000c14c]
fdivr qword [0x1000c7e8]
fstp qword [esp]
call fcn.1000ab2e
movsd xmm1, qword [0x1000c7e0]
mov eax, 1
fstp qword [ebp - 8]
cvttsd2si esi, qword [ebp - 8]
add esp, 8
xorps xmm3, xmm3
xorps xmm2, xmm2
cmp esi, eax
cmovl esi, eax
test esi, esi
jle 0x10004014
mov edx, dword [0x1000f068]
nop dword [eax]
cmp edx, 0x270
jne 0x10003ec4
mov edx, 0x1000f070
nop dword [eax]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, dword [edx - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
add edx, 4
cmp edx, 0x1000fa30
jl 0x10003e80
mov edx, dword [0x1000f068]
jmp 0x10003fa9
cmp edx, 0x4e0
jb 0x10003fa9
xor edx, edx
mov ecx, dword [edx*4 + 0x1000fa2c]
xor ecx, dword [edx*4 + 0x1000fa30]
and ecx, 0x7fffffff
xor ecx, dword [edx*4 + 0x1000fa2c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx*4 + 0x10010060]
xor eax, ecx
mov dword [edx*4 + 0x1000f06c], eax
inc edx
cmp edx, 0xe3
jl 0x10003ed2
cmp edx, 0x26f
jge 0x10003f66
mov ecx, dword [edx*4 + 0x1000fa30]
xor ecx, dword [edx*4 + 0x1000fa2c]
and ecx, 0x7fffffff
xor ecx, dword [edx*4 + 0x1000fa2c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx*4 + 0x1000ece0]
xor eax, ecx
mov dword [edx*4 + 0x1000f06c], eax
inc edx
cmp edx, 0x26f
jl 0x10003f20
mov ecx, dword [edx*4 + 0x1000fa2c]
xor ecx, dword [0x1000f06c]
and ecx, 0x7fffffff
xor ecx, dword [edx*4 + 0x1000fa2c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, ecx
xor eax, dword [0x1000f69c]
mov dword [edx*4 + 0x1000f06c], eax
xor edx, edx
mov dword [0x1000f068], edx
mov ecx, dword [edx*4 + 0x1000f06c]
mov eax, ecx
shr eax, 0xb
inc edx
and eax, dword [0x100103ec]
xor ecx, eax
mov dword [0x1000f068], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1000c800]
subsd xmm0, xmm3
mulsd xmm0, xmm1
mulsd xmm1, qword [0x1000c7f8]
addsd xmm2, xmm0
sub esi, 1
jne 0x10003e70
divsd xmm2, xmm1
pop esi
movaps xmm0, xmm2
mov esp, ebp
pop ebp
ret
Function at 0x1001abf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x1001ad52
cmp edi, esi
je 0x1001ad52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x1001ad42
add edi, 4
jmp 0x1001aca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x1001acb8
mov dword [ebp - 4], 2
jmp 0x1001acd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x1001accf
mov dword [ebp - 4], 1
jmp 0x1001acd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x1001ad52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x1001ad10
mov byte [ecx + 2], 0x3d
jmp 0x1001ad1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x1001ad2c
mov byte [ecx], 0x3d
jmp 0x1001ad32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x1001aca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10050961
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jl 0x10088031
js 0x10119514
call fcn.1027e087
jmp fcn.1010b080
ror eax, 1
test cx, 0xa3a
cmc
not eax
inc sp
cmp eax, esp
clc
inc ecx
push esi
inc bp
btr esi, esp
inc ecx
sal dh, 0x27
xor dword [esp], eax
inc sp
movzx esi, cl
dec ecx
rol esi, 0xa2
inc ecx
pop esi
test cx, 0xc6b
clc
inc ecx
cmp al, 0x82
dec eax
arpl ax, ax
dec eax
add ebp, eax
jmp fcn.102452b4
call fcn.10050961
movzx ax, byte [edi]
cmp ecx, ecx
mov dl, byte [edi + 2]
or cl, al
and cl, ch
shr cl, 0x1b
lea edi, [edi - 2]
ror cl, 0x24
xor cl, 0xfe
add al, dl
mov cl, 0x4e
setle cl
movzx ecx, sp
mov word [edi + 4], ax
jmp 0x1026c46f
mov edi, dword [esp + 4]
mov dword [esp + 4], 0x7e4908fa
push edx
mov edx, 0x180325c3
setae dl
call fcn.101dd46e
jmp esi
and di, 0x208c
jg 0x1029800d
rol eax, 2
not eax
jmp 0x10304f69
xor ecx, ebx
bswap ecx
neg ecx
jmp 0x1019a4ef
jmp fcn.100b7a98
dec ecx
clc
ror ecx, 2
test di, 0x4f9f
cmp esp, ebp
xor ebx, ecx
add esi, ecx
jmp 0x10173a1d
jmp fcn.10230bf6
pushfd
shl cl, 0x1f
bts ecx, ebp
test dx, cx
pop dword [edi]
adc cl, 0xeb
mov ecx, dword [ebp]
add ebp, 4
jmp 0x10156842
jge 0x101023f6
add esi, eax
jmp 0x102135d1
neg eax
cmc
jmp 0x10051657

Function at 0x10142821
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
seta dh
mov edx, edi
push eax
push esi
mov edx, edx
rdtsc
push ebp
movzx edx, bx
cbw
push ebx
mov si, sp
cbw
push ecx
cmovp bp, sp
push edi
cwd
mov dx, 0x3d02
pushfd
mov ecx, 0
cmc
bts eax, eax
movsx ebp, cx
push ecx
cwde
btr edx, 0x24
mov esi, dword [esp + 0x28]
rcl ebx, 0xb6
bt eax, esp
rol esi, 1
neg di
rcl dh, cl
xor esi, 0x3a4209b5
cdq
cbw
inc esi
ror esi, 2
rdtsc
shl dx, cl
mov al, dh
bswap esi
add ah, cl
xadd edi, edi
add esi, ecx
sbb ebp, ebx
adc al, ah
mov edi, esp
sal dh, cl
mov bx, 0x19e6
cmovae ebx, ebp
sub esp, 0xc0
cmovs edx, ebx
movsx eax, sp
bswap bx
Function at 0x1047323d
Capabilities:
Execute anti-debugging instructions

Disassembly:
not edx
jmp 0x105410bd
jmp ebp
push edx
seta dh
mov edx, edi
push eax
push esi
mov edx, edx
rdtsc
push ebp
movzx edx, bx
cbw
push ebx
mov si, sp
cbw
push ecx
cmovp bp, sp
push edi
cwd
mov dx, 0x3d02
pushfd
mov ecx, 0
cmc
bts eax, eax
movsx ebp, cx
push ecx
cwde
btr edx, 0x24
mov esi, dword [esp + 0x28]
rcl ebx, 0xb6
bt eax, esp
rol esi, 1
neg di
rcl dh, cl
xor esi, 0x3a4209b5
cdq
cbw
inc esi
ror esi, 2
rdtsc
shl dx, cl
mov al, dh
bswap esi
add ah, cl
xadd edi, edi
add esi, ecx
sbb ebp, ebx
adc al, ah
mov edi, esp
sal dh, cl
mov bx, 0x19e6
cmovae ebx, ebp
sub esp, 0xc0
cmovs edx, ebx
movsx eax, sp
bswap bx
mov ebx, esi
stc
btr dx, di
mov eax, 0
sal bp, 0xce
rcl dh, cl
sub ebx, eax
lea ebp, [0x104732d4]
shrd edx, edx, 0x4a
ror dl, cl
movzx edx, si
mov edx, dword [esi]
lea esi, [esi + 4]
test ax, 0x5aa5
xor edx, ebx
cmp ax, 0x3736
xor edx, 0x22d7bdf
jmp 0x1031adb7
sub edx, 0x25a762be
ror edx, 3
neg edx
dec edx
test ch, 0xa7
test dh, bh
xor ebx, edx
stc
test ch, 0x94
clc
add ebp, edx
jmp 0x10446dda
rol edx, 3
jmp 0x104d6005
Function at 0x405de0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
movsx eax, byte [esi]
test eax, eax
jne 0x405e14
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00405bf0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00406330
pop ecx
mov ebx, eax
test eax, eax
jne 0x405e47
push 1
call fcn.004058d0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00405bf0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x452f7c], eax
mov dword [0x452f78], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405e80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x405eb8
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x405ea1
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405eb6
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x405e9e
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00406330
pop ecx
mov edi, eax
mov dword [0x453084], eax
test eax, eax
jne 0x405edb
push 1
call fcn.004058d0
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x405f02
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x405ee3
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405f00
push ebx
push edi
call fcn.00406bb0
pop ecx
pop ecx
add edi, esi
add ebx, esi
movsx eax, byte [ebx]
test eax, eax
jne 0x405ee0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40645d
pop dword [ebp - 0x4c]
mov eax, 0x589886fe
sub eax, 0x585822a1
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xae9ef2a5
add dword [ebp - 0x5c], 0x9fb352a6
mov dword [ebp - 0x58], 0x97906454
sub dword [ebp - 0x58], 0x655d180f
mov dword [ebp - 0x54], 0xd2d92b1e
add dword [ebp - 0x54], 0x79731910
mov dword [ebp - 0x50], 0xa004f79a
add dword [ebp - 0x50], 0x5ffb0866
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x49a39e72
add dword [ebp - 0x5c], 0x2acecae4
mov dword [ebp - 0x58], 0x1bd42f0d
add dword [ebp - 0x58], 0x25983268
mov dword [ebp - 0x54], 0xdd9fc705
sub dword [ebp - 0x54], 0x7a305a99
mov dword [ebp - 0x50], 0xde8d2be2
add dword [ebp - 0x50], 0x2172d41e
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b96f
push 0
call eax
mov ecx, 0x9d36a7ef
add ecx, 0x62c9b237
mov edx, eax
mov ebx, 0x3348df41
sub ebx, 0x3303cb41
add ebx, dword [ebp - 0x4c]
mov esi, 0x9b3e25ec
mov dword [ebp - 0xc], 0xde03cf2f
mov edi, dword [ebx]
xor dword [ebp - 0x18], 0x494278f3
xor edi, esi
add dword [ebp - 0x10], 0xe3787d1a
mov dword [edx], edi
add edx, 0x595b301d
add edx, 0xa6a4cfe7
add ebx, 4
loop 0x40656f
add eax, 0x46600ab8
sub eax, 0x465eaf4d
mov ebx, eax
add eax, 0x8bc15ff8
add eax, 0x743ea00d
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x40462c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437b1c
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x40474f
push ecx
lea ecx, [esi + 0x18]
call fcn.00423e4c
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x404766
push ecx
lea ecx, [esi + 0x24]
call fcn.00423d5c
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437c4c
Capabilities:
Encode data using xor

Disassembly:
aam 0x61
sub dword [eax + edx - 0x1a7e4600], esp
pop esi
add byte [edx + 0x5e67e581], bh
loope 0x437c70
mov ebp, 0xe86f1c8d
xor al, 0x70
xchg esp, eax
sar dword [ebx], 0xc4
in al, 0xea
mov al, byte [0xd0868495]
pop eax
jnp 0x437c51
xor al, 0xa4
inc esp
dec esp
adc eax, 0x3e20c5cf
xor byte [ebx + eax], ch
pushfd
shl byte [ebp - 0x7d], 0x81
cmp al, ah
invalid