joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6643a340
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x28]
push ebx
sub esp, 0x3c
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 8
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x6643a438
mov dword [esp], str._JDf
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov edi, dword [ebp - 0x28]
mov eax, 0x66452860
mov esi, dword [ebp - 0x24]
sub esp, 4
jmp 0x6643a3b8
mov edx, dword [eax + 4]
mov ecx, dword [eax]
xor edx, esi
xor ecx, edi
or edx, ecx
je 0x6643a3e8
add ebx, 1
add eax, 0x18
cmp ebx, 0x20
je 0x6643a3bf
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x6643a3a0
xor ebx, ebx
test byte [0x66444ae8], 2
jne 0x6643a408
mov dword [esp], str._JDf
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + ebx*2]
mov ebx, dword [eax*8 + 0x66452870]
test ebx, ebx
jne 0x6643a3ca
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 1
jmp 0x6643a3ca
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.handle__p_not_found_in_module_list__inherited_from_another_process__n
mov dword [esp + 8], str.__wine_vxd_get_proc
mov dword [esp + 4], 0x66444ae8
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.6643a070
jmp 0x6643a3ca
mov dword [esp], eax
xor ebx, ebx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
sub esp, 4
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], edx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x677000
Capabilities:
Accept command line arguments
Check os version
Copy file
Delete file
Get common file path
Get file system object information
Set current directory
Set environment variable
Shutdown system
Terminate process

