joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a0d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
cmp esi, eax
jb 0x40a0ef
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, eax
mov ecx, ebx
push eax
sub edi, esi
call fcn.0040a850
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
cmp eax, esi
jbe 0x40a140
push 0
lea eax, [ecx + esi]
mov dword [ebp + 8], 0
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40a137
cmp dword [ebp + 8], edi
jne 0x40a137
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0040e4b1
int3

Function at 0x40a220
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
push edi
mov dword [ebp - 0x24], eax
mov edi, edx
mov dword [ebp - 0x20], eax
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, 0x1000
test eax, eax
cmove eax, ecx
lea ecx, [edi - 1]
add ecx, esi
mov dword [ebp - 0x20], eax
cmp esi, ecx
jae 0x40a279
lea esp, [esp]
mov al, byte [esi]
add esi, dword [ebp - 0x20]
cmp esi, ecx
jb 0x40a270
mov al, byte [ecx]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
test dl, dl
je 0x40a593
mov ebx, 0x64
movzx eax, dl
push 9
cmp dl, bl
push 0
cmovbe ebx, eax
push ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x40a59c
mov eax, 0x5a4d
mov dword [ebp - 0x18], 0x4346d4
mov dword [ebp - 0x14], ebx
cmp word [ebx], ax
jne 0x40a59c
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x40a59c
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x40a59c
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x40a59c
xor esi, esi
xor edi, edi
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
movzx eax, word [ecx + ebx + 6]
cmp esi, eax
jae 0x40a58c
movzx eax, word [ecx + ebx + 0x14]
lea esi, [ebx + 0x18]
add eax, edi
add esi, ecx
add esi, eax
je 0x40a58c
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
sbb eax, eax
and eax, 0xfffffff8
mov eax, dword [eax + esi + 0x10]
test eax, eax
je 0x40a580
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
imul ecx, eax
mov eax, 0x51eb851f
mul ecx
mov ecx, 1
mov eax, edx
shr eax, 5
cmp eax, 1
cmovb eax, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x40a580
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40a550
xor edi, edi
jmp 0x40a553
lea edi, [eax + ebx]
push edi
lea ecx, [ebp - 0x18]
call fcn.0040d170
cmp esi, eax
jne 0x40a59c
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x18]
dec eax
add eax, edi
push eax
call fcn.0040d170
cmp esi, eax
jne 0x40a59c
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.0040a220
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
inc esi
add edi, 0x28
jmp 0x40a4e1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a5b0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42727f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x438070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x439a2c], 0
jne 0x40a61f
push 0x28
call fcn.0040f4d6
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004066e0
push 0
mov esi, eax
push esi
push 0x439a2c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x40a61f
test esi, esi
je 0x40a61f
push 0x28
push esi
call fcn.0040f776
add esp, 8
mov eax, dword [0x439a2c]
cmp dword [eax], 1
jle 0x40a6e2
push 0
push 0x8000000
push 3
push 0
push 7
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a672
test esi, esi
je 0x40a672
push 4
push 0x1000
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x40a686
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10]
push 0
push eax
push 0x100000
push edi
push esi
call ebx
test eax, eax
je 0x40a6b9
nop
cmp dword [ebp - 0x10], 0
jbe 0x40a6b9
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100000
push edi
push esi
call ebx
test eax, eax
jne 0x40a6a0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
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 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x40a672
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40a672
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40a672
mov ecx, 0xe0
cmp word [eax + esi + 0x14], cx
jne 0x40a672
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40a672
mov eax, dword [eax + esi + 0x50]
or edx, 0xffffffff
cmp eax, 0xffffffff
mov ecx, esi
cmovb edx, eax
call fcn.0040a220
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
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 0x40aa70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], 8
jb 0x40aa86
mov eax, dword [esi]
jmp 0x40aa88
mov eax, esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40aaa0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push eax
call fcn.0040f784
push dword [ebp - 4]
mov edi, eax
push 0
push edi
call fcn.004123f0
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x40aabf
mov esi, dword [esi]
push edi
push dword [ebp - 4]
push dword [ebp - 0xc]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40ab0a
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
push eax
push 0x434664
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40ab0a
mov edx, dword [ebp - 8]
test edx, edx
je 0x40ab0a
movzx eax, word [edx + 0xa]
lea ecx, [eax + eax*4]
movzx eax, word [edx + 8]
lea eax, [eax + ecx*2]
movzx ecx, word [edx + 0xe]
imul ebx, eax, 0x64
add ebx, ecx
push edi
call fcn.0040f295
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b650
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov edi, edi
push 0x22c
push 0
push edi
call fcn.004123f0
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x40b688
mov byte [esi + 8], 1
call ebx
jmp 0x40b68e
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x40b6aa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x40b660
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x40b960
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00410310
mov eax, dword [0x438070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
push 0
push eax
mov edi, ecx
call fcn.004123f0
add esp, 0xc
mov dword [ebp - 0x1008], 1
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x40bb10
mov ecx, dword [ebp - 0x1008]
cmp ecx, 1
jne 0x40ba53
cmp word [ebp - 0x804], ax
jne 0x40ba10
xor ecx, ecx
lea eax, [ebp - 0x804]
push ecx
push eax
mov ecx, ebx
call fcn.00403fa7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ba20
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403fa7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x40bb0b
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x40baf3
cmp eax, 0x400
ja 0x40baf3
cmp word [ebp - 0x1004], 0
jne 0x40bab6
xor ecx, ecx
lea eax, [ebp - 0x1004]
push ecx
push eax
mov ecx, ebx
call fcn.00403fa7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bac0
sub ecx, edx
lea eax, [ebp - 0x1004]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403fa7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 0xea
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f284
mov esp, ebp
pop ebp
ret 8
Function at 0x40bb30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bb40
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8

Function at 0x40c1d0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push 0x4347ac
mov edi, ecx
call esi
push str.crypt32.dll
mov dword [edi + 4], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x40c26e
push str.CryptCATAdminCalcHashFromFileHandle
push eax
call esi
push str.CryptCATAdminAcquireContext
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.CryptCATCatalogInfoFromContext
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.CryptCATAdminReleaseContext
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.WTHelperProvDataFromStateData
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.WTHelperGetProvSignerFromChain
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.WinVerifyTrust
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40c280
push str.CertNameToStrW
push eax
call esi
mov dword [edi + 0x30], eax
pop edi
pop esi
ret
Function at 0x40cf40
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x438070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40d069
test ecx, ecx
je 0x40d069
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d069
push 0x8000
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 0
call fcn.0040f784
add esp, 4
mov dword [ebp - 0x64], 0
mov esi, eax
push 0
lea eax, [ebp - 0x64]
push eax
push 0x8000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40d041
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40d013
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x6c], eax
call fcn.0040d8f0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x64]
push 5
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40cfd1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x60]
mov ecx, edi
call fcn.0040da10
mov ecx, 0x4343b8
mov edx, 0xc
mov edi, edi
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40d065
add edi, 4
add ecx, 4
sub edx, 4
jae 0x40d030
xor bl, bl
test esi, esi
je 0x40d052
push 1
push esi
call fcn.0040f776
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f284
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x40d043
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f284
mov esp, ebp
pop ebp
ret

