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

Disassembly:
cmp ecx, dword [0x42c0f8]
jne 0x405e4a
repz ret
jmp fcn.0040a412

Function at 0x40a135
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.00407ebb
and dword [ebp - 4], 0
cmp dword [0x42e994], 0
mov ebx, eax
jne 0x40a1e6
push 0x401a3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a297
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a30
push edi
call esi
test eax, eax
je 0x40a297
push eax
call fcn.00407e49
mov dword [esp], 0x401a20
push edi
mov dword [0x42e994], eax
call esi
push eax
call fcn.00407e49
mov dword [esp], 0x401a0c
push edi
mov dword [0x42e998], eax
call esi
push eax
call fcn.00407e49
mov dword [esp], 0x4019f0
push edi
mov dword [0x42e99c], eax
call esi
push eax
call fcn.00407e49
pop ecx
mov dword [0x42e9a4], eax
test eax, eax
je 0x40a1e6
push 0x4019d8
push edi
call esi
push eax
call fcn.00407e49
pop ecx
mov dword [0x42e9a0], eax
mov eax, dword [0x42e9a0]
cmp eax, ebx
je 0x40a23e
cmp dword [0x42e9a4], ebx
je 0x40a23e
push eax
call fcn.00407ec4
push dword [0x42e9a4]
mov esi, eax
call fcn.00407ec4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a23e
test edi, edi
je 0x40a23e
call esi
test eax, eax
je 0x40a235
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a235
test byte [ebp - 0xc], 1
jne 0x40a23e
or dword [ebp + 0x10], 0x200000
jmp 0x40a277
mov eax, dword [0x42e998]
cmp eax, ebx
je 0x40a277
push eax
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40a277
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a277
mov eax, dword [0x42e99c]
cmp eax, ebx
je 0x40a277
push eax
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40a277
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e994]
call fcn.00407ec4
pop ecx
test eax, eax
je 0x40a297
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a299
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40135c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, ecx
mov esi, edx
mov ebp, eax
mov dword [ebx + 4], 0x100000
push 4
push 0x2000
push 0x100000
push ebp
call sub.KERNEL32.DLL_VirtualAlloc
mov edi, eax
mov dword [ebx], edi
test edi, edi
jne 0x4013a6
add esi, 0xffff
and esi, 0xffff0000
mov dword [ebx + 4], esi
push 4
jmp loc.004406cb
cmp dword [ebx], 0
je 0x4013ce
mov edx, ebx
mov eax, 0x4075d4
call fcn.004011ac
test al, al
jne 0x4013ce
push 0x8000
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_VirtualFree
xor eax, eax
mov dword [ebx], eax
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401520
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov esi, ebx
add esi, 0xfff
and esi, 0xfffff000
mov dword [esp], esi
mov ebp, ebx
add ebp, edx
and ebp, 0xfffff000
jmp loc.00440b11

Function at 0x4019e8
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [0x407610]
jmp 0x401a00
mov ecx, dword [edx + 8]
cmp eax, ecx
jb 0x4019fe
jmp 0x440cc5
mov edx, dword [edx]
cmp edx, 0x407610
jne 0x4019f0
mov dword [0x4075b0], 3
xor edx, edx
mov eax, edx
ret

Function at 0x401a18
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ecx, edx
sub ecx, 4
lea ebx, [ecx + eax]
cmp edx, 0x10
jl 0x401a35
mov dword [ebx], 0x80000007
mov edx, ecx
jmp loc.004409c4
cmp edx, 4
jl 0x401a46
mov ecx, edx
or ecx, 0x80000002
mov dword [eax], ecx
mov dword [ebx], ecx
pop ebx
ret

