joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4025e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47a900]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
mov ebp, pe_nt_image_headers32
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x18], cl
cdq
idiv dword [esp + 0x22c]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, ebp
jl 0x40261c
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x18]
movzx eax, byte [esp + esi + 0x118]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x402660
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + ebx + 0x18], dl
cmp esi, ebp
jl 0x40263d
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x224], ebx
jle 0x402711
inc edi
and edi, 0x800000ff
jns 0x402693
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x18]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4026ac
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
sub esp, 0x10
movaps xmm0, xmmword [0x423450]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movups xmmword [esp], xmm0
call fcn.0040acb0
add esp, 0xc
mov ecx, 0x47b958
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.004022db
push eax
call fcn.00401c08
movzx eax, byte [esp + edi + 0x1c]
add eax, esi
pop ecx
mov ecx, dword [esp + 0x14]
movzx eax, al
mov al, byte [esp + eax + 0x18]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x224]
jl 0x402682
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040640a
add esp, 0x20c
ret

Function at 0x4032df
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x40331c
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x15
push 0
mov byte [edi + esi], al
call dword [sym.imp.USER32.dll_OpenIcon]
mov al, byte [edi + esi]
sub al, 0x57
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4032ed
pop edi
pop esi
ret
Function at 0x403f87
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.VirtualProtect
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 4]
mov edi, 0x4ac
push ecx
push 0x40
push edi
mov esi, 0x47a428
push esi
call eax
push edi
push esi
call fcn.004032df
pop ecx
pop ecx
call fcn.004032c5
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x47a428
add edx, 0x188
mov esi, 0x42d028
push esi
call edx
push str.dsikfhucIUsioa
push 0x47b958
call fcn.00401100
push eax
call fcn.00401c08
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GdiComment]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x406bb7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406bf6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406bf6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406bf6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406bf6
cmp dword [ecx + 0x74], 0xe
jbe 0x406bf6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x415a78
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427258
push 0x427250
push str.FlsAlloc
push 0x1e
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415aac
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
jmp 0x415ab2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415af6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427268
push 0x427260
push str.FlsGetValue
push 0x20
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415b2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416efd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416b9f

Function at 0x416f08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416d2e
Function at 0x418573
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f20
mov eax, dword [0x47a900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004152c4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4185b5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418711
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422050
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47c210]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418999
mov ecx, dword [esi*4 + 0x47c210]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41870a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41870a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41870a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418999
add esp, 0x14
test edx, edx
jl 0x41870a
jg 0x418680
test eax, eax
jb 0x41870a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41870a
jl 0x41869a
cmp dword [ebp - 0x1008], eax
ja 0x41870a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4186b8
test ebx, ebx
je 0x4186f1
cmp ecx, edi
jae 0x4186f1
mov al, byte [ecx]
cmp al, 0xd
jne 0x4186d2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4186de
cmp byte [ecx + 1], 0xa
jne 0x4186de
inc ecx
jmp 0x4186de
movzx eax, al
movsx eax, byte [eax + 0x47b280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4186b8
cmp edx, ebx
jne 0x4186b8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41870f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040640a
leave
ret
Function at 0x41f1a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47c210]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f1e9
cmp byte [ebx], 0xa
jne 0x41f1e9
or byte [eax + edi + 0x28], 4
jmp 0x41f1ee
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f2ec
mov al, byte [edx]
cmp al, 0x1a
je 0x41f2ce
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f21d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f242
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f24c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f1ff
jmp 0x41f2ec
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
cmp dword [ebp - 0xc], 0
je 0x41f2c9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47c210]
test byte [eax + edi + 0x28], 0x48
je 0x41f2a3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f28e
mov byte [esi], dl
jmp 0x41f29f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47c210]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f2ec
cmp byte [ebp - 1], 0xa
jne 0x41f2b2
cmp esi, ebx
jne 0x41f2b2
mov byte [esi], 0xa
jmp 0x41f2eb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f2ec
mov byte [esi], 0xd
jmp 0x41f2eb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47c210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f2e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f2ec
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f2f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47c210]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f338
cmp word [esi], dx
jne 0x41f338
or byte [edi + eax + 0x28], 4
jmp 0x41f33d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f490
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f470
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f37f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f3b5
cmp eax, edx
jae 0x41f3c1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f357
jmp 0x41f490
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f46c
cmp dword [ebp - 0x14], 0
je 0x41f46c
mov eax, dword [ebx*4 + 0x47c210]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f444
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f40d
mov word [esi], cx
jmp 0x41f440
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47c210]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47c210]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47c210]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f490
pop ebx
cmp word [ebp - 4], bx
jne 0x41f455
cmp esi, dword [ebp + 0xc]
jne 0x41f455
mov word [esi], bx
jmp 0x41f48d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f490
push 0xd
jmp 0x41f489
mov ecx, dword [ebx*4 + 0x47c210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f487
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f490
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x421e7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421e7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0xcdd18b61
add eax, 0x326e9105
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x75a2af31
add dword [ebp - 0x28], 0xd8af961a
mov dword [ebp - 0x24], 0x7ce61daf
add dword [ebp - 0x24], 0xb54d2e96
mov dword [ebp - 0x20], 0x4fde3eaf
add dword [ebp - 0x20], 0xfc6e057f
mov dword [ebp - 0x1c], 0x1ed7e75e
add dword [ebp - 0x1c], 0xe12818a2
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x11467703
sub dword [ebp - 0x28], 0x9cd40dad
mov dword [ebp - 0x24], 0xb3002477
sub dword [ebp - 0x24], 0x7193c302
mov dword [ebp - 0x20], 0xff770574
sub dword [ebp - 0x20], 0x9c079908
mov dword [ebp - 0x1c], 0x9ec446a7
add dword [ebp - 0x1c], 0x613bb959
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x68a1ea6
sub eax, 0x649ee7a
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3501e
push 0
call eax
mov ecx, 0x6a853dd4
add ecx, 0x957b0447
xor esi, esi
add esi, eax
mov edi, 0x4b9e99ff
add edi, 0xb4a1d601
add edi, dword [ebp - 0x18]
mov edx, 0x1985f770
add dword [ebp - 8], eax
mov ebx, dword [edi]
sub dword [ebp - 4], 0x111bf85d
xor ebx, edx
mov dword [ebp - 0x14], 0x2e35ce8
mov dword [esi], ebx
sub dword [ebp - 4], ebx
add esi, 4
add edi, 4
loop 0x401d7f
add eax, 0xfb3f
mov ebx, eax
add eax, 5
mov ecx, 0x3a4e6c67
add ecx, 0xc5f19399
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x51bf06
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0xa
mov dword [esp + 2], ebp
ror dx, cl
rdtsc
mov ah, byte [esp + 6]
jmp 0x51bf0a
rdtsc
jmp 0x51bef0
push dword [esp + 5]
xchg cx, ax
mov byte [esp + 6], ch
jmp 0x51bf38

Function at 0x51bfa6
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp]
jmp 0x51bfb0
btr si, ax
mov si, di
setne cl
xchg word [esp], cx
inc ah
mov eax, 0x28f97d8b
jmp 0x51c5ad
mov dword [esp + 1], edx
Function at 0x51c486
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
lea esi, [eax*4]
mov ebx, 0xf8bc4e8a
jmp 0x51c4a4
dec si
bsr dx, cx
jmp 0x51c470
setae ch
xchg byte [esp + 4], bh
lea esp, [esp + 1]
bt ebp, ebp
mov ecx, edi
jmp 0x51c4b9
mov dword [esp + 3], esi
mov esi, dword [esp + 9]
std
rdtsc
mov ecx, dword [esp + 5]
mov dword [esp + 3], esp
jmp 0x51c48e
mov dx, word [esp + 8]
sub esp, 0x12
mov ebp, edx
rdtsc
setae bl
jmp 0x51c55f
cpuid
pop dword [esp + 0xd]
neg edi
sub esp, 0x14
stc
dec ecx
jmp 0x51c4e7
pop word [esp + 5]
mov word [esp + 0x10], si
not esi
pop word [esp + 0x19]
xchg bl, dl
lea ecx, [eax - 0x9d]
jmp 0x51c4fd

Function at 0x51c62a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 2], dl
ror bx, 3
std
add esp, 4
mov si, word [esp]
not ax
jmp 0x51c635
rcl di, cl
bsf si, bp
neg edx
jmp 0x51c60f
dec ch
mov bl, byte [esp]
setne bh
add ebx, ecx
bswap ebp
rdtsc
jmp 0x51c67e
mov cx, 0x55f1
bswap ebx
add esp, 0
mov byte [esp], ch
xchg ebx, edx
xchg di, cx
jmp 0x51c668

Function at 0x51cb8b
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
neg edi
push word [esp + 3]
std
lea esi, reloc.KERNEL32.dll_GetProcAddress
jmp 0x51cbd5
push word [esp + 3]
neg edx
mov bx, word [esp + 7]
dec cl
jmp 0x51cbf0
btc bp, si
bsr di, si
mov eax, 0x3b8f2ef0
lea ebx, reloc.KERNEL32.dll_GetProcAddress
bsf ax, bp
rdtsc
jmp 0x51cbbf
add esp, 8
xchg bh, dl
mov byte [esp], al
mov eax, 0x1b18f944
lea eax, [eax*4]
not eax
jmp 0x51cc45
mov byte [esp + 5], al
cmp bx, 0xa63e
mov dword [esp], ecx
mov dx, 0xc094
rdtsc
neg bx
jmp 0x51cc6f
btr esi, edi
xchg byte [esp], al
mov edi, dword [esp]
mov cx, bx
bsf edx, edi
sub esp, 7
jmp 0x51cc1b
pop word [esp]
clc
mov esi, dword [esp]
rol dl, cl
xchg byte [esp], ah
rdtsc
jmp 0x51cc9b
inc esi
mov di, word [esp + 7]
xchg byte [esp + 2], dh
neg cx
xchg dword [esp + 3], edx
pop dword [esp]
jmp 0x51cc59
rol di, cl
lea esp, [esp]
xchg ch, dl
mov bp, 0x2d98
setne ch
jmp 0x51ce57
lea esp, [esp + 1]
not ebp
rdtsc
push ecx
lea edx, reloc.KERNEL32.dll_GetProcAddress
lea ebp, [ecx + ebp]
jmp 0x51cc85

Function at 0x51db19
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ebx
pop dx
mov ax, word [esp + 0xf]
lea esp, [esp + 0xa]
add esp, 0
jmp 0x51d9f2
sub esp, 0xe
pop eax
rdtsc
mov ecx, dword [esp + 0xb]
mov word [esp + 2], sp
mov byte [esp + 9], ch
jmp 0x51d9c7
xchg byte [esp + 3], ch
sub esp, 8
pushfd
lea edx, [ecx + edi]
bsr dx, ax
add esp, 7
jmp 0x51da4a
xchg byte [esp + 4], cl
rol dh, cl
xchg ebp, esi
push word [esp + 4]
mov ebp, ebx
mov eax, esp
jmp 0x51d9dd
push word [esp + 4]
push word [esp + 9]
setbe al
push dword [esp]
mov ebp, dword [esp + 0x10]
rdtsc
mov dh, bh
jmp 0x51da21
mov esi, dword [esp + 5]
bsf bp, sp
xchg cl, bh
lea ebp, [ecx + esi]
xchg byte [esp], cl
jmp 0x51da0e
Function at 0x51e15f
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
xchg dword [esp], ebp
lea esi, [esi + 0xa]
bt ecx, ebx
mov bl, cl
mov si, dx
jmp 0x51e161
jmp 0x51e149
cmc
pushal
bsr ebp, ebp
pop word [esp + 7]
pop word [esp + 0x17]
mov word [esp + 0x1b], si
jmp 0x51e206
pop esi
pop word [esp]
pushfd
mov dword [esp], edx
cmc
mov edi, edx
jmp 0x51e1a6
bswap edi
btr ecx, esi
xchg byte [esp + 1], dh
pop word [esp + 1]
std
xchg edx, esi
jmp 0x51e1e8
pushfd
or ecx, ebp
sub esp, 0x1d
lea esp, [esp + 0x42]
sub esp, 8
mov word [esp], cx
jmp 0x51e194
mov dl, byte [esp + 1]
mov word [esp + 1], si
pop dx
mov ebp, ecx
add esp, 0
jmp 0x51e2fa
setg ch
stc
lea ecx, [esi*4]
mov bl, cl
xchg bh, al
lea edi, [edx*4]
jmp 0x51e1d2
push dword [esp + 0x1e]
mov cl, 0xc8
pop edx
rdtsc
setg dh
std
jmp 0x51e1bf
xchg di, dx
sub esp, 0xd
rdtsc
mov dl, 0xf
mov word [esp + 6], bp
xchg esi, eax
jmp 0x51e2c4
cpuid
push word [esp + 1]
mov dword [esp], esp
mov ebx, 0x25fb47a
mov cx, word [esp + 1]
lea edi, [eax + edx]
jmp 0x51e215
rcr ebp, cl
push word [esp + 0xe]
call fcn.0051e256
lea ecx, [esi*4]
rdtsc
xchg dword [esp + 0xe], edi
jmp 0x51e2a5
mov dword [esp + 0xa], ebx
mov ch, 6
xchg word [esp + 1], si
call fcn.0051e2e4
dec edi
fisttp word [edi + 0x2a]
fst dword [edx - 0x59]
xor byte [esi - 0x5266cf3f], ah
mov esp, 0x4c89668f
and al, 0xc
mov word [esp + 0xc], cx
lea eax, [ebx*4]
xchg dword [esp + 0xb], esi
push word [esp]
pop word [esp + 8]
mov di, word [esp + 0xf]
jmp 0x51e26c
mov ax, 0xde57
mov cx, word [esp]
not ecx
lea esp, [esp]
xchg word [esp], cx
inc bh
jmp 0x51e23d
Function at 0x51e188
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor ax, 0x6293
cpuid
sbb si, bx
xchg word [esp + 0x17], di
jmp 0x51e08f
lea ecx, reloc.KERNEL32.dll_GetProcAddress
xchg byte [esp + 8], ch
mov bh, ch
ror edi, 9
xchg esi, ebx
jmp 0x51dfed
neg al
xchg dh, bl
lea edx, [ebx*4]
not bp
xchg dword [esp + 0x13], ebp
pop word [esp + 0x10]
jmp 0x51e003
rdtsc
stc
xchg dword [esp + 0xd], ebp
dec ebx
push word [esp + 0x13]
bswap ebp
jmp 0x51e069
mov ax, 0xa48f
pop dword [esp + 0xd]
mov word [esp + 0x1c], ax
bswap ebx
xchg byte [esp + 0x21], ch
pushfd
jmp 0x51e035
mov ch, byte [esp + 0x30]
push ecx
push word [esp + 0x1c]
pop dword [esp + 0x20]
clc
pushal
jmp 0x51e0d0
mov bx, word [esp + 0x15]
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x21]
mov edi, 0x521f6570
neg ch
xchg dword [esp + 1], edx
jmp 0x51e053
add esp, 4
setl dl
mov dx, di
sub esp, 0x13
pushal
cpuid
jmp 0x51e0fb
xchg si, di
mov edi, 0x43e28dcf
mov cx, 0x4876
pop ax
not edx
jmp 0x51e0e5
lea esp, [esp + 0x53]
lea ebp, [ebx + esi]
mov di, word [esp]
mov dl, byte [esp]
rcl esi, cl
sub esp, 7
jmp 0x51e0a9
mov ebp, esp
rdtsc
xchg byte [esp + 0x2b], al
sub esp, 6
rdtsc
jmp 0x51e111
mov byte [esp + 6], bh
push si
xchg dword [esp + 0x1c], edx
clc
mov word [esp + 5], ax
xchg word [esp], di
jmp 0x51e0ba
mov bl, byte [esp + 4]
mov byte [esp + 0x36], al
mov dword [esp + 0x11], edi
xchg dword [esp + 0xd], edi
mov dl, byte [esp + 0x34]
add esp, 0x3b
call fcn.0051e15f
adc ecx, dword [edx + reloc.KERNEL32.dll_GetProcAddress]
push esp
invalid
lea ebp, reloc.KERNEL32.dll_GetProcAddress
mov ah, dh
shr eax, 0xe
mov ch, byte [esp + 4]
xchg dword [esp + 9], ebp
clc
jmp 0x51e01c
xchg dword [esp + 0x26], edi
xchg ecx, edi
bsf edx, esp
cmc
jmp 0x51e130
Function at 0x51e5bd
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xa
bsr edi, esp
inc dh
mov dx, 0x7eb6
jmp 0x51e5fe
pop dword [esp + 9]
lea eax, reloc.KERNEL32.dll_GetProcAddress
sub di, ax
jmp 0x51e6aa
push ecx
push dword [esp + 0x10]
dec dh
xchg word [esp + 0x13], bx
not dh
add esp, 3
jmp 0x51e5e8
lea edx, reloc.KERNEL32.dll_GetProcAddress
cld
xchg edx, ecx
bsf dx, ax
neg al
jmp 0x51e678
shl dx, 5
mov bl, pe_nt_image_headers32
not ebx
xchg dword [esp + 8], edi
push dx
mov di, word [esp + 3]
jmp 0x51e637
setbe ch
pop ecx
push dword [esp + 0xb]
bswap ebp
pop cx
mov dword [esp + 0x13], ebx
jmp 0x51e692
sub esp, 0x11
mov ebx, 0x93814685
mov eax, 0xc503819e
pop ecx
mov word [esp + 0x1b], ax
mov word [esp + 0x21], sp
jmp 0x51e662
mov esi, dword [esp + 0x22]
mov dword [esp + 0x1c], ecx
lea edx, [ebp*4]
jmp 0x51e7d9
lea eax, reloc.KERNEL32.dll_GetProcAddress
mov si, 0x68e4
lea esi, [edx*4]
push word [esp + 0xa]
mov edi, dword [esp + 0xd]
cpuid
jmp 0x51e64d
not dl
mov edi, 0xad5bb9f7
cld
xchg bh, cl
bswap ebp
add esp, 4
jmp 0x51e70e
lea esp, [esp + 4]
lea ebp, [ebx*4]
clc
xchg word [esp + 0x16], dx
rdtsc
neg edx
jmp 0x51e6c8
rdtsc
mov bh, 0x94
mov bl, byte [esp + 7]
push word [esp + 0x18]
jmp 0x51e768
mov cx, 0x29d
mov word [esp + 1], dx
mov dword [esp + 9], esp
cld
push word [esp + 0x10]
neg edx
jmp 0x51e6f8
and bp, bx
xchg edi, ecx
std
pop eax
mov edi, esp
rdtsc
jmp 0x51e6e1
mov ch, dh
mov al, byte [esp + 0x19]
lea ecx, [eax + ecx]
mov bl, byte [esp + 0xa]
xchg edx, eax
xchg edx, eax
jmp 0x51e797
mov si, 0x48ef
sub esp, 7
pop word [esp + 0xd]
lea ebp, reloc.KERNEL32.dll_GetProcAddress
cmc
pop dword [esp + 0x13]
jmp 0x51e747
lea ebx, reloc.KERNEL32.dll_GetProcAddress
clc
call fcn.0051e781
setnp bh
rdtsc
xchg ecx, edi
sub esp, 0xb
mov word [esp + 0x14], si
jmp 0x51e81f
mov edi, 0xaba0d8b
bsr ecx, ebx
clc
cmc
mov ebx, 0x3fe5e2a5
mov dword [esp + 0x15], ecx
jmp 0x51e73a
bsf dx, di
xchg word [esp], bx
call int.0051e855
xchg edi, eax
push es
xchg esp, eax
push cs
push dword [edi]
push ds
imul esp, dword [esi - 0x79], 0x8d192444
and al, 0x16
xchg word [esp + 0x19], ax
lea esp, [esp + 0x16]
mov ch, dh
pop word [esp + 2]
jmp 0x51e7f1
mov bl, byte [esp + 0x11]
mov esi, 0x4500a433
mov al, ah
lea ebx, [ebp*4]
not ah
lea eax, [esp + edi]
jmp 0x51e807

Function at 0x51e781
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 1], ebx
xchg dword [esp + 0x10], edi
add esp, 0xd
setae ah
jmp 0x51e7b9
mov byte [esp + 0x10], ch
stc
rdtsc
mov cl, byte [esp + 0x12]
mov dx, 0x6ac
mov ax, 0x1e40
jmp 0x51e7a3

Function at 0x51ea86
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions

Disassembly:
call fcn.0051e04b
pushfd
jmp 0x51ebee
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x51e046
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x51eb28
mov word [esp + 5], cx
mov word [esp + 5], ax
push word [esp + 6]
lea esp, [esp + 2]
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
jmp 0x51eb6e
Function at 0x401850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [section..data], 2
jne 0x401870
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call fcn.00401340
jmp 0x40185f