joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec82
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x435ca8
call fcn.00421794
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40eca7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40eced
lea ecx, [ebp - 0x10]
call fcn.00402e00
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404182
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402da0
mov eax, esi
call fcn.0042186c
ret 8

Function at 0x41ff10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44764c]
jne 0x41ff1a
repz ret
jmp fcn.00425626

Function at 0x42d092
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.00425035
and dword [ebp - 4], 0
cmp dword [0x44b510], 0
mov ebx, eax
jne 0x42d143
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42d1f4
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42d1f4
push eax
call fcn.00424fc3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b510], eax
call esi
push eax
call fcn.00424fc3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b514], eax
call esi
push eax
call fcn.00424fc3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b518], eax
call esi
push eax
call fcn.00424fc3
pop ecx
mov dword [0x44b520], eax
test eax, eax
je 0x42d143
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00424fc3
pop ecx
mov dword [0x44b51c], eax
mov eax, dword [0x44b51c]
cmp eax, ebx
je 0x42d19b
cmp dword [0x44b520], ebx
je 0x42d19b
push eax
call fcn.0042503e
push dword [0x44b520]
mov esi, eax
call fcn.0042503e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42d19b
test edi, edi
je 0x42d19b
call esi
test eax, eax
je 0x42d192
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42d192
test byte [ebp - 0xc], 1
jne 0x42d19b
or dword [ebp + 0x10], 0x200000
jmp 0x42d1d4
mov eax, dword [0x44b514]
cmp eax, ebx
je 0x42d1d4
push eax
call fcn.0042503e
pop ecx
test eax, eax
je 0x42d1d4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42d1d4
mov eax, dword [0x44b518]
cmp eax, ebx
je 0x42d1d4
push eax
call fcn.0042503e
pop ecx
test eax, eax
je 0x42d1d4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b510]
call fcn.0042503e
pop ecx
test eax, eax
je 0x42d1f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42d1f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44764c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], 0
push 0
push 0x43dd34
push 0x43dd3c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7c
call fcn.00403170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401690
movzx ecx, al
test ecx, ecx
jne 0x4346d6
push 0x208
push 0
lea ecx, [ebp - 0x18]
call section..text
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00402960
push eax
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401ed0
push 0x2f
lea ecx, [ebp - 0x14]
call fcn.00401250
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 1
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.004012a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00403970
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402700
push eax
lea ecx, [ebp - 0x14]
call fcn.00402700
push eax
call fcn.00434a00
add esp, 8
test eax, eax
je 0x4346b2
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402960
push eax
call fcn.00435160
add esp, 4
test eax, eax
jne 0x4346a1
mov dword [ebp - 0x10], 1
jmp 0x4346a8
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402ca0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402ca0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x434e00
Capabilities:
Create process on windows
Resume thread
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x44764c]
xor eax, ebp
mov dword [ebp - 0x64], eax
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push 0x43e120
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x434f74
push 0x104
lea eax, [ebp - 0x668]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x558]
push edx
call fcn.00401c30
add esp, 8
push 0x5c
lea eax, [ebp - 0x558]
push eax
call fcn.00401e90
add esp, 8
mov byte [eax], 0
push 0x43e12c
lea ecx, [ebp - 0x558]
push ecx
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0x668]
push eax
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel___s__r_n
lea ecx, [ebp - 0x450]
push ecx
call fcn.00401c50
add esp, 0x18
push 0
lea edx, [ebp - 0x55c]
push edx
lea eax, [ebp - 0x450]
push eax
call fcn.00420660
add esp, 4
push eax
lea ecx, [ebp - 0x450]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
xor edx, edx
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0x43e180
push 0
push 0x44
push 0
push 0
push 0
push str.DelUS.bat
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x434f74
push 0xfffffffffffffff1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push 0xf
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push 0x80
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x64]
xor ecx, ebp
call fcn.0041ff10
mov esp, ebp
pop ebp
ret
Function at 0x434f90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x434fc9
xor eax, eax
jmp 0x435086
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00404068
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x10], 1
push 0
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_BeginUpdateResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435064
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x400
movzx eax, word [ebp + 8]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_UpdateResourceW]
test eax, eax
je 0x43505b
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_EndUpdateResourceW]
jmp 0x435062
mov dword [ebp - 0x10], 0
jmp 0x43506b
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x435083
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00404073
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x435090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x44764c]
xor eax, ebp
mov dword [ebp - 0x64], eax
xor eax, eax
mov word [ebp - 0x478], ax
push 0x40e
push 0
lea ecx, [ebp - 0x476]
push ecx
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 4], 0
push 0x44
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
xor eax, eax
mov word [ebp - 0x30], ax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x478]
push edx
call fcn.00401bd0
add esp, 8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x478]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x43513d
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x435146
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x64]
xor ecx, ebp
call fcn.0041ff10
mov esp, ebp
pop ebp
ret
Function at 0x435160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x44764c]
xor eax, ebp
mov dword [ebp - 0x64], eax
xor eax, eax
mov word [ebp - 0x478], ax
push 0x40e
push 0
lea ecx, [ebp - 0x476]
push ecx
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 4], 0
push 0x44
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x478]
push ecx
call fcn.00401bd0
add esp, 8
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x478]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x435200
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x435209
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x64]
xor ecx, ebp
call fcn.0041ff10
mov esp, ebp
pop ebp
ret

Function at 0x435220
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x44764c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x435251
mov eax, dword [ebp - 8]
jmp 0x4352c6
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0041ff20
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4352b9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00420545
add esp, 8
test eax, eax
jne 0x4352a5
mov dword [ebp - 8], 1
jmp 0x4352b9
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x435285
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041ff10
mov esp, ebp
pop ebp
ret
Function at 0x435570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43693f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44764c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [ebp - 0x20], eax
push 0xa
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4355dc
push 0x43e054
mov ecx, dword [ebp + 8]
call fcn.00402b40
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
jmp 0x435649
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.004020b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401450
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402ca0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x408710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x408732
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408728
mov eax, 1
add ebx, ebx
jne 0x40874b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408740
jne 0x40875c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408740
xor ecx, ecx
sub eax, 3
jb 0x408770
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4087e2
mov ebp, eax
add ebx, ebx
jne 0x40877b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4087ac
inc ecx
add ebx, ebx
jne 0x408798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40878d
jne 0x4087a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40878d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4087cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4087bd
jmp 0x40872e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4087cc
add edi, ecx
jmp 0x40872e
pop esi
mov edi, esi
mov ecx, 0xc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4087ea
cmp byte [edi], 1
jne 0x4087ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4087ef
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408867
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x866c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x86a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40881c
mov ecx, edi
jns 0x40884b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x86b0]
or eax, eax
je 0x408861
mov dword [ebx], eax
add ebx, 4
jmp 0x408839
call dword [esi + 0x86ac]
mov ebp, dword [esi + 0x86b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40889b
sub esp, 0xffffff80
jmp 0x40141c
Function at 0x100129fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10012a09
pop dword [ebp - 0xc]
mov eax, 0x10012a09
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x98d468c8
add dword [ebp - 0x1c], 0xb57ddc83
mov dword [ebp - 0x18], 0x7dfd613b
sub dword [ebp - 0x18], 0x4bca14f6
mov dword [ebp - 0x14], 0xf82dfb12
add dword [ebp - 0x14], 0x541e491c
mov dword [ebp - 0x10], 0x956d3273
sub dword [ebp - 0x10], 0x956d3273
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x66976bf8
sub eax, 0x56951b74
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x73c4bd45
add dword [ebp - 0x1c], 0xadac11
mov dword [ebp - 0x18], 0x5895ca84
sub dword [ebp - 0x18], 0x1729690f
mov dword [ebp - 0x14], 0x765128f5
sub dword [ebp - 0x14], 0x12e1bc89
mov dword [ebp - 0x10], 0x99bc39c7
sub dword [ebp - 0x10], 0x99bc39c7
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x48aef585
sub eax, 0x38aca509
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3f26b
push 0
call eax
mov ecx, 0x570d
xor edi, edi
add edi, eax
mov esi, 0x4e05309f
sub esi, 0x3e02249f
add esi, dword [ebp - 0xc]
mov ebx, 0x712794b0
sub ebx, 0x8d319062
xor dword [ebp - 8], ebx
mov edx, dword [esi]
sub dword [ebp - 4], 0xb5b13ab3
add edx, ebx
sub dword [ebp - 8], 0xcff2a456
mov dword [edi], edx
add edi, 0x9e273a4
add edi, 0xf61d8c60
add esi, 0x20c8bbb1
sub esi, 0x20c8bbad
loop 0x10012b22
add eax, 0x14f07
mov ebx, eax
add eax, 0x6f342aa6
add eax, 0x90cbd55f
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x1001c940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c9db
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c992
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c992
cmp esi, ebx
jge 0x1001c992
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c9d5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c9d5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c9ed
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x1001cc10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001cc38
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001cc52
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100129fa
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022930
leave
ret 4

Function at 0x1001ce20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001ce56
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001ceb5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100129fa
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100129fa
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100129fa
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022930
leave
ret 0x10

Function at 0x1001ced0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cefc
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cf2d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cf2b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100129fa
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cf2d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022930
leave
ret 8
Function at 0x422cc0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x42a2a4]
imul eax, eax, 0x343fd
cmp dword [0x22cce8c], 0x139e
mov dword [0x42a2a4], eax
jne 0x422d13
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x42a2a4]
add eax, 0x269ec3
push esi
mov dword [0x42a2a4], eax
movzx esi, word [0x42a2a6]
and esi, 0x7fff
cmp dword [0x22cce8c], 0x8e7
jne 0x422d48
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x422e10
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4281f0]
push ebx
mov ebx, dword [0x22cc830]
push edi
mov edi, dword [0x22cce8c]
call fcn.00422d60
cmp dword [0x22cce8c], 0x2f
jne 0x422e75
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00422d90
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x4231c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409150
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4231e9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x423291
cmp dword [0x22cce8c], 0xa5f
jne 0x423235
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.keminivefayosexerukugufebaponif
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x42325a
mov eax, dword [0x429010]
mov dword [0x22cce8c], eax
mov ecx, dword [0x22cce8c]
add ecx, 0xa231
mov dword [0x22cce8c], ecx
cmp dword [0x22cce8c], 0x141
jne 0x42328c
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42a2a8], 0xec58acac
mov dword [0x42a2ac], 0xffffffff
jmp 0x4231e0
call fcn.00422e90
jmp dword [0x22cc830]