Function at 0x401b04
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
xor edi, edi
mov eax, dword [ebx]
test eax, 0x80000000
je 0x401b1f
and eax, 0x7ffffffc
add edi, eax
add ebx, eax
mov eax, dword [ebx]
test al, 2
jne 0x401b36
mov esi, ebx
mov eax, esi
call fcn.00401984
mov eax, dword [esi + 8]
add edi, eax
jmp 0x43fa69
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4025d0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
call fcn.004043a0
jmp loc.0043f027
Function at 0x402630
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebx, eax
jmp 0x402642
push ebx
call sub.user32.dll_CharNextA
mov ebx, eax
mov al, byte [ebx]
test al, al
je 0x40264c
cmp al, 0x20
jbe 0x40263a
cmp byte [ebx], 0x22
jne 0x40265c
cmp byte [ebx + 1], 0x22
jne 0x40265c
add ebx, 2
jmp 0x402642
xor ebp, ebp
mov edi, ebx
jmp 0x4026a5
cmp al, 0x22
jne 0x402697
push ebx
call sub.user32.dll_CharNextA
mov ebx, eax
jmp 0x40267e
push ebx
call sub.user32.dll_CharNextA
mov edx, eax
sub edx, ebx
add ebp, edx
mov ebx, eax
mov al, byte [ebx]
test al, al
je 0x402688
cmp al, 0x22
jne 0x402670
cmp byte [ebx], 0
je 0x4026a5
push ebx
jmp 0x440755
push ebx
call sub.user32.dll_CharNextA
mov edx, eax
sub edx, ebx
add ebp, edx
mov ebx, eax
mov al, byte [ebx]
cmp al, 0x20
ja 0x402662
mov eax, esi
mov edx, ebp
call fcn.00403d90
mov ebx, edi
mov edi, dword [esi]
xor esi, esi
jmp 0x40270d
cmp al, 0x22
jne 0x4026f8
push ebx
call sub.user32.dll_CharNextA
mov ebx, eax
jmp 0x4026df
push ebx
call sub.user32.dll_CharNextA
cmp eax, ebx
jbe 0x4026df
mov dl, byte [ebx]
mov byte [edi + esi], dl
inc ebx
inc esi
cmp eax, ebx
ja 0x4026d4
mov al, byte [ebx]
test al, al
je 0x4026e9
cmp al, 0x22
jne 0x4026ca
cmp byte [ebx], 0
je 0x40270d
push ebx
call sub.user32.dll_CharNextA
mov ebx, eax
jmp 0x40270d
push ebx
call sub.user32.dll_CharNextA
cmp eax, ebx
jbe 0x40270d
mov dl, byte [ebx]
mov byte [edi + esi], dl
inc ebx
inc esi
cmp eax, ebx
ja 0x402702
mov al, byte [ebx]
cmp al, 0x20
ja 0x4026bc
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40271c
Capabilities:
Accept command line arguments
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403998
test esi, esi
jne 0x402752
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403a5c
jmp 0x402770
jmp loc.0043ec91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40277c
Capabilities:
Packed with generic packer

Disassembly:
add esp, 0xfffffff8
push esp
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
je 0x402794
mov eax, dword [esp]
mov dword [0x406008], eax
pop ecx
pop edx
ret
jmp loc.0043ff14

Function at 0x402ad4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov cx, word [eax + 4]
sub cx, 0xd7b1
je 0x402aef
dec ecx
sub cx, 2
jae 0x402af3
mov ebx, edx
call ebx
mov ebx, eax
jmp 0x402b0a
xor ebx, ebx
jmp 0x402b0a
cmp eax, 0x407204
je 0x402b01
cmp eax, 0x4073d0
jne 0x402b05
xor ebx, ebx
jmp 0x402b0a
jmp 0x43e888
test ebx, ebx
je 0x402b15
mov eax, ebx
call fcn.004025b4
mov eax, ebx
pop ebx
ret

Function at 0x402bbc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
push 0xd7b1
push 0x402b28
push 0x64
jmp loc.0043fe5b
Function at 0x402c6c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov ax, word [ebx + 4]
cmp ax, 0xd7b0
jbe 0x402ca7
cmp ax, 0xd7b3
ja 0x402ca7
push 1
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_SetFilePointer
mov esi, eax
cmp esi, 0xffffffff
jne 0x402c9c
jmp loc.00440d75
mov eax, esi
xor edx, edx
div dword [ebx + 8]
mov esi, eax
jmp 0x402cb4
mov eax, 0x67
call fcn.004025b4
or esi, 0xffffffff
mov eax, esi
pop esi
pop ebx
ret

Function at 0x402cbc
Capabilities:
Get file size
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
mov ax, word [ebx + 4]
cmp ax, 0xd7b0
jbe 0x402cf6
cmp ax, 0xd7b3
ja 0x402cf6
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x402ceb
jmp loc.0043f2fe
mov eax, esi
xor edx, edx
div dword [ebx + 8]
mov esi, eax
jmp 0x402d00
mov eax, 0x67
call fcn.004025b4
mov eax, esi
pop esi
pop ebx
ret

Function at 0x402e4c
Capabilities:
Packed with generic packer

Disassembly:
mov cl, byte [0x40600c]
and cl, 3
cmp cl, 2
jbe 0x402e5c
mov cl, 2
and ecx, 0xff
jmp loc.0043fe25

Function at 0x40320c
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je fcn.00403217
mov dl, 1
jmp loc.0043f720

Function at 0x4032e8
Capabilities:
Packed with generic packer

Disassembly:
push eax
push edx
cmp byte [0x406018], 1
jbe fcn.00403303
push esp
push 2
push 0
push 0xeedfae3
jmp loc.0043e7b7

Function at 0x403668
Capabilities:
Packed with generic packer

Disassembly:
xor edx, edx
mov eax, dword [0x407624]
test eax, eax
je 0x40368f
mov ecx, dword fs:[edx]
cmp eax, ecx
jne 0x403682
jmp loc.00440cf0
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
je 0x40368f
cmp dword [ecx], eax
jne 0x403680
mov eax, dword [eax]
mov dword [ecx], eax
ret

Function at 0x4036f0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x407628]
test eax, eax
je 0x40374a
mov esi, dword [eax]
xor ebx, ebx
mov edi, dword [eax + 4]
xor edx, edx
push ebp
jmp loc.004410f0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40381c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x407034], 0
je 0x40387d
cmp word [0x407208], 0xd7b2
jne fcn.00403845
jmp loc.0043e05f
jmp loc.0043e000

Function at 0x40398c
Capabilities:
Packed with generic packer

Disassembly:
pop dword [0x406004]
jmp loc.00441068

Function at 0x403a30
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
jle 0x403a58
push eax
add eax, 0xa
and eax, 0xfffffffe
push eax
call fcn.004024a0
pop edx
mov word [edx + eax - 2], 0
add eax, 8
pop edx
mov dword [eax - 4], edx
jmp loc.0043fe76
xor eax, eax
ret

Function at 0x403a5c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov eax, edi
call fcn.00403a30
mov ecx, edi
mov edi, eax
test esi, esi
je fcn.00403a7d
mov edx, eax
mov eax, esi
jmp loc.004403e7

Function at 0x403a8c
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
mov cl, byte [edx]
inc edx
jmp fcn.00403a5c
Function at 0x403bfc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
cmp eax, edx
je 0x403c9a
test esi, esi
je 0x403c77
test edi, edi
je 0x403c7e
mov eax, dword [esi - 4]
mov edx, dword [edi - 4]
sub eax, edx
ja 0x403c1f
add edx, eax
push edx
shr edx, 2
je 0x403c4b
mov ecx, dword [esi]
mov ebx, dword [edi]
cmp ecx, ebx
jne 0x403c85
dec edx
je 0x403c45
mov ecx, dword [esi + 4]
mov ebx, dword [edi + 4]
cmp ecx, ebx
jne 0x403c85
add esi, 8
add edi, 8
dec edx
jne 0x403c25
jmp 0x403c4b
jmp 0x43f801
pop edx
and edx, 3
je 0x403c73
mov ecx, dword [esi]
mov ebx, dword [edi]
cmp cl, bl
jne 0x403c9a
dec edx
je 0x403c73
cmp ch, bh
jne 0x403c9a
dec edx
je 0x403c73
and ebx, 0xff0000
and ecx, 0xff0000
cmp ecx, ebx
jne 0x403c9a
add eax, eax
jmp 0x403c9a
mov edx, dword [edi - 4]
sub eax, edx
jmp 0x403c9a
mov eax, dword [esi - 4]
sub eax, edx
jmp 0x403c9a
pop edx
cmp cl, bl
jne 0x403c9a
cmp ch, bh
jne 0x403c9a
shr ecx, 0x10
shr ebx, 0x10
cmp cl, bl
jne 0x403c9a
cmp ch, bh
pop edi
pop esi
pop ebx
ret

Function at 0x403d08
Capabilities:
Packed with generic packer

Disassembly:
push ebx
test eax, eax
je 0x403d3a
mov ebx, dword [eax - 4]
test ebx, ebx
je 0x403d3a
dec edx
jl 0x403d32
cmp edx, ebx
jge 0x403d3a
sub ebx, edx
test ecx, ecx
jl 0x403d3a
cmp ecx, ebx
jg 0x403d36
jmp 0x44004a
xor edx, edx
jmp 0x403d1b
mov ecx, ebx
jmp 0x403d25
mov eax, dword [esp + 8]
call fcn.00403998
pop ebx
ret 4

Function at 0x403dfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, edx
mov edx, ecx
xor ecx, ecx
test ebx, ebx
je fcn.00403e0c
jmp loc.0043ef58

Function at 0x404098
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [0x40602c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4040eb
xor eax, eax
push ebp
push 0x4040d3
push dword fs:[eax]
mov dword fs:[eax], esp
jmp loc.0043e8ee
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4040f4
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [0x406028]
mov dword [eax], edx
jmp loc.0043fe97

Function at 0x40418c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4041f2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403a98
jmp loc.0043e466

Function at 0x4043a0
Capabilities:
Get thread local storage value
Packed with generic packer

Disassembly:
mov cl, byte [0x40764c]
mov eax, dword [0x4060b0]
test cl, cl
jne 0x4043d5
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
ret
jmp loc.0043eb8c
push eax
call sub.KERNEL32.DLL_TlsGetValue
test eax, eax
je 0x4043ba
ret

Function at 0x404644
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xffffffff
je fcn.0040465c
push eax
call sub.KERNEL32.DLL_FindClose
jmp loc.0043fd72
Function at 0x4046b0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
je 0x4046cd
mov eax, ebx
call fcn.004045e0
pop ebx
ret
jmp loc.004408ce

Function at 0x4046d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov edx, esi
jmp loc.0043feb6

Function at 0x404814
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403cb0
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
pop ebx
ret

Function at 0x404828
Capabilities:
Packed with generic packer
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00403cb0
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x40484a
jmp loc.0043ec21
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x404864
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword fs:[0x18]
jmp loc.0043fb48

Function at 0x4048b4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x404934
jmp loc.0043fb6c

Function at 0x404a7c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ca0
xor eax, eax
push ebp
push 0x404c33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404814
test al, 1
je fcn.00404ad7
mov edx, 0x80
mov eax, dword [ebp - 4]
jmp loc.004403c7

Function at 0x404f3c
Capabilities:
Get common file path
Manipulate console buffer
Set console window title

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x404f0c
call fcn.004043ec
xor eax, eax
push ebp
push 0x40505c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00404850
jmp loc.0043f4d7

Function at 0x43e4a7
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push sym.imp.KERNEL32.DLL_RtlUnwind
push 0x401a20
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
mov esi, eax
mov dword [ebx + 0x14], esi
jmp fcn.00404685

Function at 0x43e9d7
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
add al, 4
add al, 4
xor al, 0
pop edi
push ebx
dec edi
pop edi
dec edi
aas
popal
popfd
mov edx, dword [0x404560]
jmp loc.00404ea3

Function at 0x440d1d
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop ebx
push 0x8001
push 6
and eax, 0xbfffffff
pop ecx
cmp ax, cx
add esp, 0xc
leave
popal
popfd
call fcn.004043a0
jmp loc.004034c5
Function at 0x4410ba
Capabilities:
Query or enumerate registry value

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408368
push 0x407e10
push eax
push ebx
push edi
xor ebx, ebx
push 2
pop ecx
mov ecx, dword [0x40902c]
mov ecx, dword [0x409028]
add esp, 0x18
leave
popal
popfd
push 0x4031f0
jmp loc.0040318d
Function at 0x40b490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bb68]
jne 0x40b49a
repz ret
jmp fcn.00413aec

Function at 0x41e124
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42bb68]
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.0040e0a4
and dword [ebp - 0x14], 0
cmp dword [0x44cbdc], 0
mov dword [ebp - 0x18], eax
jne 0x41e1d7
push 0x4038d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e27f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038cc
push ebx
call edi
test eax, eax
je 0x41e27f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4038bc
push ebx
mov dword [0x44cbdc], eax
call edi
push eax
call esi
push 0x4038a8
push ebx
mov dword [0x44cbe0], eax
call edi
push eax
call esi
push 0x40388c
push ebx
mov dword [0x44cbe4], eax
call edi
push eax
call esi
mov dword [0x44cbec], eax
test eax, eax
je 0x41e1d7
push 0x403874
push ebx
call edi
push eax
call esi
mov dword [0x44cbe8], eax
mov eax, dword [0x44cbe8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e230
cmp dword [0x44cbec], ecx
je 0x41e230
push eax
call esi
push dword [0x44cbec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e230
test ebx, ebx
je 0x41e230
call edi
test eax, eax
je 0x41e227
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e227
test byte [ebp - 8], 1
jne 0x41e230
or dword [ebp + 0x10], 0x200000
jmp 0x41e263
mov eax, dword [0x44cbe0]
cmp eax, dword [ebp - 0x18]
je 0x41e263
push eax
call esi
test eax, eax
je 0x41e263
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e263
mov eax, dword [0x44cbe4]
cmp eax, dword [ebp - 0x18]
je 0x41e263
push eax
call esi
test eax, eax
je 0x41e263
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44cbdc]
call esi
test eax, eax
je 0x41e27f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e281
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b490
leave
ret
Function at 0x428150
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Manipulate console buffer

Disassembly:
mov eax, 0x1004
call fcn.00425080
cmp dword [0x7ed968], 0x37
jne 0x4281f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
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_RemoveDirectoryW]
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_PrepareTape]
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_ReportEventW]
push 0
lea edx, [esp + 0x808]
push edx
push 0x4044f0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7ed96c]
mov edx, dword [0x7e9dd8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1004
ret
Function at 0x47e0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x73000]
push edi
or ebp, 0xffffffff
jmp 0x47e0e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47e0e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47e0d8
mov eax, 1
add ebx, ebx
jne 0x47e0fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47e0f0
jne 0x47e10c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47e0f0
xor ecx, ecx
sub eax, 3
jb 0x47e120
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47e192
mov ebp, eax
add ebx, ebx
jne 0x47e12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47e138
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47e15c
inc ecx
add ebx, ebx
jne 0x47e148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47e13d
jne 0x47e159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47e13d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47e17c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47e16d
jmp 0x47e0de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47e17c
add edi, ecx
jmp 0x47e0de
pop esi
mov edi, esi
mov ecx, 0x44e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47e19a
cmp byte [edi], 9
jne 0x47e19a
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 al, bl
loop 0x47e19f
lea edi, [esi + 0x7c000]
mov eax, dword [edi]
or eax, eax
je 0x47e217
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47e1cc
mov ecx, edi
jns 0x47e1fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7e090]
or eax, eax
je 0x47e211
mov dword [ebx], eax
add ebx, 4
jmp 0x47e1e9
call dword [esi + 0x7e098]
mov ebp, dword [esi + 0x7e094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47e24b
sub esp, 0xffffff80
jmp 0x40dcca

Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x540c0c8]
push eax
add ecx, 0x40
dec eax
pop ecx
dec ebp
inc eax
add byte [ecx - 1], dl
adc eax, 0x8c180
lodsb al, byte [esi]
lodsb al, byte [esi]
add al, byte [ecx]
add esp, 0xc
test eax, eax
je 0x401787
push eax
invalid
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop