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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x463bd3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x463bba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49733e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0046ae70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4a0194
call fcn.0048928f
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x46a5e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048928f
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46a5dc
push 0
mov ecx, eax
call fcn.004616f0
mov dword [esi + 0xc], eax
jmp 0x46a5e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x46a5e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x48b8d8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48b910
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004899a9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489981
jmp 0x48b91c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48cfc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48d008
call fcn.00492946
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48d008
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48cfff
xor eax, eax
jmp 0x48d010
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048d016
pop edi
pop esi
pop ebx
ret 4
Function at 0x492e76
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x492ea4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x492ec2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00492ddc
jmp 0x492ec2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x492ec2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00492ddc
test edi, edi
mov eax, edi
jne 0x492eac
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x405630
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
adc dword [0x698e0c11], ecx
xor bl, al
sub esi, dword [edi]
pop es
adc dword [esi + ecx*4], ecx
imul esi, dword [edx], 0x7372bd8
jb 0x405632
push es
add byte [eax + 0x6f], dh
jo 0x4056b0
xor al, byte [eax]
add byte [edx], cl
sub al, 0x28
pop es
jb 0x40563f
push es
add byte [eax + 0x6f], dh
add byte cs:[eax], al
or bl, byte [eax]
outsd dx, dword [esi]
xor eax, dword [eax]
add byte [edx], cl
adc ecx, dword [ecx]
add bh, byte [ebx + 0xa]
add byte [eax], al
add al, 0x11
or dword [esi], edx
lcall 0x346f, 0x9a170911
add byte [eax], al
or ch, byte [ebx]
add dl, byte [esi]
sub al, byte [esi]
pop ss
pop eax
or al, byte [esi]
add ecx, dword [esi - 0x29ac097]
invalid
add byte [eax + 0x28], dh
sbb byte [eax], al
add byte [edx], cl
jge 0x4056c6
add byte [eax], al
add al, 2
jnp 0x4056cc
add byte [eax], al
add al, 0x28
xor eax, 0x2d0a0000
or al, 2
jnp 0x4056d9
or ch, byte [0xd7b020c]
add byte [eax], al
add al, 0x28
add byte ss:[eax], al
or ah, byte [esi]
add bh, byte [ebx + 6]
add byte [eax], al
add al, 0x28
add byte [eax + ebp], al
and al, byte [eax]
add byte [edx], cl
sub eax, 0x77b0229
add byte [eax], al
add al, 0x6f
aaa
add byte [eax], al
or bl, byte [edi]
rdmsr
sbb al, byte [edx]
jnp 0x4056fd
add byte [eax], al
add al, 0x6f
cmp byte [eax], al
add byte [edx], cl
sub al, 0xd
add bh, byte [ebx + 8]
add byte [eax], al
add al, 0x6f
or eax, 0x87b02
add byte [edi + ebp*2], al
cmp byte [eax], al
add byte [edx], cl
sub eax, 0x22a1602
jnp 0x405719
add byte [eax], al
add al, 0x72
sysret
cmp dword [eax], eax
add byte [edx], cl
sub eax, 0x97b0211
add byte [eax], al
add al, 0x72
sysret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x50
mov eax, dword [0x406090]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov edi, dword [esp + 0x5c]
call fcn.00401680
mov esi, eax
test esi, esi
jne 0x401035
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0040298b
add esp, 0x50
ret 0x10
push edi
call fcn.004018c0
push esi
call fcn.00402930
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.__SINGLETON:MXW:ExpressWorkbenchApp
lea ecx, [esp + 0x3c]
call dword [0x404090]
cmp dword [esp + 0x50], 8
mov eax, dword [str.ExpressWorkbenchNIWBCRC_1.dll]
mov ecx, dword [0x40420c]
mov edx, dword [0x404210]
mov dword [esp + 0x34], eax
mov eax, dword [0x404214]
mov dword [esp + 0x18], eax
mov eax, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [0x404218]
mov dword [esp + 0x14], edx
mov edx, dword [0x40600c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [str.LabVIEW_SignalExpress]
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
jb 0x4010d2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
jmp 0x4010da
lea edx, [esp + 0x3c]
mov dword [esp + 0x30], edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.mxwTask.dll__mxwRunStandalone5_4]
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040298b
add esp, 0x50
ret 0x10
Function at 0x40298b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406090]
jne 0x402995
repz ret
jmp fcn.00402ec9

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0xccd51f
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
jmp 0xccd536
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
movzx esi, byte [eax + 1]
movzx edi, byte [eax + 5]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl esi, 8
xor esi, edi
xor esi, dword [ecx + 4]
movzx edi, byte [eax + 8]
movzx ebx, byte [eax + 0xd]
mov dword [ebp - 0x14], esi
movzx esi, byte [eax + 9]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xa]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xb]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xc]
xor edi, dword [ecx + 8]
xor edx, dword [ecx]
shl esi, 8
xor esi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, ebx
shl esi, 8
xor esi, eax
xor esi, dword [ecx + 0xc]
mov dword [ebp - 0xc], edi
shr edi, 8
mov ebx, esi
shr ebx, 0x10
mov eax, 0xff
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + reloc.kernel32.dll_LoadLibraryA]
xor ebx, dword [edi*4 + reloc.kernel32.dll_LoadLibraryA]
mov edi, edx
shr edi, 0x18
xor ebx, dword [edi*4 + reloc.kernel32.dll_LoadLibraryA]
add byte [ebx - 0x7dc1383], cl

Function at 0xd22ada
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
jmp 0xd2288b
mov eax, dword [ebp - 4]
pushal
add eax, ebx
setb dh
jmp 0xd2289a
mov di, 0x2c51
lea edx, reloc.kernel32.dll_LoadLibraryA
bt edi, ebp
jmp 0xd229fe
mov dh, byte [esp]
mov edi, eax
rdtsc
call fcn.00d228ea
lea esp, [esp + 0x20]
cdq
sub eax, edx
inc dl
jmp 0xd2296f
lea esp, [esp + 4]
jmp 0xd22ae4
cmp dword [ebp - 4], ebx
pushfd
jmp 0xd22b08
lea esp, [esp + 4]
jle 0xd21564
jmp 0xd214f4
Function at 0xd7bc56
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc bl
mov edx, dword [esp + 2]
rdtsc
rcr bl, 5
bsf eax, esi
rdtsc
jmp 0xd7bc64
push word [esp]
bts dx, bp
mov byte [esp + 1], ah
jmp 0xd7bc40
mov bh, dl
bswap eax
mov dh, 0x19
mov dx, word [esp + 4]
push ebp
mov bx, dx
jmp 0xd7be82
mov byte [esp + 8], ah
add ax, sp
lea edx, [edi*4]
jmp 0xd7bccd
lea edx, reloc.kernel32.dll_LoadLibraryA
push dword [esp + 8]
lea ebx, [ecx + 0xad]
stc
push dx
mov dword [esp + 4], eax
jmp 0xd7bc9e
mov ebx, dword [esp + 0xd]
xchg dx, bx
pop word [esp + 6]
call fcn.00d7bd0d
cmp al, 0xf
xchg esi, eax
add eax, eax
neg dl
neg ax
xchg bx, ax
rdtsc
mov ax, sp
rdtsc
jmp 0xd7bcb4
push dword [esp + 6]
lea esp, [esp + 1]
clc
mov al, 0xeb
bts bx, ax
btc edx, edx
jmp 0xd7bce3
bswap eax
bswap ebx
bswap ebx
rol bl, 6
push ax
xchg ah, al
jmp 0xd7bd40
btc ebx, edx
mov bh, 0xcc
mov eax, 0x1d168ed7
pop ebx
mov dx, word [esp + 3]
xchg edx, eax
jmp 0xd7bdb4
Function at 0xd7c55f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 1]
xchg dl, bh
xor edx, 0x10ea0664
not dl
jmp 0xd7c4e5
xchg dword [esp + 5], ebx
mov edx, esi
mov bh, al
mov dword [esp + 0x10], esi
mov bx, 0x31cf
mov eax, esi
jmp 0xd7c480
xchg dword [esp + 7], ebx
sub esp, 0x18
lea edx, [esi*4]
rdtsc
jmp 0xd7c522
add esp, 0x18
bswap edx
xchg edx, eax
lea ebx, [ecx + ebp]
xchg word [esp + 3], bx
push dword [esp + 4]
jmp 0xd7c4aa
mov bh, 0xe1
mov dl, 0x53
xchg edx, eax
bsr edx, edx
xchg dword [esp + 1], ebx
rdtsc
jmp 0xd7c4c0
lea eax, reloc.kernel32.dll_LoadLibraryA
not eax
setbe dl
bsf ebx, edx
jmp 0xd7c53a
xchg dword [esp + 4], ebx
mov dh, byte [esp + 8]
or bx, cx
neg dx
jmp 0xd7c4f5
push dword [esp + 0x12]
pushal
lea esp, [esp + 0x4b]
sub esp, 9
mov word [esp + 3], bp
xchg word [esp + 6], ax
jmp 0xd7c50b
push dword [esp + 5]
mov edx, dword [esp + 1]
and edx, ebx
mov dx, 0x27a8
shr dh, 6
lea esp, [esp + 3]
jmp 0xd7c5b3
and dx, bp
xchg byte [esp + 0x19], dh
jmp 0xd7c496
cmp bx, 0x4f57
setg ah
call fcn.00d7c59d
dec edx
retf
mov eax, ebp
mov word [esp + 1], cx
lea eax, [ebx*4]
push dword [esp + 1]
mov dx, 0x6a90
mov dl, byte [esp + 2]
jmp 0xd7c56b
mov dl, 0x25
pop ebx
std
mov ebx, 0xecbf3da3
neg ax
pop word [esp + 1]
jmp 0xd7c581

Function at 0xd7d476
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap edx
push dword [esp + 0x10]
jmp 0xd7d560
xchg word [esp + 5], bx
mov ch, dl
setne ah
mov word [esp + 1], si
jmp 0xd7d528
lea esi, reloc.kernel32.dll_LoadLibraryA
rcr edx, cl
lea edx, [ecx - 0xf7]
pop dword [esp + 0x21]
mov edi, 0xf0527bad
xchg dword [esp + 0x15], eax
jmp 0xd7d4bd
mov edx, edi
lea ecx, [esp + edi]
mov ch, 0x44
inc bp
mov esi, eax
stc
jmp 0xd7d53b
xchg dh, ah
setne dl
xchg edx, eax
cld
mov dx, 0xa2da
mov cl, 0xa7
jmp 0xd7d4f0
neg al
pushal
lea esp, [esp + 0x46]
mov ah, byte [esp]
mov di, word [esp]
mov ah, byte [esp]
jmp 0xd7d506
cmc
clc
rdtsc
ror cx, 0xe
cpuid
sub esp, 0x16
jmp 0xd7d60c
setne ah
rcr si, 0xd
mov cx, 0xb062
mov bh, al
bsr ecx, edx
rdtsc
jmp 0xd7d4d3
lea edi, [ecx + ebp]
call fcn.00d7d577
lea edi, [ecx*4]
pop dword [esp + 3]
jmp 0xd7d5f4
mov ebx, 0xe0973239
lea esp, [esp + 8]
pop word [esp]
call fcn.00d7d5de
or eax, 0xe1f6ef9c
and byte [edi], cl
mov ebp, 0x83fb86f5
les eax, [esi]
bsr esi, ebp
xchg bl, bh
add esp, 6
shl edx, 7
pushal
shl dh, cl
jmp 0xd7d58d

Function at 0xd7d61f
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 2]
rdtsc
mov ebp, esp
jmp 0xd7d6d6
bsf dx, cx
xchg word [esp + 2], bx
mov esi, edi
xchg dword [esp + 5], esi
sub esp, 0x17
pushal
jmp 0xd7d644
xchg si, di
push word [esp + 4]
xchg dx, di
bswap ecx
mov dword [esp + 4], edi
stc
jmp 0xd7d660

Function at 0xd7d75c
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc edx
xchg word [esp + 0xc], si
bswap ebx
xchg bh, bl
std
jmp 0xd7d7ad
bswap ebp
lea ebp, [ebx + 0x2b]
pop dword [esp]
neg ebx
std
lea eax, [edx + ebx]
jmp 0xd7d77b
mov dh, byte [esp + 0x1f]
lea ebp, reloc.kernel32.dll_LoadLibraryA
xchg dx, di
push word [esp + 0x15]
lea edx, [eax + ebp]
bsr cx, di
jmp 0xd7d791
Function at 0xd7da0c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0xd], ebx
jmp 0xd7da4e
setp cl
lea esp, [esp + 0x14]
push word [esp + 1]
sub esp, 0x15
mov ecx, dword [esp + 0x15]
not ax
jmp 0xd7da38

Function at 0xd7dda0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 5], esi
mov dword [esp + 6], esi
pushfd
push dword [esp + 0xb]
jmp 0xd7ddd8
neg ecx
push word [esp]
dec eax
mov byte [esp + 6], cl
push dword [esp + 6]
mov di, 0x9b87
jmp 0xd7dd6e
mov word [esp + 2], ax
jmp 0xd7dd84
bsr bp, cx
bswap eax
lea esp, [esp + 0x17]
add esp, 0
xchg ah, bl
jmp 0xd7de4d
rdtsc
push ebx
lea edx, reloc.kernel32.dll_LoadLibraryA
lea ebx, [ecx + edi]
rol di, 3
mov al, dl
jmp 0xd7dda7
mov byte [esp + 0x10], ch
xchg byte [esp + 1], ah
pop bx
xchg ebp, ecx
mov ecx, edx
xchg edi, edx
jmp 0xd7ddbd
mov byte [esp + 1], bl
mov bl, 0xb5
pop di
mov esi, ecx
pop bx
jmp 0xd7de2c
not edi
mov ax, bx
push edx
clc
mov eax, 0x1a49bb79
pop esi
jmp 0xd7ddea
lea edi, reloc.kernel32.dll_LoadLibraryA
or cl, bl
pushfd
mov ebx, ebp
bswap eax
xchg cx, di
jmp 0xd7de00
mov ebx, 0x828adf7f
btr ax, cx
or ecx, edx
bsf ecx, ebp
mov bh, dh
mov ecx, edi
jmp 0xd7de75
mov dl, 0x48
mov dx, 0x7bf4
sets dh
xchg al, bl
xchg ebp, ebx
xchg byte [esp], bl
jmp 0xd7de1a
lea edx, reloc.kernel32.dll_LoadLibraryA
mov ecx, esi
mov word [esp], di
jmp 0xd7ded5
pushfd
pop cx
rdtsc
lea esi, [edi*4]
xchg dh, bh
rdtsc
jmp 0xd7de5f
bsf si, sp
pop bx
not cx
setp dh
bswap ebp
lea esp, [esp]
jmp 0xd7de96
mov edi, 0xa0fb1dc1
lea eax, [edx + edi]
mov esi, dword [esp]
mov dl, bh
mov bl, byte [esp + 1]
bswap ebp
jmp 0xd7deac

Function at 0xd7e58e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
call fcn.00d7e043
mov eax, dword [eax + 8]
push eax
jmp 0xd7e03e
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xd7e3d9
lea esp, [esp + 2]
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
mov eax, dword fs:[0x30]
jmp 0xd7e425
pop dword [esp]
pop word [esp]
jmp 0xd7e46b

Function at 0xd7ee41
Capabilities:
Execute anti-debugging instructions

Disassembly:
rcl dx, 2
mov dword [esp + 1], edx
sete dh
lea eax, [edx*4]
mov edx, 0xbaf0b589
btr si, bp
jmp 0xd7e37d
Function at 0x4060d3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42228c], 0
push esi
jne 0x40610a
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 0x4060e4
mov dword [ecx*4 + 0x422288], eax
inc ecx
cmp ecx, 0x100
jl 0x4060df
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40613b
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 + 0x422288]
xor eax, esi
inc ecx
dec edx
jne 0x40611d
pop edi
not eax
pop esi
ret 0xc

Function at 0x44d000
Capabilities:
Accept command line arguments
Copy file
Create directory
Delete file
Get common file path
Get file system object information
Packed with generic packer
Set current directory
Set environment variable
Shutdown system
Terminate process

Disassembly:
pushal
push 0x44d031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x44d03a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x44d047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp fcn.00403217

Function at 0x50872f7f
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x50872f8a
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x5087472e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.50874717
and byte [esi + 0xc], 0
mov eax, 0x50870000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x50874788
cmp dword [ebp - 0x18], 5
jb 0x508747a0
jmp 0x5087479c
cmp dword [ebp - 0xc], 1
jne 0x508747a0
cmp dword [ebp - 0x18], 4
ja 0x5087479c
jne 0x508747a0
cmp dword [ebp - 0x14], 0
jbe 0x508747a0
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x50875050
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x11889c7
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
cmp dword [esp + 0x128], 0
je 0x1188b8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1188b88
mov edx, esi
mov eax, dword [edx]
mov ebx, dword [esp + 0x130]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add eax, ebx
lea edi, [ecx + ebx]
mov dword [esp + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1188a32
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.01181142
add esp, 0xc
test ebx, ebx
je 0x1188b32
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
mov eax, dword [eax]
test eax, eax
je 0x1188b1b
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x130]
test eax, eax
jns 0x1188a77
movzx ebx, ax
jmp 0x1188a7c
lea ebx, [ebp + 2]
add ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword [edi + ecx], eax
test eax, eax
jne 0x1188af3
cmp dword [0x118deac], 1
jne 0x1188af3
push 0x104
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01181142
lea eax, [esp + 0x34]
push eax
call fcn.01188c74
lea eax, [esp + 0x38]
push 0x1180204
push eax
call fcn.01181170
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.01181170
add esp, 0x20
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01181197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x118de58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
mov edi, ecx
mov dword [esp + 0x14], ecx
shl edi, 2
mov eax, dword [edi + eax]
test eax, eax
jne 0x1188a70
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
inc ebp
imul edx, ebp, 0x14
mov dword [esp + 0x1c], ebp
add edx, esi
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x11889f9
jmp 0x1188b88
lea eax, [esp + 0x28]
push eax
call fcn.01188c74
lea eax, [esp + 0x2c]
mov dword [esp], 0x11801e8
push eax
call fcn.01181170
lea eax, [esp + 0x30]
push edi
push eax
call fcn.01181170
add esp, 0x10
cmp dword [0x118deac], 1
jne 0x1188b88
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.01181197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x118de58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x11c
ret
Function at 0x1188bc2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x208
lea eax, [ebp - 0x410]
push eax
call fcn.01188c40
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x118dd24], eax
push 0
push 0
push 0
push 2
push 0
push dword [0x118dd24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x118dd28], eax
push 0
push 0
push 0
push 4
push dword [0x118dd28]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add eax, dword [0x118deb4]
mov esp, ebp
pop ebp
ret