joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437a4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x44106c]
xor eax, esp
push eax
mov dword [esp + 0x18], eax
cmp edi, eax
jne 0x437a55
xor eax, eax
mov ecx, dword [edi + 0x1c]
add eax, 0x24
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x80]
push ecx
call fcn.00437434
cmp dword [eax], 2
je 0x437a74
push 3
call fcn.0041bda4
mov edx, dword [esi + 4]
mov dword [ecx + edx], eax
push 1
sub eax, ebx
mov edi, eax
sub edi, esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 1
test al, 0x40
jne 0x437a8c
xor esi, esi
jmp 0x437aa1

Function at 0x4382ed
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jge 0x438308
mov esi, dword [ebp - 0x14]
jne 0x438302
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test dword [eax + 0x1c], 0x8000
je 0x4382f0
sub eax, 3
je 0x438336
push 4
push 0x441018
call fcn.004183f7
push 2
lea eax, [ebx + 0x64]
lea edi, [ebx + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0xc]
mov byte [edx + 0x19], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
test dword [ecx + 0x70], edx
je 0x438365
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1b]
or eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_getenv]
lea esi, [edi + 2]
jmp 0x43837e
Function at 0x43bb8a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44134c
mov eax, dword fs:[0]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax], 0xf
jmp 0x43bbbc
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 0x18]
mov byte [ecx], al
add dword [ebp - 8], esi
test ecx, ecx
je 0x43bbb9
cmp byte [ebp - 0x16], 0
jne 0x43bbb6
xor edx, edx
pop eax
lea ecx, [ebp + 0xa]
push 1
push ecx
push 0
mov dword [esp + 8], eax
mov eax, 0x186a0
cmp dword [ebp - 0x10], eax
jae 0x43bbde
mov byte [ecx], 0x2d
inc ecx
test eax, eax
je 0x43bc07
push dword [esi + 0x441074]
mov dword [esi + 0xc], 1
jmp 0x43bbe2
mov eax, dword [ebp - 0x11c]
inc dword [ebp - 0x11c]
mov dword [ebp + eax*4 - 0x148], 0x800
push 0x105
lea eax, [ebp - 0x210]
push eax
push dword [esi]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43bc48
cmp cl, 0x45
je 0x43bc4c
cmp dword [ebp - 0x24], 0x6f
je 0x43bc36
test ecx, ecx
jne 0x43bc32
cmp eax, dword [ebp + 0x10]
cmp eax, ebp
je 0x43bc3b
cmp esi, dword [ebp - 0xac]
jne 0x43bc36
cmp byte [edx + 0xd], 0x6f
je 0x43bc77
cmp dword [ebp - 0x1c], 3
jge 0x43bc4c
mov byte [esp + 0x88], bl
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp - 0x3b0]
push 0x44127c
push ecx
call dword [sym.imp.USER32.dll_GetCursor]
push 0x44136c
push 0
push 3
add edi, eax
movzx eax, word [edx + edi*2]
inc edi
jae 0x43bc87
mov eax, dword [ebp + 0x28]
push eax
mov edx, 0xc0000005
call fcn.0040c229
mov ecx, esi
mov dword [esi], 0x4411f4
call fcn.0040b90d
mov byte [ebp - 4], 0
mov dword [esi + 4], 0x441050
mov byte [ebp - 4], 1
jne 0x43bc99
mov esi, dword [ebp - 0xec]
mov byte [esi + 0xc], 1
lea eax, [ebp - 0xc]
mov byte [esi + 0xc], 1
jmp 0x43bcdc
ret 0x1c

Function at 0x43bf17
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
and dword [ebp - 0x114], esi
lea eax, [ebp - 0x114]
push esi
push edi
push dword [esi + 0x34]
mov dword [ebp + 8], 2
call fcn.0043ca7f
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*8 + 4]
test eax, eax
jle 0x43bf35
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
and ecx, 4
jne 0x43bf48
mov eax, dword [ebp - 0x24]
or eax, 0x80000
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
jg 0x43bf65
lea edi, [ebx + 0x45]
mov ecx, 7
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x68af63a4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4b2508b
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x15280b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1528200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x15280d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15280c2
add dl, dl
jne 0x15280e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1528134
xor eax, eax
add dl, dl
jne 0x15280ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15281d5
add dl, dl
jne 0x15280fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1528108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1528113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x152811e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x152812a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x15280cd
mov eax, 1
add dl, dl
jne 0x1528142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x152814d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1528139
sub eax, ebx
mov ebx, 1
jne 0x1528180
mov ecx, 1
add dl, dl
jne 0x1528166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1528171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x152815d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15280cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1528197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15281a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x152818e
cmp eax, 0x7d00
jae 0x15281c5
cmp eax, 0x500
jb 0x15281c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15280cd
cmp eax, 0x7f
ja 0x15281c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15280cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x15281f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x15280cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10002cdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10002ceb
pop dword [ebp - 0x24]
mov eax, 0xa392a4f6
add eax, 0x6c6d87f5
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xdfd0f5f2
add dword [ebp - 0x34], 0x6e814f59
mov dword [ebp - 0x30], 0x7b2929ce
add dword [ebp - 0x30], 0xb70a2277
mov dword [ebp - 0x2c], 0x9a806426
sub dword [ebp - 0x2c], 0x4e341ff8
mov dword [ebp - 0x28], 0x89045935
sub dword [ebp - 0x28], 0x89045935
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xeb25b998
add dword [ebp - 0x34], 0x894cafbe
mov dword [ebp - 0x30], 0x7ea0025c
sub dword [ebp - 0x30], 0x3d33a0e7
mov dword [ebp - 0x2c], 0x84a4954c
add dword [ebp - 0x2c], 0xdecad720
mov dword [ebp - 0x28], 0x2a1fb1f9
add dword [ebp - 0x28], 0xd5e04e07
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37727
push 0
call eax
mov ecx, 0x442c
mov ebx, eax
mov esi, 0xe7d84d0d
add esi, 0x282a88f3
add esi, dword [ebp - 0x24]
mov edx, 0x88686978
sub edx, 0x64eb5d4f
mov dword [ebp - 0x14], 0x555cbb0c
mov edi, dword [esi]
xor dword [ebp - 4], eax
sub edi, edx
add dword [ebp - 0x1c], edx
mov dword [ebx], edi
add dword [ebp - 8], 0xac5e77ab
add ebx, 0x38e51326
add ebx, 0xc71aecde
add esi, 4
loop 0x10002dfd
add eax, 0x10383
mov ebx, eax
add eax, 0x507170d6
sub eax, 0x507170d1
mov ecx, 0x20f39077
sub ecx, 0x10f39077
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1000d7ac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015f92
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d806
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10002cdc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d823
call fcn.1000e489
jmp 0x1000d825
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d871
call fcn.1000e7cb
jmp 0x1000d871
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret

Function at 0x1000d89b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015fc2
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d8f5
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10002cdc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d912
call fcn.1000e489
jmp 0x1000d914
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d960
call fcn.1000e7cb
jmp 0x1000d960
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret
Function at 0x1000e055
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10016022
call fcn.10013691
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10002cdc
test eax, eax
je 0x1000e080
call fcn.1000e046
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x100173dc
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1000e0db
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.100108bc
pop ecx
pop ecx
push edi
push esi
call fcn.10002cdc
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000e72f
push eax
push esi
push 0x100197c4
call fcn.100108bc
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1000e0d4
ret
cmp ebx, edi
je 0x1000e0e6
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e143
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1000e09f
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e197
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1000e09f
mov eax, esi
call fcn.10013736
ret

Function at 0x1000e4df
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10002cdc
mov ebx, eax
cmp ebx, esi
je 0x1000e552
lea ecx, [ebp - 0x74]
call fcn.10001ba0
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013502
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000e56a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000e4df
cmp eax, esi
jne 0x1000e59c
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x1000e55a
lea ecx, [ebp - 0x74]
call fcn.10001ba0
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000bfdf
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10001ba0
mov eax, esi
jmp 0x1000e538
Function at 0x1000f85c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x138]
sub esp, 0x1b8
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x134], eax
push ebx
push 0x104
xor ebx, ebx
lea eax, [ebp + 0x30]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x30]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1000f8b7
xor eax, eax
mov ecx, dword [ebp + 0x134]
xor ecx, ebp
pop ebx
call fcn.10013502
add ebp, 0x138
leave
ret
push esi
lea eax, [ebp + 0x30]
push edi
mov dword [ebp + 0x28], 0xf
mov dword [ebp + 0x24], ebx
mov byte [ebp + 0x14], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000f8cc
sub eax, esi
push eax
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x14]
call fcn.10002aab
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002cdc
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x14]
call fcn.10002786
push 0x22
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push 0x22
push eax
call fcn.1000fdcd
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.10002cdc
add esp, 0xc
push ebx
push esi
lea ecx, [ebp + 0x14]
call fcn.10002786
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_memset
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 0xc], 0x10
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x1000f95e
lea eax, [ebp - 8]
add eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0x10
jae 0x1000f96a
lea ecx, [ebp - 8]
push dword [ebp - 0x29]
mov dword [ebp + 0x20], ebx
push eax
push ecx
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
call fcn.1000fe48
lea eax, [ebp - 0x25]
push eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 0x25], bl
call fcn.1000fc2a
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x1000f99b
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
push esi
push ebx
push ebx
push dword [ebp + 0x20]
push eax
call fcn.10002cdc
add esp, 0x28
test eax, eax
jne 0x1000f9e4
xor edi, edi
lea ecx, [ebp + 0x20]
call fcn.1000fabc
push ebx
push esi
lea ecx, [ebp - 8]
call fcn.10002786
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.10002786
mov eax, edi
pop edi
pop esi
jmp 0x1000f8a1
mov edi, esi
jmp 0x1000f9bf
Function at 0x401cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.004030e0
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
lea esi, [ebx + 0xd]
mov ecx, ebx
shr ecx, 9
lea eax, [ecx - 1]
movsx ecx, cl
movsx eax, al
xor eax, ecx
xor eax, 1
cdq
idiv esi
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov byte [ebp + ebx - 0x50c08], cl
inc ebx
cmp ebx, 0x50bfe
jb 0x401d58
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004023f2
mov esp, ebp
pop ebp
ret
Function at 0x402000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea644
call fcn.004030e0
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xea620], 0
push eax
push eax
push eax
mov word [ebp - 0xea60c], ax
lea eax, [ebp - 0xea61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xea620]
mov dword [ebp - 0xea61c], 0x10001
push eax
mov dword [ebp - 0xea618], 0x7d00
mov dword [ebp - 0xea614], 0x7d00
mov dword [ebp - 0xea610], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xea600
lea eax, [ebp - 0xea608]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor esi, esi
lea edi, [esi + 0xb]
nop dword [eax]
mov ecx, esi
xor edx, edx
shr ecx, 0xc
mov ebx, esi
shr ebx, 0xd
lea eax, [ecx - 2]
xor eax, ecx
div edi
mov eax, edx
imul eax, esi
shr eax, 2
or al, bl
and ebx, 7
and eax, 0xffffff7f
mov dword [ebp - 0xea624], eax
mov eax, 0xaaaaaaab
movsx ecx, byte [ebx + str.36364689]
imul ecx, esi
mul ecx
mov eax, dword [ebp - 0xea624]
shr edx, 3
and dl, 0x80
add al, dl
mov byte [ebp + esi - 0xea608], al
inc esi
cmp esi, 0xea600
jb 0x402090
lea eax, [ebp - 0xea608]
mov dword [ebp - 0xea640], 0xea600
mov dword [ebp - 0xea644], eax
lea eax, [ebp - 0xea644]
push 0x20
push eax
push dword [ebp - 0xea620]
mov dword [ebp - 0xea63c], 0
mov dword [ebp - 0xea638], 0
mov dword [ebp - 0xea634], 0
mov dword [ebp - 0xea630], 0
mov dword [ebp - 0xea62c], 0
mov dword [ebp - 0xea628], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xea644]
push eax
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xea644]
push eax
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023f2
mov esp, ebp
pop ebp
ret
Function at 0x402c28
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402c67
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402c67
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402c67
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402c67
cmp dword [ecx + 0x74], 0xe
jbe 0x402c67
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x7e9f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x7fe9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x7ea002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.007eddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7ea002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.007e56e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.007ee20b
push 0x10
call fcn.007ee1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x7e9fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007da1c0
jmp 0x7e9fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.007e9b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x7e9ff0
mov ecx, edi
call fcn.007da2c0
push edi
call fcn.007ee1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7ea021
inc ebx
cmp ebx, 0x20
jb 0x7e9f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x7ed1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.007ed140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.007ed140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.007ed140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.007ed140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x7edbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7edc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7ff87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7edc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x7edc52
xor eax, eax
pop esi
leave
ret 4