joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005a80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x10005b21
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, eax
test esi, esi
je 0x10005b1b
cmp esi, 2
je 0x10005b1b
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x10005ae2
push str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
push str.long___cdecl_vbpsDeleteKeyRecursiveA_struct_VBPSREGSTATE__struct_HKEY____const_char__unsigned_int_
push 0x3e2
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
push str.AssertLogRel__s__d___s:__s_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x10005b0f
push esi
push edi
push dword [ebp + 0x14]
push str._d:_delete_key__s_____u_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], esi
mov eax, esi
pop esi
pop edi
pop ebp
ret
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x34], 0x57
mov eax, 0x57
pop ebp
ret

Function at 0x10005b40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x10005be2
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
test esi, esi
je 0x10005bdc
cmp esi, 2
je 0x10005bdc
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x10005ba3
push str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
push str.long___cdecl_vbpsDeleteKeyRecursiveW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__unsigned_int_
push 0x40a
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
push str.AssertLogRel__s__d___s:__s_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x10005bd0
push esi
push edi
push dword [ebp + 0x14]
push str._d:_delete_key__ls_____u_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], esi
mov eax, esi
pop esi
pop edi
pop ebp
ret
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x34], 0x57
mov eax, 0x57
pop ebp
ret
Function at 0x10006f80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1002f2a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006fa0
mov eax, dword [ebp + 8]
sub ecx, edx
cmp byte [eax + 0x48], 0
lea ebx, [ecx + 1]
jne 0x10007055
lea eax, [ebx + 0x80]
mov dword [ebp - 8], eax
call fcn.10008180
mov esi, esp
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10007055
cmp dword [ebp - 0xc], 1
jne 0x10007055
cmp dword [ebp - 8], ebx
jne 0x10007055
mov ecx, ebx
mov edx, edi
sub ecx, 4
jb 0x10007011
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10007016
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10007000
cmp ecx, 0xfffffffc
je 0x1000706e
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10007043
cmp ecx, 0xfffffffd
je 0x1000706e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10007043
cmp ecx, 0xfffffffe
je 0x1000706e
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10007043
cmp ecx, 0xffffffff
je 0x1000706e
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1000706e
push ebx
push dword [ebp - 0x10]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
add esp, 0xc
test eax, eax
je 0x1000706e
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 1
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
jne 0x10007084
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008170
mov esp, ebp
pop ebp
ret
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x100070c0
push str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
push str.long___cdecl_vbpsSetRegValueAA_struct_VBPSREGSTATE__struct_HKEY____const_char__const_char__unsigned_int_
push 0x322
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
push str.AssertLogRel__s__d___s:__s_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x100070ee
push esi
push edi
push ebx
push dword [ebp + 0x18]
push str._d:__s_s_____u_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], esi
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008170
mov esp, ebp
pop ebp
ret
Function at 0x10007110
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1002f2a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
call dword [sym.imp.VBoxRT_x86.dll_RTUtf16Len]
add esp, 4
lea ebx, [eax*2 + 2]
mov eax, dword [ebp + 8]
cmp byte [eax + 0x48], 0
jne 0x100071c6
lea eax, [ebx + 0x80]
mov dword [ebp - 8], eax
call fcn.10008180
mov esi, esp
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100071c6
cmp dword [ebp - 0xc], 1
jne 0x100071c6
cmp dword [ebp - 8], ebx
jne 0x100071c6
mov edx, ebx
mov ecx, edi
sub edx, 4
jb 0x10007194
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10007199
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10007183
cmp edx, 0xfffffffc
je 0x100071df
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x100071c6
cmp edx, 0xfffffffd
je 0x100071df
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x100071c6
cmp edx, 0xfffffffe
je 0x100071df
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100071c6
cmp edx, 0xffffffff
je 0x100071df
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x100071df
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 1
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x100071f5
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008170
mov esp, ebp
pop ebp
ret
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x10007231
push str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
push str.long___cdecl_vbpsSetRegValueWW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__const_unsigned_short__unsigned_int_
push 0x2df
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
push str.AssertLogRel__s__d___s:__s_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
push 0xb80010
call dword [sym.imp.VBoxRT_x86.dll_RTLogRelGetDefaultInstanceEx]
add esp, 4
test eax, eax
je 0x1000725f
push esi
push edi
push ebx
push dword [ebp + 0x18]
push str._d:__ls_ls_____u_n
push 0xb8
push 0x10
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTLogLoggerEx]
add esp, 0x20
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], esi
mov eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008170
mov esp, ebp
pop ebp
ret
Function at 0x100075f0
Capabilities:
Get os information via kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x1002f2a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x484], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x47d], al
push esi
push edi
mov edi, dword [ebp + 8]
test al, al
je 0x10007625
mov esi, str.x86VBoxProxyStub_x86.dll
jmp 0x1000764a
mov eax, dword [0x7ffe026c]
xor ecx, ecx
or ecx, dword [0x7ffe0270]
cmp eax, 6
jb 0x10007645
ja 0x1000763e
cmp ecx, 1
jb 0x10007645
mov esi, 0x10024120
jmp 0x1000764a
mov esi, str.VBoxProxyStubLegacy.dll
push 0x57d
lea eax, [ebp - 0x488]
push eax
push 0x10023ef8
push dword [edi]
push edi
call fcn.10005740
add esp, 0x14
test eax, eax
jne 0x100077ef
push ebx
push 0x582
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x6c]
push 0x100233c0
push eax
call fcn.10005cb0
mov ebx, dword [ebp - 0x488]
add esp, 8
push eax
push ebx
push edi
call fcn.10005740
add esp, 0x14
test eax, eax
jne 0x100077df
push 3
push 1
lea eax, [ebp - 0x44]
push str._u._u
push eax
call fcn.10004cb0
push 0x589
lea eax, [ebp - 0x490]
push eax
push str.VirtualBox_Type_Library
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48c]
push edi
call fcn.100058e0
add esp, 0x28
test eax, eax
jne 0x100077cb
mov ebx, dword [ebp - 0x490]
lea eax, [ebp - 0x494]
push 0x590
push eax
push 0x1002417c
push ebx
push edi
call fcn.10005740
add esp, 0x14
test eax, eax
jne 0x10007770
push dword [ebp - 0x484]
lea eax, [ebp - 0x47c]
push 0x104
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTUtf16Copy]
push esi
lea eax, [ebp - 0x47c]
push 0x208
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTUtf16CatAscii]
cmp byte [ebp - 0x47d], 0
lea eax, [ebp - 0x47c]
mov esi, dword [ebp - 0x494]
mov ecx, str.win32
push 0x597
push eax
mov eax, str.win64
cmovne eax, ecx
push eax
push esi
push edi
call fcn.100059b0
push 0x598
push esi
push edi
call fcn.10004cf0
add esp, 0x38
push 0x59c
push 0x1002417c
push str.FLAGS
push ebx
push edi
call fcn.10005810
push dword [ebp - 0x484]
lea eax, [ebp - 0x47c]
push 0x104
push eax
call dword [sym.imp.VBoxRT_x86.dll_RTUtf16Copy]
push 0x5a8
lea eax, [ebp - 0x47c]
push eax
push str.HELPDIR
push ebx
push edi
call fcn.100059b0
push 0x5aa
push ebx
push edi
call fcn.10004cf0
mov ebx, dword [ebp - 0x488]
add esp, 0x40
push 0x5ac
push dword [ebp - 0x48c]
push edi
call fcn.10004cf0
add esp, 0xc
push 0x5ae
push ebx
push edi
call fcn.10004cf0
add esp, 0xc
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10008170
mov esp, ebp
pop ebp
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x404c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ecx]
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00403cc7

Function at 0x405194
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00403cb7
xor dh, byte [esi - 0x1b]
jb 0x405132
test esp, edx
clc
invalid
Function at 0x407890
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4078ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x4078ae
shr eax, 1
dec edx
jne 0x40789f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407898
pop esi
ret

Function at 0x4078db
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078e7
call fcn.00407890
push 1
push 0x40c558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x407912
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x41ba3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41ba3a
lcall 0x5de5, 0x8b10c483
jmp loc.009696b8

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x408cd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004089d2
add eax, 0x8d16324b
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x40909f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4090a9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x4090c7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409125
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40910c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409115
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40911f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409101
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40908b
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x40929e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add al, 0
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
cld
invalid
jmp dword [edi]
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004089e2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408997
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004089e2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408997
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004089d2
loope 0x409484
mov ebx, 0xcca580d0
cli
invalid
test ebp, edx
cli
invalid

Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403d93
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x42a980]
cmp dword [ebp + 8], 0
je 0x403dbe
test eax, eax
je 0x403db2
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
mov dword [0x42a980], 0
jmp 0x403e28
test eax, eax
je 0x403dd1
mov dword [esp], 0
call fcn.0040902a
push edx
jmp 0x403e28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x416920]
jbe 0x403e28
mov eax, dword [0x7a9288]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403cd8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
sub esp, 0x14
mov dword [0x42a980], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
leave
ret
Function at 0x407b00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x38]
lea edi, [ebp - 0x2c]
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0x40001
mov dword [ebp - 0x28], 0x40b890
mov dword [ebp - 0x24], 0x40b890
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x40b880
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edx
push edx
test eax, eax
je 0x407b5d
xor eax, eax
jmp 0x407b8a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x407b8a
mov dword [esp + 8], edi
mov dword [esp + 4], 0x80000007
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
sub esp, 0xc
test eax, eax
jne 0x407b59
call ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x407bc2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [0x7b2200], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], 0x7b2200
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x407c40
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov eax, dword [ebp - 0x18]
leave
ret 4

Function at 0x407c44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x3c
mov dword [eax + 0x24], 0
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x407ebc
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
inc eax
push edx
je 0x407eea
mov eax, ebx
mov dword [esp], esi
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.00407ebc
push ecx
cmp eax, 0xffffffff
jne 0x407f16
xor edi, edi
jmp 0x407f53
mov dword [esp], ebx
mov esi, eax
test edi, 1
je 0x407f4b
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x407f44
and edi, 4
jne 0x407f12
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
jmp 0x407f53
mov edi, 1
jmp 0x407f53
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x407f29
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8