joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00412b30
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x412c80
movzx eax, byte [ebp - 0x20]
add eax, 0x40
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ab80
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x412bda
mov eax, 0x4aa2e0
push eax
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test eax, eax
jne 0x412c30
call sub.kernel32.dll_GetLastError
call fcn.00403330
lea eax, [ebp - 0x10]
call fcn.004097a0
movzx eax, byte [ebp - 0x20]
add eax, 0x40
lea edx, [ebp - 0x14]
call fcn.00409c50
mov edx, dword [ebp - 0x14]
mov ecx, 0x487300
lea eax, [ebp - 0x10]
call fcn.00409ad0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040a3e0
jmp 0x412ccc
mov edi, esi
xor eax, eax
sub edi, 1
sbb eax, 0
mov edx, ebx
xor ecx, ecx
cmp eax, ecx
jne 0x412c46
cmp edi, edx
je 0x412c50
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040ab80
cmp byte [0x4815d0], 0
jne 0x412ccc
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call fcn.0040b080
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040a500
jmp 0x412ccc
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ab80
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x412ca4
mov edx, 0x4aa2e0
push edx
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x4815d0], 0
jne 0x412ccc
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call fcn.0040b080
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040a500
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00412b30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416fa0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ax, ax
nop dword [eax]
movsx ecx, ax
mov bx, 1
nop
test cl, 1
je 0x416fc8
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x416fca
shr ecx, 1
add bx, 1
cmp bx, 8
jle 0x416fb0
movzx edx, ax
mov dword [edx*4 + 0x4cc180], ecx
add ax, 1
cmp ax, 0xff
jle 0x416fa8
pop ebx
ret

Function at 0x416ff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, edx
mov esi, ecx
cmp dword [0x4cc184], 0
jne 0x417007
call fcn.00416fa0
mov edx, edi
not ebx
mov eax, ebx
mov ebx, esi
test esi, esi
jle 0x417037
xor esi, esi
nop dword [eax]
add esi, 1
mov cl, al
xor cl, byte [edx]
movzx ecx, cl
mov edi, eax
shr edi, 8
xor edi, dword [ecx*4 + 0x4cc180]
mov eax, edi
add edx, 1
cmp esi, ebx
jl 0x417018
not eax
pop edi
pop esi
pop ebx
ret
Function at 0x417ef0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
xor eax, eax
push fcn.00417ee0
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x14]
call fcn.00407f30
push 0xf01ff
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x417f48
mov eax, 0x4aa2e0
push eax
push dword [ebp - 0xc]
call fcn.0043dca0
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x417f5d
call fcn.00436ed0
xor eax, eax
push fcn.00417ec0
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x10]
call fcn.0043dc80
test eax, eax
jne 0x417f81
call fcn.00436ed0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00417ec0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00417ee0
mov esp, ebp
pop ebp
ret
Function at 0x41ce40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.0041ce30
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push edi
push ebx
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41cf31
cmp byte [ebp + 8], 0
je 0x41cf00
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004043e0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408800
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409610
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x48adec
mov edx, 1
call fcn.00436360
mov edx, 0x41ce8c
mov ecx, ebp
call fcn.00414240
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x48adec
mov edx, 1
call fcn.00436360
mov edx, 0x41cf00
mov ecx, ebp
call fcn.00414240
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x18], eax
test eax, eax
jne 0x41cff1
cmp byte [ebp + 8], 0
je 0x41cfc0
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004043e0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408800
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409610
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x48adec
mov edx, 1
call fcn.00436360
mov edx, 0x41cf4f
mov ecx, ebp
call fcn.00414240
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x48adec
mov edx, 1
call fcn.00436360
mov edx, 0x41cfc0
mov ecx, ebp
call fcn.00414240
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.0041c4b0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0041ce30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x421980
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov dword [eax + 0xc], 0xffffffff
push dword [eax + 4]
call sub.kernel32.dll_SuspendThread
mov esp, ebp
pop ebp
ret

Function at 0x4219a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [eax + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4219ba
mov dword [ebx + 0xc], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x270]
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov byte [ebp - 0x270], cl
lea eax, [ebp - 0x268]
mov edx, 0x4914c0
call fcn.0040d5f0
xor eax, eax
push fcn.00437b20
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x437b86
mov eax, 0x4aa2e0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp eax, 0xffffffff
jne 0x437bd0
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x437ba2
clc
jmp 0x437ba9
bt dword [0x490948], eax
jb 0x437bc0
mov eax, ebp
call fcn.00437c90
test al, al
setne byte [ebp - 0x26c]
jmp 0x437c70
mov byte [ebp - 0x26c], 0
jmp 0x437c70
movzx edx, byte [ebp - 8]
mov eax, ebx
and eax, 0x10
cmp eax, dword [edx*4 + 0x482c70]
sete byte [ebp - 0x26c]
mov al, byte [ebp - 0x26c]
and al, byte [ebp - 0x270]
je 0x437c70
test bx, 0x400
je 0x437c70
lea ebx, [ebp - 0x268]
mov edx, 0x4914c0
mov eax, ebx
call fcn.0040d6d0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004377a0
test eax, eax
je 0x437c30
sub eax, 1
je 0x437c50
jmp 0x437c60
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00437b40
mov byte [ebp - 0x26c], al
jmp 0x437c70
mov byte [ebp - 0x26c], 1
jmp 0x437c70
mov byte [ebp - 0x26c], 0
nop word [eax + eax]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00437b20
mov al, byte [ebp - 0x26c]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437d60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00437d50
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x437dd0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040ab80
cmp ebx, 1
jle 0x437dba
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040a2b0
jmp 0x437ddb
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00407f30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00437d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438250
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00438240
push ebp
push 0x414380
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x4cca1c]
xor edx, edx
call fcn.00407f30
mov dword [ebx*4 + 0x4cca3c], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x438280
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x438308
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00408980
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0042e340
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x438308
push 4
push esi
push ebx
mov eax, 0x438110
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x4381b0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00438240
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438a60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.00438a30
push ebp
push 0x414380
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.0042ddf0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00407f30
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.00409610
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00407f30
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x438b6e
lea ecx, [ebp - 8]
xor dx, dx
mov eax, ebx
call fcn.004088e0
mov eax, dword [ebp - 8]
test eax, eax
je 0x438af7
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.00409610
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.00408fe0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00408da0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042ddf0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00408af0
test eax, eax
jne 0x438b68
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x438b53
mov ecx, dword [ecx - 4]
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00408da0
jmp 0x438b77
lea eax, [ebx + edi]
lea ebx, [eax + 1]
cmp byte [ebx], 0
jne 0x438ae0
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00438a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438bc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x4ccce0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x4cc8e0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x4cc8f0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x4cc900], eax
mov eax, dword [ebp - 0x88]
mov dword [0x4cc910], eax
mov edx, 0x4cc921
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00402140
lea eax, [ebp - 0x80]
call fcn.00403dc0
mov byte [0x4cc920], al
mov eax, 0x490a0c
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4cccf0], eax
test eax, eax
je 0x438c5f
mov eax, 0x490a18
push eax
push dword [0x4cccf0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x4ccce0], eax
cmp dword [0x4cc8f0], 6
jae 0x438c7b
mov dword [0x482540], 0
cmp dword [0x4cc8f0], 6
jb 0x438c8e
cmp dword [0x4cc900], 1
jb 0x438c8e
mov dword [0x482550], 2
cmp dword [0x4cccf0], 0
je 0x438cd5
cmp dword [0x4cc8f0], 6
jb 0x438cb6
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x4cccf0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x482c90], eax
cmp dword [0x4cccf0], 0
je 0x438cd5
mov eax, str.GetFinalPathNameByHandleA
push eax
push dword [0x4cccf0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x482c80], eax
mov esp, ebp
pop ebp
ret

Function at 0x43fd50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x43fd74
mov eax, dword [ebp - 0xc]
mov edx, eax
call dword [eax + 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43fe17
xor eax, eax
push 0x43fdfc
push ebp
push 0x414750
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x43fdd6
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0041c4b0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x43fdf1
cmp dword [ebp - 8], 0
je 0x43fdf1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x43fe17
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447f80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x448030
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x44804c
mov dword [ebp - 0x20], 0xffffffff
nop word [eax + eax]
add dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x44804c
sub dx, 0x20
je 0x448020
add dx, 0xff80
je 0x448020
sub dx, 0x1f62
jb 0x44804c
sub dx, 1
jbe 0x448020
sub dx, 6
je 0x448020
sub dx, 0x26
jne 0x44804c
nop dword [eax]
cmp eax, dword [ebp - 0x20]
jg 0x447fc8
jmp 0x44804c
cmp dword [ebp - 0x1c], 2
jne 0x448040
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x44804c
mov al, byte [ebp - 0xc]
call fcn.0040a840
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x4480d0
sub ax, 0x21
je 0x4480f0
sub ax, 0x17
je 0x448100
sub ax, 0x222
je 0x448110
sub ax, 0x392
je 0x448120
sub ax, 1
je 0x448130
sub ax, 0x1996
je 0x448140
sub ax, 1
je 0x448150
sub ax, 6
je 0x448160
sub ax, 0xb
je 0x448180
sub ax, 0x1b
je 0x448170
sub ax, 0x367
je 0x448190
jmp 0x4481a0
mov ax, word [ebp - 0x24]
call fcn.0040a8e0
mov byte [ebp - 0x10], al
jmp 0x4481b0
mov byte [ebp - 0x10], 0x20
jmp 0x4481b0
mov byte [ebp - 0x10], 0x2e
jmp 0x4481b0
mov byte [ebp - 0x10], 0x27
jmp 0x4481b0
mov byte [ebp - 0x10], 0x2c
jmp 0x4481b0
mov byte [ebp - 0x10], 0x27
jmp 0x4481b0
mov byte [ebp - 0x10], 0x20
jmp 0x4481b0
mov byte [ebp - 0x10], 0x20
jmp 0x4481b0
mov byte [ebp - 0x10], 0x20
jmp 0x4481b0
mov byte [ebp - 0x10], 0x20
jmp 0x4481b0
mov byte [ebp - 0x10], 0x2d
jmp 0x4481b0
mov byte [ebp - 0x10], 0x27
jmp 0x4481b0
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
nop word [eax + eax]
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x470410
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
mov esi, eax
mov ebx, edx
xor cl, cl
mov edx, 0x78
call dword [0x481650]
mov dword [esi], ebx
mov eax, ebx
test ebx, ebx
je 0x4704a0
sub eax, 1
jb 0x4704b0
sub eax, 1
ja 0x4704b0
cmp ebx, 1
jne 0x470450
mov eax, 0x46ff00
mov dword [esi + 4], eax
jmp 0x470458
mov eax, 0x46f7d0
mov dword [esi + 4], eax
mov dword [esi + 8], 0x40
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
jmp 0x4704b0
mov dword [esi + 8], 0x10
mov eax, 0x46fe30
mov dword [esi + 4], eax
nop
pop esi
pop ebx
ret

Function at 0x47a770
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret
Function at 0x4023d0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1840
call fcn.00403af0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr edx, 0xd
shr ecx, 8
or dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov ecx, eax
shr ecx, 0x10
xor cl, al
or dl, cl
add dl, 0x40
mov byte [ebp + eax - 0xa1808], dl
inc eax
cmp eax, 0xa17fc
jb 0x402453
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402e48
mov esp, ebp
pop ebp
ret
Function at 0x403678
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4036b7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4036b7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4036b7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4036b7
cmp dword [ecx + 0x74], 0xe
jbe 0x4036b7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10025ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100710d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10184080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1004ca6b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004baa4
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10025c80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002f720
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10184080]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push 0
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1002f786
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
mov word [esi], 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004ca58
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1002f7bf
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004ca58
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
xorps xmm0, xmm0
test edx, edx
je 0x1002f74f
mov ecx, edx
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [ecx + 1]
mov dword [esp + 8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f7f0
sub ecx, dword [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1002de80
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x14], 0
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.1004ca58
mov esp, ebp
pop ebp
ret