Disassembly:
push ebp
dec eax
mov ebp, esp
dec eax
sub esp, 0x38
dec eax
and esp, 0xfffffff0
dec eax
mov ecx, 0x677062
add byte [eax], al
add byte [eax], al
dec eax
mov eax, sym.imp.KERNEL32.dll_LoadLibraryA
add byte [eax], al
add byte [eax], al
call dword [eax]
dec eax
mov edx, 0x67706b
add byte [eax], al
add byte [eax], al
dec eax
mov ecx, eax
dec eax
mov eax, sym.imp.KERNEL32.dll_GetProcAddress
add byte [eax], al
add byte [eax], al
call dword [eax]
xor ecx, ecx
dec eax
mov dword [esp + 0x28], ecx
dec eax
mov dword [esp + 0x20], ecx
dec ecx
mov ecx, ecx
dec ecx
mov eax, 0x677078
add byte [eax], al
add byte [eax], al
dec eax
mov edx, ecx
call eax
leave
jmp fcn.0040338f
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00402b40
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.00402b40
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4010a9
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401071
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20c]
lea edx, [ebp - 0x20c]
cmp eax, edx
jbe 0x4010a9
cmp word [eax], 0x5c
je 0x4010a9
xor ecx, ecx
mov word [eax], cx
sub eax, 2
lea edx, [ebp - 0x20c]
cmp eax, edx
ja 0x401091
push 0x3c
lea eax, [ebp - 0x450]
push 0
push eax
call fcn.00402b40
add esp, 0xc
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x450], 0x3c
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x444], str.open
xor eax, eax
pop esi
lea ecx, [ecx]
movzx ecx, word [ebp + eax - 0x20c]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4010f0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401111
mov ecx, dword [str.autorun.exe]
mov edx, dword [0x407834]
mov dword [eax], ecx
mov ecx, dword [0x407838]
mov dword [eax + 4], edx
mov edx, dword [0x40783c]
mov dword [eax + 8], ecx
mov ecx, dword [0x407840]
mov dword [eax + 0xc], edx
mov edx, dword [0x407844]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
jmp 0x401160
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401160
mov ecx, dword [str.setup.exe]
mov edx, dword [0x40784c]
mov dword [eax], ecx
mov ecx, dword [0x407850]
mov dword [eax + 4], edx
mov edx, dword [0x407854]
mov dword [eax + 8], ecx
mov ecx, dword [0x407858]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push 0
push edx
mov dword [eax + 0x10], ecx
call fcn.00401285
add esp, 8
cmp eax, 0xffffffff
je 0x4011b6
lea eax, [ebp - 0x20c]
jmp 0x4011d2
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.00401285
add esp, 8
cmp eax, 0xffffffff
je 0x4011e5
lea eax, [ebp - 0x414]
lea ecx, [ebp - 0x450]
push ecx
mov dword [ebp - 0x440], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004011f7
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4011f7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408004]
jne 0x401201
repz ret
jmp fcn.0040143d
Function at 0x401206
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40122d
call fcn.00401598
mov dword [eax], esi
call fcn.00401585
push 0x16
pop esi
mov dword [eax], esi
call fcn.00401758
mov eax, esi
jmp 0x401282
test dword [ebp + 0xc], 0xfffffff9
jne 0x401213
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40125a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004015ab
pop ecx
call fcn.00401585
mov eax, dword [eax]
jmp 0x401282
test al, 0x10
jne 0x401280
test al, 1
je 0x401280
test byte [ebp + 0xc], 2
je 0x401280
call fcn.00401598
mov dword [eax], 5
call fcn.00401585
mov dword [eax], 0xd
jmp 0x401251
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40334b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040240a
and dword [ebp - 0x14], 0
cmp dword [0x409850], 0
mov dword [ebp - 0x18], eax
jne 0x4033fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4034a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4034a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x409850], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x409854], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x409858], eax
call edi
push eax
call esi
mov dword [0x409860], eax
test eax, eax
je 0x4033fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40985c], eax
mov eax, dword [0x40985c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403457
cmp dword [0x409860], ecx
je 0x403457
push eax
call esi
push dword [0x409860]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403457
test ebx, ebx
je 0x403457
call edi
test eax, eax
je 0x40344e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40344e
test byte [ebp - 8], 1
jne 0x403457
or dword [ebp + 0x10], 0x200000
jmp 0x40348a
mov eax, dword [0x409854]
cmp eax, dword [ebp - 0x18]
je 0x40348a
push eax
call esi
test eax, eax
je 0x40348a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40348a
mov eax, dword [0x409858]
cmp eax, dword [ebp - 0x18]
je 0x40348a
push eax
call esi
test eax, eax
je 0x40348a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x409850]
call esi
test eax, eax
je 0x4034a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4034a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004011f7
leave
ret
Function at 0x4127e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x412805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x412878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x412831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4127fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x403bc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41830b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x41f028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00412c16
push 4
mov dword [esp + 0x24], 0
call fcn.00405900
mov edi, eax
add esp, 4
test edi, edi
je 0x403c42
call fcn.00410426
mov dword [edi], eax
call fcn.00410254
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00410178
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403c37
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004101a0
jmp 0x403c44
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x404ba0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x420590], 8
mov eax, dword [0x42057c]
push ebx
push esi
mov dword [esp + 0x10], 0
mov ebx, 2
jae 0x404bc5
mov eax, 0x42057c
lea ecx, [esp + 0x10]
push ecx
mov esi, 1
push esi
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404cc1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x18], eax
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.UseCustomFolder
push eax
call edi
test eax, eax
jne 0x404cb5
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x404caf
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push str.CustomFolder
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x404cb5
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x404cb5
xor ecx, ecx
mov edx, ebx
mul edx
seto cl
mov dword [esp + 0x10], esi
neg ecx
or ecx, eax
push ecx
call fcn.00405ad2
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push str.CustomFolder
push edx
call edi
test eax, eax
jne 0x404ca4
mov eax, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.00403440
xor ebx, ebx
push esi
call fcn.004057a4
add esp, 4
jmp 0x404cb5
test eax, eax
jne 0x404cb5
mov ebx, esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret 4
Function at 0x404cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x418511
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x41f028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1c], ebp
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
mov word [edi + 4], ax
push ebp
mov eax, 0x41b7dc
mov esi, edi
mov dword [esp + 0x24], edi
mov ebx, ecx
call fcn.00403d70
mov dword [esp + 0x48], ebp
cmp dword [0x420590], 8
mov eax, dword [0x42057c]
mov esi, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebp
jae 0x404d47
mov eax, 0x42057c
lea ecx, [esp + 0x10]
push ecx
push esi
push ebp
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404e23
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push str.ApplicationTitle
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
mov dword [esp + 0x30], ebp
call esi
test eax, eax
jne 0x404e18
mov eax, dword [esp + 0x18]
cmp eax, ebp
jbe 0x404e18
xor ecx, ecx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x14], 1
neg ecx
or ecx, eax
push ecx
call fcn.00405ad2
mov edx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebp
push str.ApplicationTitle
push edx
call esi
test eax, eax
jne 0x404e0f
push edi
mov eax, ebx
call fcn.00403440
mov eax, dword [edi + 0x14]
cmp eax, 0x16
jbe 0x404e0f
push edi
mov ecx, 0x16
xor edx, edx
lea esi, [esp + 0x28]
call fcn.00402930
push 0xffffffffffffffff
push ebp
mov ecx, edi
mov dword [esp + 0x50], 1
call fcn.00403cc0
call fcn.00402900
push ebx
call fcn.004057a4
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x405578
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f028]
jne 0x405582
repz ret
jmp fcn.00405da0
Function at 0x40b4da
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.00407925
and dword [ebp - 4], 0
cmp dword [0x421080], 0
mov ebx, eax
jne 0x40b58b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b63c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b63c
push eax
call fcn.004078b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421080], eax
call esi
push eax
call fcn.004078b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421084], eax
call esi
push eax
call fcn.004078b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421088], eax
call esi
push eax
call fcn.004078b3
pop ecx
mov dword [0x421090], eax
test eax, eax
je 0x40b58b
push 0x41a150
push edi
call esi
push eax
call fcn.004078b3
pop ecx
mov dword [0x42108c], eax
mov eax, dword [0x42108c]
cmp eax, ebx
je 0x40b5e3
cmp dword [0x421090], ebx
je 0x40b5e3
push eax
call fcn.0040792e
push dword [0x421090]
mov esi, eax
call fcn.0040792e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b5e3
test edi, edi
je 0x40b5e3
call esi
test eax, eax
je 0x40b5da
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b5da
test byte [ebp - 0xc], 1
jne 0x40b5e3
or dword [ebp + 0x10], 0x200000
jmp 0x40b61c
mov eax, dword [0x421084]
cmp eax, ebx
je 0x40b61c
push eax
call fcn.0040792e
pop ecx
test eax, eax
je 0x40b61c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b61c
mov eax, dword [0x421088]
cmp eax, ebx
je 0x40b61c
push eax
call fcn.0040792e
pop ecx
test eax, eax
je 0x40b61c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x421080]
call fcn.0040792e
pop ecx
test eax, eax
je 0x40b63c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b63e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411894
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x417fff
call fcn.004137bb
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4119a6
cmp byte [esi + 0x42], bl
je 0x4119a6
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4118d0
xor al, al
jmp 0x4119a8
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041186a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004115f4
mov ecx, eax
call fcn.0041096b
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004115f4
mov ecx, eax
call fcn.0041096b
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x411940
dec eax
je 0x411944
dec eax
dec eax
je 0x4119a2
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403310
mov al, bl
jmp 0x4119a8
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004115f4
mov ecx, eax
call fcn.0041096b
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x411984
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004115f4
mov ecx, eax
call fcn.0041096b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00414512
add esp, 0x10
cmp edi, eax
jne 0x41192e
cmp byte [esi + 0x42], 0
je 0x4119a2
test edi, edi
jne 0x4118de
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00411618
jmp 0x4118de
mov bl, 1
jmp 0x411930
mov al, 1
call fcn.00413805
ret
Function at 0x401310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408795
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20
push str.honjcnefekfnompampcpmcdadibmjhlk
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00401800
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00401740
lea ecx, [ebp - 0x28]
call fcn.00403ea0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x40139e
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.Failed_to_delete_lanschool_chrome_extension._as_no_folder_with_name:__s_in_the_chromes_extension_folder
call fcn.00401170
add esp, 8
jmp 0x4013d5
push str.Successfully_removed_lanschool_extension_folder__now_setting_permissions_n
call fcn.00401170
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00401740
call fcn.00403bf0
add esp, 0x18
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x401405
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4013fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40143d
push edx
push ecx
call fcn.00407c98
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40144d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401443
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401443
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00407c98
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret
Function at 0x405b60
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, str.SYSTEM
lea eax, [ebp - 0x84]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405bd1
test dl, dl
je 0x405bbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405bd1
add eax, 2
add ecx, 2
test dl, dl
jne 0x405ba0
xor eax, eax
test eax, eax
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
sbb eax, eax
or eax, 1
test eax, eax
sete al
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret