joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0360
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFontIcon.0
mov byte [esi + 0x44], 0xff
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
add eax, 0x10
mov dword [esi + 0x68], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 4
xor eax, eax
mov word [esi + 0xa4], ax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], 3
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
add eax, 0x10
mov dword [esi + 0xd8], eax
mov byte [ebp - 4], 5
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
add eax, 0x10
mov dword [esi + 0xdc], eax
mov byte [ebp - 4], 6
mov eax, 1
lea ecx, [esi + 0xec]
mov dword [esi + 0xe0], eax
mov byte [esi + 0xe4], bl
mov byte [esi + 0xe5], bl
mov dword [esi + 0xe8], eax
call fcn.0042ae80
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
or eax, 0xffffffff
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x45], ebx
mov dword [esi + 0xac], 9
mov dword [esi + 0xb0], 0x190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a5b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42a5c3
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a641
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x42a633
mov eax, dword [ebp + 0x10]
push 0x4e2d14
push esi
mov dword [eax], esi
call fcn.0048bb06
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x42a633
push 0
lea edx, [ebp - 4]
push edx
push esi
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42a633
cmp dword [ebp - 4], esi
jne 0x42a633
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x42a654
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
call fcn.0042a520
add esp, 0xc
mov bl, al
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d2b0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
push esi
push edi
cmp dword [0x4e6e5c], eax
jne 0x43d2ed
mov ecx, 0x45
mov esi, 0x4e6d48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
push 0x4e6d48
mov dword [0x4e6e5c], eax
mov dword [0x4e6d48], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43d3bc
push 0x3f
push eax
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x43]
push eax
call fcn.0048f0a0
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x48]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43d37e
movsx ecx, byte [ebp - 0x44]
lea edx, [ebp - 0x42]
sub ecx, 0x30
push edx
mov dword [0x4e6d58], 2
mov dword [0x4e6d4c], ecx
call fcn.0048c358
add esp, 4
mov dword [0x4e6d50], eax
jmp 0x43d3bc
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
shr edx, 8
movzx edx, dl
movzx ecx, al
mov dword [0x4e6d50], edx
mov edx, 4
cmp edx, ecx
mov dword [0x4e6d4c], ecx
sbb ecx, ecx
neg ecx
inc ecx
mov dword [0x4e6d58], ecx
cmp eax, 0x80000000
jae 0x43d3bc
shr eax, 0x10
mov dword [0x4e6d54], eax
mov ecx, 0x45
mov esi, 0x4e6d48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4e6d4c]
cmp eax, 6
ja 0x43d3df
jne 0x43d41d
cmp dword [0x4e6d50], 2
jb 0x43d41d
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x4e6d48], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43d41d
push 0x4e6d48
call eax
test eax, eax
jne 0x43d41d
mov ecx, 0x45
mov esi, 0x4e6d48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x43d9f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, esi
mov byte [esi + 0x410], 0
call fcn.0043dbb0
test al, al
jne 0x43da23
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0048f0a0
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0xc
push 0x103
lea edx, [ebp - 0x20c]
push edx
push str._SystemDrive_
call edi
cmp eax, 3
jne 0x43db91
push 2
lea eax, [ebp - 0x20c]
push eax
lea ebx, [esi + 0x208]
push ebx
call fcn.0048cf0d
add esp, 0xc
test eax, eax
jne 0x43db91
cmp word [ebp - 0x208], ax
jne 0x43db91
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0048f0a0
add esp, 0xc
push 0x103
lea edx, [ebp - 0x20c]
push edx
push str._windir_
call edi
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x43db91
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0048f0a0
add esp, 0xc
push 0x103
lea edx, [ebp - 0x20c]
push edx
push str._SystemRoot_
call edi
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x43db91
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0048f0a0
add esp, 0xc
push 0x103
lea edx, [ebp - 0x20c]
push edx
push str._ComSpec_
call edi
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43db40
sub eax, edx
sar eax, 1
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0048cf0d
add esp, 0xc
test eax, eax
jne 0x43db91
lea ecx, [ebp + edi*2 - 0x20c]
push str.cmd.exe
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x43db91
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
mov byte [esi + 0x410], al
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret

Function at 0x43dbb0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, eax
cmp word [esi], 0
jne 0x43dbda
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 3
jb 0x43dbd1
cmp eax, 0x104
jb 0x43dbda
xor eax, eax
mov word [esi], ax
xor al, al
pop esi
ret
add esi, 0x208
cmp word [esi], 0
jne 0x43dc07
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 3
jb 0x43dbfe
cmp eax, 0x104
jb 0x43dc07
xor ecx, ecx
mov word [esi], cx
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x43dc10
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x208]
push edi
push str.windir
call ebx
push edi
push str.SystemRoot
call ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21e]
push ecx
mov word [ebp - 0x220], ax
call fcn.0048f0a0
mov eax, dword [0x4c11ac]
mov edx, dword [str.cmd.exe]
mov ecx, dword [0x4c11b0]
mov dword [ebp - 0x14], eax
mov ax, word [0x4c11b8]
mov dword [ebp - 0x18], edx
mov edx, dword [0x4c11b4]
mov word [ebp - 8], ax
mov eax, esi
mov dword [ebp - 0xc], edx
add esp, 0xc
mov dword [ebp - 0x10], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43dc94
sub eax, edx
lea ecx, [ebp - 0x220]
mov edx, ecx
sar eax, 1
mov edi, 0x104
sub esi, edx
lea edx, [edi + 0x7ffffefa]
test edx, edx
je 0x43dcd2
movzx edx, word [esi + ecx]
test dx, dx
je 0x43dcd2
mov word [ecx], dx
add ecx, 2
sub edi, 1
jne 0x43dcb2
jmp 0x43dcd6
test edi, edi
jne 0x43dcd9
sub ecx, 2
xor edx, edx
mov word [ecx], dx
mov ecx, 0x104
sub ecx, eax
lea edx, [ebp + eax*2 - 0x220]
je 0x43dcfe
cmp ecx, 0x7fffffff
ja 0x43dcfe
lea eax, [ebp - 0x18]
call fcn.0040dea0
lea eax, [ebp - 0x220]
push eax
push str.ComSpec
call ebx
lea edx, [ebp - 0x220]
push edx
xor ecx, ecx
push str.SystemDrive
mov word [ebp - 0x21c], cx
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret

Function at 0x43e180
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
lea eax, [ebp - 0x620]
push 0
push eax
mov ebx, 1
mov byte [ebp - 0x210], 0
mov byte [ebp - 0x20f], 0
call fcn.0048f0a0
push 0x208
lea ecx, [ebp - 0x418]
push 0
push ecx
call fcn.0048f0a0
add esp, 0x18
lea esi, [ebp - 0x620]
call fcn.0043d9f0
test al, al
je 0x43e1fd
mov eax, esi
call fcn.0043dbb0
test al, al
je 0x43e21a
call fcn.0043d9f0
test al, al
je 0x43e21a
mov ecx, esi
call fcn.0043dc10
jmp 0x43e21a
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
lea edi, [ebp - 0x620]
call fcn.0043d920
pop edi
test al, al
je 0x43e29b
push 0x206
xor esi, esi
lea eax, [ebp - 0x20a]
xor edx, edx
push esi
push eax
mov word [ebp - 0x20c], dx
call fcn.0048f0a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43e29b
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x624]
push eax
push 4
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x628], esi
mov dword [ebp - 0x624], esi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x43e29b
mov ecx, dword [ebp - 0x624]
movzx edx, word [ecx]
mov ecx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0043df40
add esp, 8
test al, al
je 0x43e29b
xor ebx, ebx
mov ecx, dword [ebp - 4]
test ebx, ebx
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x445950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x445963
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x445970
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x445e80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [ebp - 0x218]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
mov esi, eax
cmp esi, edi
jne 0x445f01
xor eax, eax
cmp ecx, edi
je 0x445ee9
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x210], edi
mov esi, eax
mov dword [ebp - 0x214], ecx
cmp eax, edi
je 0x445f0f
cmp ecx, edi
je 0x445fd0
push ecx
jmp 0x445fca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x445f90
nop
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.00445e80
mov dword [ebp - 0x218], eax
cmp eax, edi
jne 0x445fe5
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x214]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], pe_nt_image_headers32
call esi
test eax, eax
je 0x445f40
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x445fa7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], edi
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x445fd0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x214]
cmp ecx, edi
je 0x445fd2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4
Function at 0x446b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4af716
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x440], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
push 2
push ecx
push eax
mov byte [esp + 0x44c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x446bf5
call fcn.00445320
mov esi, eax
jmp 0x446cc3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x446c0e
call fcn.00445320
jmp 0x446cba
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x446c28
call fcn.00445320
jmp 0x446cba
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x446c5f
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x446c4c
lea eax, [esp + 0x24]
call fcn.004459c0
lea ecx, [esp + 0x18]
call fcn.0043d0e0
mov eax, 0x8007000e
jmp 0x446ce2
lea esi, [esp + 0x24]
call fcn.004452e0
mov dword [esp + 0x440], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x446c82
mov esi, 0x8007000e
jmp 0x446cbc
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ebx
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x446c9f
call fcn.00445320
jmp 0x446cba
mov ecx, dword [esp + 0x24]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.00446a10
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x446ce0
lea eax, [esp + 0x24]
call fcn.004459c0
jmp 0x446ce0
mov eax, esi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4472c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b4858
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
xor edi, edi
sar eax, 4
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x4473c9
mov dword [esp + 0x14], edi
jmp 0x447312
xor edi, edi
cmp dword [esp + 0x10], eax
jb 0x44731d
call fcn.0048b3f2
mov esi, dword [ebx + 0xc]
add esi, dword [esp + 0x14]
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00406650
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
push edx
push ecx
push ecx
mov dword [esp + 0x44], edi
lea esi, [eax - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push esi
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004479b0
add esp, 0xc
neg eax
sbb eax, eax
add eax, 2
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.00447410
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4473aa
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], 0x10
inc ecx
sar eax, 4
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x447310
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4474f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0508
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
call fcn.004474d0
push 0x16
push str.deepscancloudsec3.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00405520
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b32e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
call fcn.004474d0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edi, 0x4c1c34
mov dword [ebp - 4], 0
call fcn.00406590
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
push eax
call esi
test eax, eax
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4475fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x447634
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x447620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
push str.deepscandeepscan.dll
lea ecx, [ebp - 0x10]
call fcn.00405520
mov ecx, dword [ebp - 0x10]
push ecx
call esi
test eax, eax
je 0x44765d
call fcn.004474f0
test eax, eax
je 0x44765d
mov esi, 1
jmp 0x44765f
xor esi, esi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x44767e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4476a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3990
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.004474d0
push 0x15
push str.deepscanqutmload.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00405520
call fcn.00447580
test eax, eax
je 0x447718
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447718
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00406650
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x447756
lea edi, [ebp - 0x14]
call fcn.00401060
push eax
push esi
mov edi, str.deepscanqutmload.dll
mov byte [ebp - 4], 1
call fcn.00406590
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44777c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4483a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af6d8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp + 8]
call fcn.004484e0
test eax, eax
je 0x4483fd
mov esi, dword [ebp + 8]
call fcn.00449860
mov esi, dword [ebp + 8]
call fcn.004484e0
test eax, eax
je 0x4483fd
mov ecx, dword [ebp + 8]
push ecx
call fcn.00449800
mov esi, dword [ebp + 8]
call fcn.004484e0
mov esi, eax
neg esi
sbb esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
inc esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x448432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret