joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5443de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56e458]
jne 0x5443e8
repz ret
jmp fcn.00546369

Function at 0x5496ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005453e6
and dword [ebp - 4], 0
cmp dword [0x570ab8], 0
mov ebx, eax
jne 0x5497b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x549861
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x549861
push eax
call fcn.00545374
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x570ab8], eax
call esi
push eax
call fcn.00545374
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x570abc], eax
call esi
push eax
call fcn.00545374
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x570ac0], eax
call esi
push eax
call fcn.00545374
pop ecx
mov dword [0x570ac8], eax
test eax, eax
je 0x5497b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00545374
pop ecx
mov dword [0x570ac4], eax
mov eax, dword [0x570ac4]
cmp eax, ebx
je 0x549808
cmp dword [0x570ac8], ebx
je 0x549808
push eax
call fcn.005453ef
push dword [0x570ac8]
mov esi, eax
call fcn.005453ef
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x549808
test edi, edi
je 0x549808
call esi
test eax, eax
je 0x5497ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5497ff
test byte [ebp - 0xc], 1
jne 0x549808
or dword [ebp + 0x10], 0x200000
jmp 0x549841
mov eax, dword [0x570abc]
cmp eax, ebx
je 0x549841
push eax
call fcn.005453ef
pop ecx
test eax, eax
je 0x549841
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x549841
mov eax, dword [0x570ac0]
cmp eax, ebx
je 0x549841
push eax
call fcn.005453ef
pop ecx
test eax, eax
je 0x549841
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x570ab8]
call fcn.005453ef
pop ecx
test eax, eax
je 0x549861
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x549863
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54a830
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x56e3f4]
add eax, 0xfffffdcf
mov dword [0x56e3f4], eax
call fcn.004010a0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x54a8d5
jmp 0x54a867
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [0x56e3f8], 0x2382
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x40], eax
mov dword [0x56e3f4], 0x17e8
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0054b7b0
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x56e3f4]
add ecx, 0xfffff71a
mov dword [0x56e3f4], ecx
mov dword [esp + 0x28], eax
jmp 0x54a85f
lea eax, [esp + 0x40]
mov dword [0x56e3f8], 0xcff
mov dword [esp + 0x1c], eax
call fcn.0054aef0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
jne 0x54a85f
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0054a400
lea ecx, [0x54c070]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], 0x12a200
mov edx, dword [0x56e3e0]
mov dword [esp + 0x4c], edx
mov edx, dword [0x56e3e4]
mov dword [esp + 0x90], edx
mov edx, dword [0x56e3e8]
mov dword [esp + 0x64], edx
mov edx, dword [0x56e3ec]
mov dword [esp + 0x78], edx
mov edx, dword [0x56e3f0]
mov dword [esp + 0x88], edx
mov dword [0x56e3f4], 0xfffff70e
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x54a997
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x54a86f
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x54a96c
Function at 0x54ad90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x56e400], 0
mov byte [0x56e404], 0
mov dword [0x56e3f4], 0x2002
mov dword [0x56e3f8], 0xf6c
mov dword [0x56e3fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x54adf8
mov eax, dword [0x56e3f8]
add eax, 0xffffeb75
mov dword [0x56e3f8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x56e3f4], 0x142c
mov eax, dword [0x56e3fc]
add eax, 1
mov dword [0x56e3fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x54adf8
xor eax, eax
mov dword [0x56e3f8], 0x1a2c
mov dword [0x56e3fc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x56e408], 0
mov edx, dword [0x56e400]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x56e408], edi
mov dword [0x56e3f8], 0x232c
mov eax, edi
cdq
idiv ecx
mov dword [0x56e400], edx
mov dword [0x56e3f4], 0x347
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x56e404], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x56e404]
mov edx, dword [0x56e400]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x56e3fc]
add edx, 1
mov dword [0x56e3fc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x54ae41
jmp 0x54ade1
Function at 0x54aef0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x56e3f8]
mov edi, esi
add edi, 0xffffde83
mov dword [0x56e3f4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x54afd6
mov eax, dword [ebp - 0x24]
add esp, 0x30
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x56e3f8], eax
mov dword [ebp - 0x24], ecx
jmp 0x54af3b
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x6f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
je 0x54b02e
jmp 0x54af45
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
jne 0x54af45
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [0x56e3f4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
je 0x54b056
jmp 0x54af45
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x54af82
jmp 0x54af45
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
je 0x54b003
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], eax
jl 0x54afd6
mov eax, dword [ebp - 0x38]
mov dword [0x56e3f8], 0x9f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
je 0x54af59
jmp 0x54af45
mov dword [0x56e3f8], 0x1815
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x54afbc
jmp 0x54af45
mov eax, 1
mov ecx, 0xadf
mov dword [0x56e3f4], 0xadf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x54af3b
jmp 0x54af45
Function at 0x54b4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x56e3fc], 0
mov dword [0x56e400], 0
mov dword [0x56e40c], 0
mov dword [0x56e3f8], 0x14e0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x54b61c
jmp 0x54b5ec
jmp 0x54b61c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x56e3f4], 0xb69
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x56e3fc], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x56e400], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x56e404], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x56e3f4], 0x226c
mov cl, byte [0x56e404]
mov edx, dword [0x56e400]
mov byte [edi + edx], cl
mov edx, dword [0x56e3fc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x56e400]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x56e40c], ebx
mov dword [0x56e3f4], 0x11c5
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x54b519
jmp 0x54b600
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x54b51e
mov eax, dword [0x56e3fc]
mov ecx, dword [0x56e400]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x54b51e
mov dword [0x56e3f8], 0xe7d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
and eax, 0
push eax
push eax
push eax
and ecx, 0
cld
mov eax, ecx
call 0x407d32
add eax, 0xfffffffd
clc
imul ax, dx
mov edx, 6
and eax, 0xff
cmp ax, 0x7c
cld
bnd je 0x407d57
push esp
push 2
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov ecx, ebp
cmp al, 0x57
jne 0x407d98
mov eax, 0x407d52
add eax, edx
push ecx
sub esp, 4
mov dword [esp], eax
push 0xf
push 0
call 0x407d8d
test eax, eax
jne 0x407d6a
jmp 0x407d98
mov eax, 0
leave
push ecx
call ebx
test dword [0x7ffe0004], 0xffffffff
je 0x407d57
mov eax, dword [ebp + 4]
imul eax, dword [eax + 0x14e4f]
test eax, 0x7fffffff
je 0x407d57
bnd jmp dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
jmp 0x864c1e7
stosd dword es:[edi], eax
xchg esi, eax
ja 0x407d6e
lea eax, [eax - 0x773648]
sub edx, 0x1b8
add eax, dword [edx]
mov dword [edx], eax
mov ecx, dword es:[esp]
sub esp, 0xffffffec
xor eax, eax
push cs
je 0x407d29
loop 0x407d6a
xchg ebp, ebp
je 0x407d29
jmp dword es:[sym.imp.KERNEL32.dll_EnumResourceNamesA]
add byte [eax], al
add byte [eax], al
fnstenv [edi + 0x2f]
xor ecx, dword [ebx]
shr byte [eax + 4], 1
xchg ebx, eax
sub byte [edx + 0x24], bh
or dl, byte [edx]
push 0x31967b1b
xchg ah, ch
add ch, byte [eax + 0x19]
xchg dword [esi - 0x1f666d4], ecx
add byte [eax - 0xd], ch
aam 0xc
int3
Function at 0x401de0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [esp - 0x34]
xor cx, word [esp - 0x2c]
mov al, 0x28
sub cl, byte [esp - 0x20]
add ecx, dword [esp - 0xb]
mov dword [ebp - 8], 0x101
mov cx, 0x6b
mov ecx, dword [esp - 0x13]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x401e47
mov cl, byte [esp - 0x7f]
mov cl, byte [esp - 0x76]
xor edx, 0xb26
mov cx, word [esp - 0x3b]
mov edx, 0x92b
lea ecx, [ebp - 0x20c]
call fcn.004020a0
mov esp, ebp
pop ebp
ret
push 0x44a3f0
lea eax, [ebp - 1]
push eax
call fcn.0040462c
int3
Function at 0x402410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x80
mov edi, ecx
push 0
push edi
call fcn.00404450
add esp, 0xc
mov dword [edi + 0x80], 0
sub cl, 0x2c
add al, cl
mov al, byte [esp - 0x13]
xor esi, esi
mov al, cl
mov ax, 0x4c
mov dx, word [esp - 0x5b]
xor dx, word [esp - 0xa]
mov ebx, dword [ebp + 0xc]
xor dx, ax
mov edx, ecx
mov ax, word [esp - 0x20]
add cl, 0xc
sub cl, 0x15
xor al, 0x1e
mov cx, dx
add ecx, 0x1f0
sub cl, al
xor ecx, eax
xor edx, edx
mov eax, esi
div ebx
mov eax, dword [ebp + 8]
mov dl, byte [edx + eax]
mov cl, 0x16
sub cl, byte [esp - 0x21]
sub eax, edx
mov ax, word [esp - 0x3a]
add cx, 0x4c
mov byte [esi + edi], dl
mov cx, 0x6b
mov ecx, dword [esp - 0x13]
inc esi
cmp esi, 0x80
jb 0x402450
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x429631
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004294b0
Function at 0x14005
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [section..data]
test eax, eax
mov ecx, 0xbb40e64e
je 0x1401c
cmp eax, ecx
jne 0x1403a
mov edx, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, section..data
shr eax, 8
xor eax, dword [edx]
mov dword [section..data], eax
jne 0x1403a
mov eax, ecx
mov dword [section..data], eax
not eax
mov dword [0x13004], eax
pop ebp
jmp 0x11010
Function at 0x401aa0
Capabilities:
Parse pe header

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

Function at 0x40668f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp byte [eax], bl
mov dword [ebp - 0x44], esi
call fcn.00406488
push edi
in eax, dx
ja 0x4066a4
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00406488
invalid

Function at 0x4068b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00406498
push eax
push esi
push dword [ebp + 8]
call fcn.0040644d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00406488
dec edx
xor eax, dword [edi + 0x7c9d8893]
invalid
Function at 0x40863e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
invalid
inc ebx
cmp al, 0x60
mov ebp, esp
add ebp, 0x24
push esp
call fcn.00406488
js 0x40860c
sbb al, 0x8d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
inc eax
or al, 0x8b
jo 0x40865f
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40864c
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00406488
or eax, 0x8be92326
jmp 0x47cc7ee8
cmp al, 0x8b
push esp
pop es
js 0x408666
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
and byte [ebx], al
fucompi st(0)
pop ss
fdivp st(7)
call dword [ebp + ebp*4 + 5]
adc eax, 0x8b348b49
call fcn.00406488
push esp
lodsd eax, dword [esi]
add eax, 0x348b4915
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x408675
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x408675
call fcn.00406488
scasd eax, dword es:[edi]
sbb dword [ecx + 0x245a8bdd], ebp
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00406488
popf
test byte [edx - 1], bh
jne 0x4086bf
push dword [ebp + 4]
push dword [ebp]
call fcn.00406c88
pop es
in eax, 0xff
inc dword [edi]
push str.ext_ms_
push ebx
call fcn.00405c78
add esp, 0xc
test eax, eax
je 0x4086e4
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x408706
mov edx, dword [ebp - 4]
or eax, 0xffffffff
lea ecx, [edx*4 + 0x4162d8]
xchg dword [ecx], eax
add edi, 4
cmp edi, dword [ebp + 0xc]
jne 0x408669
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 4]
mov eax, esi
lea ecx, [edx*4 + 0x4162d8]
xchg dword [ecx], eax
test eax, eax
je 0x40871f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x408701
Function at 0x40b280
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426e2c]
jne 0x40b28a
repz ret
jmp fcn.0041385c

Function at 0x4214eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426e2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041034a
and dword [ebp - 0x14], 0
cmp dword [0x47a4a4], 0
mov dword [ebp - 0x18], eax
jne 0x42159e
push 0x404378
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x421646
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40436c
push ebx
call edi
test eax, eax
je 0x421646
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40435c
push ebx
mov dword [0x47a4a4], eax
call edi
push eax
call esi
push 0x404348
push ebx
mov dword [0x47a4a8], eax
call edi
push eax
call esi
push 0x40432c
push ebx
mov dword [0x47a4ac], eax
call edi
push eax
call esi
mov dword [0x47a4b4], eax
test eax, eax
je 0x42159e
push 0x404314
push ebx
call edi
push eax
call esi
mov dword [0x47a4b0], eax
mov eax, dword [0x47a4b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4215f7
cmp dword [0x47a4b4], ecx
je 0x4215f7
push eax
call esi
push dword [0x47a4b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4215f7
test ebx, ebx
je 0x4215f7
call edi
test eax, eax
je 0x4215ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4215ee
test byte [ebp - 8], 1
jne 0x4215f7
or dword [ebp + 0x10], 0x200000
jmp 0x42162a
mov eax, dword [0x47a4a8]
cmp eax, dword [ebp - 0x18]
je 0x42162a
push eax
call esi
test eax, eax
je 0x42162a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42162a
mov eax, dword [0x47a4ac]
cmp eax, dword [ebp - 0x18]
je 0x42162a
push eax
call esi
test eax, eax
je 0x42162a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47a4a4]
call esi
test eax, eax
je 0x421646
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x421648
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b280
leave
ret
Function at 0x422f40
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Manipulate console buffer

Disassembly:
mov eax, 0x1004
call fcn.00422210
cmp dword [0x81b1b8], 0x37
jne 0x422fe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push 0
lea edx, [esp + 0x808]
push edx
push 0x404508
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x81b1bc]
mov edx, dword [0x817628]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1004
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x29494ef2
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x8186fff
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219