Function at 0x40d170
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x3c]
xor esi, esi
add ebx, ecx
mov dword [ebp - 4], ecx
xor edi, edi
movzx ecx, word [ebx + 6]
cmp esi, ecx
jae 0x40d1c9
movzx eax, word [ebx + 0x14]
lea edx, [ebx + 0x18]
add eax, edi
add edx, eax
je 0x40d1c9
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x40d1b8
mov ecx, dword [edx + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x40d1be
inc esi
add edi, 0x28
jmp 0x40d186
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d1e0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40d1f0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40d1ed
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x40d1ed
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x40d862
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4330de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x860
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d895
xor eax, eax
jmp 0x40d9e6
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::CFileFind]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push str._s.
lea edx, [ebp - 0x86c]
push edx
call fcn.0040ec90
add esp, 0xc
push 0
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::FindFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d999
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::FindNextFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::IsDots]
test eax, eax
jne 0x40d994
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::GetFileName]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
call fcn.00409390
test eax, eax
je 0x40d968
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
lea edx, [ebp - 0x43c]
push edx
call fcn.0040ec90
add esp, 0x10
lea eax, [ebp - 0x43c]
push eax
call 0x40d860
add esp, 4
jmp 0x40d994
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s
lea eax, [ebp - 0x63c]
push eax
call fcn.0040ec90
add esp, 0x10
lea ecx, [ebp - 0x63c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40d8d2
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CFileFind::Close]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40d9cc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [0x4369c4]
mov eax, dword [ebp - 0x1c]
jmp 0x40d9e6
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [0x4369c4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x426340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434544
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
js 0x426435
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
push 1
call sub.mfc140u.dll_CListCtrl::InsertItem
mov edi, eax
test edi, edi
js 0x426438
mov ecx, ebx
call fcn.00425c70
mov esi, eax
xor ecx, ecx
mov edx, 0x4c
mov dword [ebp + 8], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4263ea
push 0x424600
push 0x424470
push dword [ebp + 8]
mov dword [eax], esi
lea esi, [eax + 4]
push 0x4c
push esi
call fcn.00422801
jmp 0x4263ec
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x426435
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
push 4
push 0
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], 0xffffffff
call sub.mfc140u.dll_CListCtrl::SetItem
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10003a40
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
push edi
push 0xa0
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, 0x1000
mov word [esp + 0xb0], ax
lea eax, [esp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4c], 0xc
call dword [sym.imp.KERNEL32.dll_GetNextVDMCommand]
test eax, eax
je 0x10003ad9
push dword [esp + 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10003ad9
lea eax, [esp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [esp + 0x20]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10003ad2
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10009228
Capabilities:
Encode data using xor

Disassembly:
call 0x100091a1
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100091d1
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100091ed
xor edx, 0
jmp 0x100091f8
xor edx, edx
jmp 0x1000920f
jmp 0x1000921b
xor eax, eax
push 0x8427d7c0
call 0x10009228
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10009264
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000923d
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000927b
add eax, 0
jno 0x10009280
add esi, 0
ret 0x10
Function at 0x10009fe9
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000a00b
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000a1ad
cmp edi, dword [ebp + 0x10]
jb 0x1000a1ad
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10009ad5
inc edi
jmp 0x1000a094
jmp 0x1000a0a1
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009ad5
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009ad5
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000a0f5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000a0d9
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000a123
add dword [eax], 0x39
jle 0x1000a0ff
sub al, 0xf5
mov ch, al
call fcn.1000a138
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000be10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000be26
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000be37
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000be78
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx