joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10110b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x101f6a0]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x101125d
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x101f5a0]
lea edi, [ecx*4 + 0x101f5a0]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x101125d
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x101111e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x101112f
push 2
push ebp
push eax
call fcn.01010ff0
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x101128e
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x10111d9
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x101118a
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x1011177
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x101115a
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x101127f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x10111d5
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x1011156
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x101124e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1011222
cmp eax, 5
jne 0x101120b
mov dword [0x101da68], eax
mov dword [0x101da64], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.01012d90
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x1011242
cmp byte [ebp], 0x1a
jne 0x1011242
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x101da64], 0x1c
jmp 0x1011267
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x101da64], 9
pop edi
pop esi
pop ebp
mov dword [0x101da68], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x10111d5
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10112bf
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x10111d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x10111d9
Function at 0x10144d0
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x101468e
push 0x3d
push edi
call fcn.01014de0
mov esi, eax
add esp, 8
test esi, esi
je 0x101468e
cmp edi, esi
je 0x101468e
mov dl, byte [esi + 1]
mov ecx, dword [0x101da90]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x101da8c]
cmp eax, ecx
jne 0x1014527
push eax
call fcn.01014760
add esp, 4
mov dword [0x101da8c], eax
test eax, eax
jne 0x10145a2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101454e
mov eax, dword [0x101da94]
test eax, eax
je 0x101454e
call fcn.010130f0
test eax, eax
je 0x101459d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x101455a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.0100c3f0
add esp, 4
mov dword [0x101da8c], eax
test eax, eax
je 0x101468e
mov dword [eax], 0
mov eax, dword [0x101da94]
test eax, eax
jne 0x101459d
push 4
call fcn.0100c3f0
add esp, 4
mov dword [0x101da94], eax
test eax, eax
je 0x101468e
mov dword [eax], 0
mov eax, dword [0x101da8c]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.010146e0
mov esi, eax
add esp, 8
test esi, esi
jl 0x101469f
cmp dword [ebx], 0
je 0x101469f
test ebp, ebp
je 0x1014697
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.0100c3a0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x10145f9
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x10145e8
lea eax, [esi*4]
push eax
push ebx
call fcn.01014c40
add esp, 8
test eax, eax
je 0x1014613
mov dword [0x101da8c], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1014686
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.0100c3f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1014686
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.0100c3a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x1014617
test ebp, ebp
jne 0x1014686
test esi, esi
jge 0x10146a9
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.01014c40
add esp, 8
test eax, eax
je 0x101468e
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x101da8c], eax
jmp 0x1014617
Function at 0x1015ae8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ax, word [esi + 2]
and ax, 0xff00
cmp ax, 0x100
jne 0x1015b97
movzx eax, word [esi + 8]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov ecx, edi
push ebx
imul ecx, eax
add ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x84]
push ebx
push dword [eax + ecx*4]
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push ebx
push eax
movzx eax, word [esi + 8]
imul edi, eax
add edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x88]
push dword [eax + edi*4]
push dword [esi + 0x70]
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esi + 0x70]
mov edi, dword [ebp + 0xc]
mov al, byte [esi]
inc esi
mov cl, al
mov dword [ebp + 0x10], edi
and ecx, 0x7f
je 0x1015bd2
test al, 0x80
je 0x1015b70
lea eax, [ecx]
mov cl, byte [esi]
mov byte [edi], cl
inc edi
inc esi
dec eax
jne 0x1015b65
jmp 0x1015b52
mov al, byte [esi]
mov dword [ebp + 0x14], ecx
mov bl, al
mov edx, ecx
mov bh, bl
inc esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0x10]
add edi, edx
jmp 0x1015b52
movzx eax, word [esi + 8]
imul eax, dword [ebp + 0x14]
movzx ecx, word [esi + 6]
add eax, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push ebx
imul eax, ecx
add eax, 0x200
push eax
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push ebx
push eax
movzx eax, word [esi + 6]
push eax
push dword [ebp + 0xc]
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40d919
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x114
push esi
push edi
mov esi, 0x20019
push esi
xor edi, edi
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edi
call fcn.00402e0e
test eax, eax
je 0x40d95a
xor esi, esi
jmp 0x40da37
push esi
push 0x420970
push dword [ebp + 0x68]
lea ecx, [ebp + 0x6c]
call fcn.00402e0e
test eax, eax
jne 0x40d953
push esi
push str.Java_Runtime_Environment
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x70]
call fcn.00402e0e
test eax, eax
jne 0x40d953
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x80
mov byte [ebp - 0xa0], al
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x70]
call ebx
test eax, eax
jne 0x40da33
inc dword [ebp + 0x60]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041d67e
test eax, eax
pop ecx
pop ecx
jle 0x40da01
push 9
mov edi, str.1.6.0_06
lea esi, [ebp - 0x20]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40d9ff
lea eax, [ebp - 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d9d8
sub eax, edx
cmp eax, 3
jbe 0x40d9ff
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
mov byte [ebp + eax - 0xa0], cl
inc eax
test cl, cl
jne 0x40d9e8
mov dword [ebp + 0x64], 1
xor edi, edi
push 0x80
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call ebx
test eax, eax
je 0x40d9a8
cmp dword [ebp + 0x64], edi
je 0x40da33
lea eax, [ebp - 0xa0]
push eax
push 0x4209a4
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, dword [ebp + 0x64]
pop ebx
lea ecx, [ebp + 0x70]
call fcn.00402df7
lea ecx, [ebp + 0x6c]
call fcn.00402df7
lea ecx, [ebp + 0x68]
call fcn.00402df7
pop edi
mov eax, esi
pop esi
add ebp, 0x74
leave
ret
Function at 0x408945
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x40897d
push 0
call fcn.006edd91
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 1
je 0x408994
jmp 0x408996
jmp 0x4089a0
mov eax, 1
jmp 0x408a27
mov edx, dword [ebp - 0xa0]
add edx, 0xa80
push edx
call fcn.006ebfc0
and eax, 0xffff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4089d8
cmp dword [ebp - 4], 0xc
jne 0x4089d8
push 0xffffffffffffffff
push 0
push 0x63
call fcn.00710f68
push 0xffffffffffffffff
call fcn.006edd91
cmp dword [ebp - 4], 0
je 0x4089e2
xor eax, eax
jmp 0x408a27
mov eax, dword [ebp - 0xa0]
mov word [eax + 0xea4], 0x6ea2
mov ecx, dword [ebp - 0xa0]
mov dx, word [ecx + 0xea4]
push edx
mov eax, dword [ebp - 0xa0]
add eax, 0xa80
push eax
call fcn.006ec1a0
and eax, 0xffff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x408a22
xor eax, eax
jmp 0x408a27
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x409004
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728155
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
mov dword [ebp - 0x524], ecx
lea ecx, [ebp - 0x10]
call fcn.00404cd0
mov dword [ebp - 4], 0
push 0x80
lea ecx, [ebp - 0x10]
call fcn.007098db
lea ecx, [ebp - 0x10]
call fcn.00404cf0
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.006ee940
add esp, 8
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.006ee8c0
add esp, 4
mov dword [ebp - 0x418], eax
push 5
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_GetWindow]
mov dword [ebp - 0x14], eax
jmp 0x40909e
push 2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.DLL_GetWindow]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409103
push 0x100
push 0
lea eax, [ebp - 0x51c]
push eax
call fcn.006ed960
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x51c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.DLL_GetWindowTextA]
test eax, eax
je 0x409101
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x51c]
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.006ee7b0
add esp, 0xc
test eax, eax
jne 0x409101
mov dword [ebp - 0x41c], 1
jmp 0x409103
jmp 0x40908f
cmp dword [ebp - 0x41c], 0
je 0x409148
push 0
push 0
push 0xdc
call fcn.00710f68
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.DLL_IsIconic]
test eax, eax
je 0x409134
push 3
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.DLL_ShowWindow]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.DLL_BringWindowToTop]
mov dword [ebp - 0x520], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00709388
mov eax, dword [ebp - 0x520]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4308fb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 3]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
xor eax, eax
mov al, byte [0x79ed69]
mov ecx, dword [ebp - 8]
mov edx, dword [0x77f520]
xor ebx, ebx
mov bl, byte [edx + ecx*8 + 4]
cmp eax, ebx
jne 0x430995
xor eax, eax
mov al, byte [0x79ed6a]
mov ecx, dword [ebp - 8]
mov edx, dword [0x77f520]
xor ebx, ebx
mov bl, byte [edx + ecx*8 + 5]
cmp eax, ebx
jne 0x430995
xor eax, eax
mov al, byte [0x79ed6b]
mov ecx, dword [ebp - 8]
mov edx, dword [0x77f520]
xor ebx, ebx
mov bl, byte [edx + ecx*8 + 6]
cmp eax, ebx
jne 0x430995
xor eax, eax
mov al, byte [0x79ed6c]
mov ecx, dword [ebp - 8]
mov edx, dword [0x77f520]
xor ebx, ebx
mov bl, byte [edx + ecx*8 + 7]
cmp eax, ebx
jne 0x430995
cmp dword [ebp - 8], 0x10
jl 0x430995
mov eax, 1
jmp 0x4309fa
cmp dword [ebp - 4], 3
jge 0x4309c5
push 0x22b
mov ecx, 0x7b0988
call fcn.005e0bea
push eax
mov ecx, dword [ebp - 0xc]
call fcn.004307de
cmp dword [ebp - 8], 0x10
jge 0x4309c0
mov eax, 1
jmp 0x4309fa
jmp 0x430917
mov eax, dword [ebp - 0xc]
mov word [eax + 0x404], 0
push 2
mov ecx, 0x7b0988
call fcn.005e0bea
test eax, eax
je 0x4309e5
xor eax, eax
jmp 0x4309fa
push 0xffffffffffffffff
push 0
push 0xe036
call fcn.00710f68
push 0xffffffffffffffff
call fcn.006edd91
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x430ab0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStrings]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x430b39
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x780500
lea edx, [ebp - 0x208]
push edx
call fcn.00701952
add esp, 4
push eax
call fcn.006ef560
add esp, 8
test eax, eax
je 0x430b23
push 0x780508
lea eax, [ebp - 0x208]
push eax
call fcn.006ef560
add esp, 8
test eax, eax
je 0x430b23
mov eax, 1
jmp 0x430b45
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
jmp 0x430ac8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x430b49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x49
mov byte [ebp - 0x12], 0x57
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x49
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0
mov byte [ebp - 0x28], 0x5c
mov byte [ebp - 0x27], 0x5c
mov byte [ebp - 0x26], 0x2e
mov byte [ebp - 0x25], 0x5c
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x49
mov byte [ebp - 0x22], 0x43
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x20], 0
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x5c
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x5c
mov byte [ebp - 8], 0x4e
mov byte [ebp - 7], 0x54
mov byte [ebp - 6], 0x49
mov byte [ebp - 5], 0x43
mov byte [ebp - 4], 0x45
mov byte [ebp - 3], 0
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x430c0b
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x430c30
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x430c56
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x78050c
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x430c7c
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x78051c
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x430c8c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4321d7
Capabilities:
Get disk size
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0xa4]
xor edx, edx
mov ecx, 0x64
div ecx
mov byte [ebp - 0xe4], al
mov dword [ebp - 0x98], 0x94
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x432243
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 2
je 0x432234
jmp 0x432243
mov cl, byte [ebp - 0xe4]
or cl, 0x80
mov byte [ebp - 0xe4], cl
mov dword [ebp - 0xdc], 0x20
lea edx, [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp - 0xd4]
shr eax, 0xa
shr eax, 0xa
mov byte [ebp - 0xe3], al
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xf0]
push ecx
push 0x780544
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
test eax, eax
je 0x4322bf
mov edx, dword [ebp - 0xf0]
imul edx, dword [ebp - 0xe0]
imul edx, dword [ebp - 0xec]
shr edx, 0xa
shr edx, 0xa
mov word [ebp - 0xe2], dx
mov eax, dword [ebp - 0xe4]
mov esp, ebp
pop ebp
ret
Function at 0x433490
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x580
mov byte [ebp - 0x18], 0x7e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x36
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6b
push 0x104
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0
je 0x43355a
mov ecx, dword [ebp - 0x33c]
movsx edx, byte [ebp + ecx - 0x339]
cmp edx, 0x5c
jne 0x43352b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.006ee950
add esp, 8
jmp 0x43355a
mov edx, dword [ebp - 0x33c]
mov byte [ebp + edx - 0x338], 0x5c
mov eax, dword [ebp - 0x33c]
mov byte [ebp + eax - 0x337], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x338]
push edx
call fcn.006ee950
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.004338e0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.0070b3d1
test eax, eax
je 0x433608
push 0x8012
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x464]
call fcn.0070a1f2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.004338e0
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x464]
call fcn.0070b2f7
test eax, eax
je 0x4335e1
mov ecx, dword [0x783380]
push ecx
push 0x79fd6c
lea ecx, [ebp - 0x464]
call fcn.0070a4a6
lea ecx, [ebp - 0x464]
call fcn.0070a56a
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x338]
push eax
call fcn.0070b536
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.0070a292
jmp 0x43367a
push 0x9011
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x474]
call fcn.0070a1f2
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58c]
call fcn.004338e0
lea edx, [ebp - 0x58c]
push edx
lea ecx, [ebp - 0x474]
call fcn.0070b2f7
test eax, eax
je 0x433668
mov eax, dword [0x783380]
push eax
push 0x79fd6c
lea ecx, [ebp - 0x474]
call fcn.0070a4a6
lea ecx, [ebp - 0x474]
call fcn.0070a56a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call fcn.0070a292
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43368a
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728eee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
mov byte [ebp - 0x18], 0x7e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x36
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6b
push 0x104
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x433754
mov ecx, dword [ebp - 0x46c]
movsx edx, byte [ebp + ecx - 0x469]
cmp edx, 0x5c
jne 0x433725
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x468]
push ecx
call fcn.006ee950
add esp, 8
jmp 0x433754
mov edx, dword [ebp - 0x46c]
mov byte [ebp + edx - 0x468], 0x5c
mov eax, dword [ebp - 0x46c]
mov byte [ebp + eax - 0x467], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.006ee950
add esp, 8
mov dword [ebp - 0x144], 0
jmp 0x43376f
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [0x783380]
jae 0x4337f4
mov edx, dword [ebp - 0x144]
mov al, byte [edx + 0x780580]
mov byte [ebp - 0x470], al
mov ecx, dword [ebp - 0x470]
and ecx, 0xff
and ecx, 1
test ecx, ecx
je 0x4337c0
mov dl, byte [ebp - 0x470]
shr dl, 1
mov byte [ebp - 0x470], dl
mov al, byte [ebp - 0x470]
or al, 0x80
mov byte [ebp - 0x470], al
jmp 0x4337dd
mov cl, byte [ebp - 0x470]
shr cl, 1
mov byte [ebp - 0x470], cl
mov dl, byte [ebp - 0x470]
and dl, 0x7f
mov byte [ebp - 0x470], dl
mov eax, dword [ebp - 0x144]
mov cl, byte [ebp - 0x470]
mov byte [eax + 0x780580], cl
jmp 0x433760
lea ecx, [ebp - 0x260]
call fcn.004338e0
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x468]
push eax
call fcn.0070b3d1
test eax, eax
je 0x43382a
mov dword [ebp - 0x148], 1
push 0x9011
lea ecx, [ebp - 0x468]
push ecx
lea ecx, [ebp - 0x140]
call fcn.0070a1f2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.004338e0
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x140]
call fcn.0070b2f7
test eax, eax
je 0x43388a
mov eax, dword [0x783380]
push eax
push 0x780580
lea ecx, [ebp - 0x140]
call fcn.0070a4a6
lea ecx, [ebp - 0x140]
call fcn.0070a56a
cmp dword [ebp - 0x148], 0
je 0x4338a6
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.0070b536
push 0
push 0x7a2b70
lea eax, [ebp - 0x468]
push eax
push 0
call fcn.006ef664
add esp, 0x10
push 0
call fcn.006edda2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret