joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433e28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4464d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4464d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403b80
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.004075f0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x40774d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.0041a148
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x407776
push dword [esp + 0x10]
call fcn.00418fbd
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00418fae
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4082e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0x210], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push eax
call fcn.0041bd20
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x408353
xor ecx, ecx
jmp 0x40836f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408360
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00401a70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x4084c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x54], ebx
mov word [ebx], ax
mov dword [ebp - 4], eax
lea edi, [eax + 1]
mov dword [ebp - 0x4c], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov word [ebp - 0x18], cx
xor esi, esi
mov dword [ebp - 0x16], ecx
mov word [ebp - 0x12], cx
nop
test edi, eax
je 0x408624
lea eax, [esi + 0x41]
push eax
lea eax, [ebp - 0x18]
push 0x43fbe0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebx + 0x10], 0
jbe 0x4085df
push 1
xor eax, eax
mov dword [ebp - 0x1c], 7
push 0x43fbe8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00401a70
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00408a70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00408960
cmp dword [ebp - 0x34], 8
jb 0x4085b5
push dword [ebp - 0x48]
call fcn.00418fbd
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x40860b
push dword [ebp - 0x30]
call fcn.00418fbd
add esp, 4
jmp 0x40860b
cmp word [ebp - 0x18], 0
jne 0x4085ea
xor ecx, ecx
jmp 0x4085ff
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4085f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00401a70
xor eax, eax
cmp eax, 8
jae 0x40864e
xor ecx, ecx
mov word [ebp + eax - 0x18], cx
add eax, 2
cmp eax, 8
jl 0x408610
mov eax, dword [ebp - 0x50]
inc esi
add edi, edi
cmp esi, 0x1a
jl 0x408530
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
call fcn.0041a3f6
int3
Function at 0x408660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40880d
push 0
call fcn.00419862
add esp, 4
mov dword [ebp - 0x8cc], eax
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8c8], edx
push eax
call fcn.0041a4d2
add esp, 4
mov esi, eax
xor eax, eax
mov word [ebp - 0x94], ax
push 0x7e
push eax
lea eax, [ebp - 0x92]
push eax
call fcn.0041bd20
mov eax, dword [esi + 0x10]
add esp, 0xc
inc eax
push dword [esi]
push dword [esi + 4]
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
push 0x43fbec
lea eax, [ebp - 0x94]
push 0x40
push eax
call fcn.00404050
mov eax, dword [ebp + 8]
add esp, 0x24
cmp eax, 0xffffffff
jne 0x408750
push ebx
lea eax, [ebp - 0x94]
push eax
push str._s__s.
lea eax, [ebp - 0x894]
push 0x400
push eax
call fcn.00404050
add esp, 0x14
jmp 0x408772
push eax
push ebx
lea eax, [ebp - 0x94]
push eax
push str._s__s.__err0x_08x_
lea eax, [ebp - 0x894]
push 0x400
push eax
call fcn.00404050
add esp, 0x18
lea edx, [ebp - 0x894]
lea ecx, [ebp - 0x8c4]
call fcn.00408830
push 0x43fc4c
push eax
lea eax, [ebp - 0x8ac]
mov dword [ebp - 4], 0
push eax
call fcn.00408b10
add esp, 0xc
cmp dword [ebp - 0x8b0], 0x10
jb 0x4087b6
push dword [ebp - 0x8c4]
call fcn.00418fbd
add esp, 4
mov esi, dword [ebp - 0x89c]
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x898], 0x10
lea ecx, [ebp - 0x8d0]
push 0
push ecx
lea eax, [ebp - 0x8ac]
cmovae eax, dword [ebp - 0x8ac]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x898], 0x10
jb 0x40880d
push dword [ebp - 0x8ac]
call fcn.00418fbd
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x40ad50
Capabilities:
Encrypt data using rc4 prga
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
push eax
or bh, 0xff
lea esi, [eax + 1]
sub bh, byte [eax]
push 0
call fcn.0040b110
xor edi, edi
movzx ecx, ax
add esp, 0xc
cmp dword [ebp + 0x10], edi
jbe 0x40ada5
movzx eax, bh
push 1
push esi
push ecx
mov bl, byte [eax + 0x436378]
mov eax, dword [ebp + 0xc]
xor bl, byte [esi]
mov byte [edi + eax], bl
call fcn.0040b110
add esp, 0xc
movzx ecx, ax
inc esi
test bl, bl
je 0x40ada5
inc edi
inc bh
cmp edi, dword [ebp + 0x10]
jb 0x40ad78
push 1
lea eax, [esi + 1]
push eax
push 1
push esi
push ecx
call fcn.0040b110
add esp, 0xc
movzx eax, ax
push eax
call fcn.0040b110
add esp, 0xc
test ax, ax
je 0x40add0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40ade0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
or bh, 0xff
sub bh, byte [eax]
cmp dword [ebp + 0xc], 1
jne 0x40adfa
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 1
push eax
push 0
lea esi, [eax + 1]
call fcn.0040b110
xor edi, edi
movzx ecx, ax
add esp, 0xc
cmp dword [ebp + 0x14], edi
jbe 0x40ae77
mov eax, dword [ebp + 0x10]
mov edx, 2
add eax, 0xfffffffe
sub edx, esi
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
lea esp, [esp]
movzx eax, bh
push 1
push esi
push ecx
mov bl, byte [eax + 0x436378]
lea eax, [edx + esi]
mov edx, dword [ebp + 8]
xor bl, byte [esi]
mov byte [eax + edx], bl
call fcn.0040b110
add esp, 0xc
movzx ecx, ax
test bl, bl
je 0x40ae76
mov edx, dword [ebp - 4]
lea eax, [edx + esi]
cmp eax, dword [ebp + 0xc]
jae 0x40ae6d
inc edi
inc esi
inc bh
cmp edi, dword [ebp + 0x14]
jb 0x40ae30
jmp 0x40ae77
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
push 1
lea eax, [esi + 1]
push eax
push 1
push esi
push ecx
call fcn.0040b110
add esp, 0xc
movzx ecx, ax
push ecx
call fcn.0040b110
add esp, 0xc
xor ecx, ecx
test ax, ax
cmovne edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aeb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.0041b8a0
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or bh, 0xff
mov dword [ebp - 0x1034], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1028], eax
sub bh, byte [edi]
lea esi, [edi + 1]
mov dword [ebp - 0x1030], 0
cmp eax, 0x1000
jbe 0x40af2c
push eax
call fcn.0041835e
add esp, 4
mov dword [ebp - 0x1030], eax
test eax, eax
jne 0x40af32
push str.7p4lZIVVm5QrtbBKZt9XeU4lyjDQSHjjp5v8WMGUOYM_qhlb_3SDyQ
push eax
call fcn.0040c4d0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1024]
push 1
push edi
push 0
mov dword [ebp - 0x102c], eax
call fcn.0040b110
xor edi, edi
movzx edx, ax
add esp, 0xc
cmp dword [ebp - 0x1028], edi
jbe 0x40af93
mov ecx, dword [ebp - 0x102c]
sub ecx, esi
mov dword [ebp - 0x102c], ecx
movzx eax, bh
push 1
push esi
push edx
mov bl, byte [eax + 0x436378]
xor bl, byte [esi]
mov byte [ecx + esi], bl
call fcn.0040b110
add esp, 0xc
movzx edx, ax
inc esi
test bl, bl
je 0x40af93
mov ecx, dword [ebp - 0x102c]
inc edi
inc bh
cmp edi, dword [ebp - 0x1028]
jb 0x40af60
push 2
push esi
push edx
call fcn.0040b110
add esp, 0xc
test ax, ax
je 0x40afbf
mov eax, dword [ebp - 0x1030]
test eax, eax
je 0x40afb7
push eax
call fcn.00418fbd
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x4485ec]
test eax, eax
jne 0x40aff4
push dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040cf20
mov esi, eax
lea eax, [ebp - 0x24]
push 0x20
push eax
push section..data
call fcn.0040ab90
push eax
push esi
call fcn.0040d7b0
add esp, 0x18
mov dword [0x4485ec], eax
push dword [ebp - 0x1028]
mov ebx, dword [ebp - 0x1030]
push dword [ebp - 0x1034]
push 0xffffffffffffffff
test ebx, ebx
je 0x40b020
push ebx
push 0
push 0
call eax
push ebx
mov esi, eax
call fcn.0041971d
add esp, 4
jmp 0x40b02f
lea ecx, [ebp - 0x1024]
push ecx
push 0
push 0
call eax
mov esi, eax
test esi, esi
je 0x40af19
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x40b050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40b100
cmp byte [edi], 0
je 0x40b100
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0041b88c
call fcn.0041b86b
mov esi, dword [ebp + 0xc]
mov bl, al
push 1
or cl, 0xff
sub cl, bl
push esi
push 0
mov byte [esi], cl
call fcn.0040b110
movzx ecx, ax
inc esi
movzx eax, bl
push 1
push esi
push ecx
mov al, byte [eax + 0x436378]
xor al, byte [edi]
mov byte [esi], al
call fcn.0040b110
add esp, 0x1c
movzx ecx, ax
cmp byte [edi], 0
mov edx, 2
mov dword [ebp + 8], edx
je 0x40b0ed
sub edi, esi
inc bl
inc esi
movzx eax, bl
push 1
push esi
push ecx
mov al, byte [eax + 0x436378]
xor al, byte [edi + esi]
mov byte [esi], al
call fcn.0040b110
mov edx, dword [ebp + 8]
add esp, 0xc
inc edx
movzx ecx, ax
cmp byte [edi + esi], 0
mov dword [ebp + 8], edx
jne 0x40b0c0
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
lea eax, [edx + 2]
mov byte [esi + 2], cl
pop esi
pop ebx
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret

Function at 0x40b110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0x10]
xor ecx, ecx
cmp cx, ax
jae 0x40b15a
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, 0xff
push edi
movzx edi, ax
mov eax, dword [ebp + 8]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
mov edx, eax
shl eax, 8
shr edx, 8
xor dx, cx
and dx, bx
movzx ecx, dx
xor ax, word [ecx*2 + 0x436478]
movzx eax, ax
dec edi
jne 0x40b130
pop edi
pop esi
pop ebx
pop ebp
ret
mov ax, word [ebp + 8]
pop ebp
ret

Function at 0x40cd80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor edx, edx
push esi
mov esi, dword [ebp + 8]
lea esp, [esp]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x40cda2
movsx eax, cl
sub eax, 0x41
jmp 0x40cde4
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x40cdb1
movsx eax, cl
sub eax, 0x47
jmp 0x40cde4
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x40cdc0
movsx eax, cl
add eax, 4
jmp 0x40cde4
cmp cl, 0x2b
jne 0x40cdcc
mov eax, 0x3e
jmp 0x40cde4
cmp cl, 0x2f
jne 0x40cdd8
mov eax, 0x3f
jmp 0x40cde4
cmp cl, 0x3d
jne 0x40ce64
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x10], eax
inc edx
cmp edx, 4
jl 0x40cd90
mov edx, dword [ebp - 0x10]
cmp edx, 0xffffffff
je 0x40ce64
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x40ce64
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
cmp ecx, 0xffffffff
jne 0x40ce1d
cmp eax, ecx
je 0x40ce16
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, 1
jmp 0x40ce28
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
mov esi, dword [ebp + 0xc]
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [esi], al
cmp ebx, 1
jle 0x40ce54
mov ecx, edx
shr ecx, 8
mov byte [esi + 1], cl
cmp ebx, 2
jle 0x40ce5c
mov byte [esi + 2], dl
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40cec0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x448a3d]
test al, al
jne 0x40cf05
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0xc]
mov cl, 1
cmp eax, 2
je 0x40cefd
lea ecx, [ecx]
inc cl
mov edx, 1
shl edx, cl
cmp edx, eax
jne 0x40cef0
mov byte [0x448a3d], cl
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret

Function at 0x40cf20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x448ad8]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0xc], xmm0
push esi
mov esi, dword [ebp + 8]
movdqu xmmword [ebp - 0x1c], xmm0
push 0x1c
test eax, eax
je 0x40cf5c
lea ecx, [ebp - 0x20]
push ecx
push esi
call eax
jmp 0x40cf67
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40cf85
cmp dword [ebp - 8], 0x1000000
je 0x40cf85
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0040cec0
movzx eax, al
mov ecx, eax
mov dword [ebp - 0x24], eax
shr esi, cl
shl esi, cl
test esi, esi
je 0x40d02a
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 1
push esi
call ebx
test eax, eax
jne 0x40d02a
push edi
mov edi, 0x5a4d
push 0x40
push esi
call ebx
test eax, eax
jne 0x40cfe0
cmp word [esi], di
jne 0x40cfe0
mov edi, dword [esi + 0x3c]
push 0xf8
add edi, esi
push edi
call ebx
test eax, eax
jne 0x40cfdb
cmp dword [edi], 0x4550
je 0x40d017
mov edi, 0x5a4d
mov ecx, dword [ebp - 0x24]
or eax, 0xffffffff
shl eax, cl
add esi, eax
je 0x40cff5
push 1
push esi
call ebx
test eax, eax
je 0x40cfb4
push str.Qi1GnqygDnaupI2XKp9yUHvaXFwqiRkj45FSQrL_zVNAmSvWyByCP9hAeOOutEdUkoEPhMPD_A
push 0
call fcn.0040c4d0
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
push 0x436720
push 0
call fcn.0040c4d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop ebx
pop esi
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x40d1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x1a8]
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
add esi, edi
mov edx, 0x104
sub esi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40d229
mov al, byte [esi + ecx]
test al, al
je 0x40d229
mov byte [ecx], al
inc ecx
dec edx
jne 0x40d210
jmp 0x40d22d
test edx, edx
jne 0x40d22e
dec ecx
lea eax, [ebp - 0x1a8]
mov byte [ecx], 0
push 0x2e
push eax
call fcn.0041b8d0
mov esi, eax
add esp, 8
test esi, esi
je 0x40d331
mov byte [esi], 0
inc esi
cmp byte [esi], 0x23
jne 0x40d263
lea eax, [esi + 1]
push eax
call fcn.0041bc63
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4c44544e
push eax
lea eax, [ebp - 0x1a8]
mov word [ebp - 0x14], 0x4c
push eax
call fcn.00419a64
add esp, 8
test eax, eax
jne 0x40d2a9
mov eax, dword [0x448a48]
test eax, eax
jne 0x40d369
push dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0040cf20
add esp, 4
mov dword [0x448a48], eax
jmp 0x40d2b6
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x40d369
push str.3bEa0FEe7bmA8kmFlzyvK78SdeU1TVidutBPZktcpqiH0_hXZefOruGHnrZTR4_pxwj9JQNEYGw1BzI1jjXcRaEfd1RWGw9
push 4
call fcn.0040c4d0
push dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040cf20
mov ecx, eax
add esp, 0xc
mov eax, dword [0x448a4c]
test eax, eax
jne 0x40d30d
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x7c]
push eax
push ecx
mov dword [ebp - 0x7c], 0x64616f4c
mov dword [ebp - 0x78], 0x7262694c
mov dword [ebp - 0x74], 0x41797261
call fcn.0040d7b0
add esp, 8
mov dword [0x448a4c], eax
lea ecx, [ebp - 0x1a8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x40d343
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.wEivoA59rkKPmj2zhlpRzklRIbw8I_WCREKcgoNwy9g9_3EakTzGXBmq4_dTXYieNo6DYP8TsaXQ
push edi
call fcn.0040c4d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
push str.uaO8KqOlUWbBWEw3rRkC6YBOQ5uex1jW3CrARViXPMZCPfbqulpYlJ42yscq617UQwgGHA
push 4
call fcn.0040c4d0
push esi
push edi
call fcn.0040d7b0
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
cmp edi, eax
jne 0x40d3e0
mov eax, dword [0x448a50]
test eax, eax
jne 0x40d3b2
push 0x14
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x10], 0xef47f7a
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x59dfdac1
push eax
mov dword [ebp - 8], 0x437c0a45
call fcn.0040abe0
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x448a50], eax
push esi
push eax
call fcn.0040d7b0
add esp, 8
test eax, eax
jne 0x40d333
mov eax, dword [0x448a54]
test eax, eax
jne 0x40d3e0
push dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040cf20
add esp, 4
mov dword [0x448a54], eax
push esi
push eax
call fcn.0040d7b0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x40e0b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40e0d3
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40e0d7
push str.oQLsRzGKflKPPemsnNVjZcdi8Yg1xrYSX7gd_4nGgM82uEnpEpZ0GDkDsrj3TsEyw
push 0
call fcn.0040c4d0
add esp, 8
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x40e0f6
push str.pGf75h7WbDWMOcFJPcSju1BygJ82t4ss5EzQS2HlO9kXGjQa7q81uVhF1Ej_fK9d
push 0
call fcn.0040c4d0
add esp, 8
xor eax, eax
pop ebp
ret
mov eax, dword [eax + ecx + 0x78]
test eax, eax
jne 0x40e110
push str.pGf75h7WbDWMOcFJPcSju1BygJ82t4sr5RrUX3juaeNjTiYR5aQIoy1CVQ
push eax
call fcn.0040c4d0
add esp, 8
xor eax, eax
pop ebp
ret
mov eax, dword [eax + ecx + 0xc]
add eax, ecx
pop ebp
ret

Function at 0x40e580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4344b6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], edi
movdqu xmmword [edi + 0x30], xmm0
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x50]
mov ecx, esi
mov dword [ebp - 0x38], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040bc90
mov dword [esi], eax
mov byte [ebp - 4], 5
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x34]
mov dword [edi + 0x18], 0
push eax
mov dword [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret
Function at 0x4107d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4464d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x3a
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push eax
call fcn.0041bd20
add esp, 0xc
lea ecx, [ebp - 0x69]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x68]
push 0x1e
push eax
push 0x4462e8
movdqu xmmword [ebp - 0x2a], xmm0
movdqu xmmword [ebp - 0x1a], xmm0
call fcn.00410ce0
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x446300
lea ecx, [ebp - 0x69]
call fcn.00410ce0
lea eax, [ebp - 0x70]
push eax
push 9
push 0
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x410867
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret 4
push esi
push edi
push 2
push 0x104
call fcn.0041c265
add esp, 8
mov dword [ebp - 0x74], 0x208
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4108ce
test edi, edi
je 0x4108b3
push edi
call fcn.0041a286
add esp, 4
pop edi
pop esi
mov dword [ebx], 0
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fae
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [ebx], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00418fae
mov esp, ebp
pop ebp
ret 4

Function at 0x410c50
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [0x448e4c]
sub esp, 0x24
test cl, cl
jne 0x410c87
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 8]
mov cl, 1
cmp edx, 2
je 0x410c81
inc cl
mov eax, 1
shl eax, cl
cmp eax, edx
jne 0x410c74
mov byte [0x448e4c], cl
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, cl
mov ecx, edi
shr esi, cl
shl esi, cl
push 1
push esi
call ebx
test eax, eax
jne 0x410cd1
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x410cbb
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
je 0x410cc6
or eax, 0xffffffff
mov ecx, edi
shl eax, cl
add esi, eax
jmp 0x410c9c
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4