joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad0cd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4c830c]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.004ad09d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0049a7e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4ad131
cmp dword [ebp - 0x1c], 5
jb 0x4ad149
jmp 0x4ad145
cmp dword [ebp - 0x10], 1
jne 0x4ad149
cmp dword [ebp - 0x1c], 4
ja 0x4ad145
jne 0x4ad149
cmp dword [ebp - 0x18], 0
jbe 0x4ad149
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x4c39d8
call fcn.004322ff
test eax, eax
jge 0x4ad16a
mov byte [0x4c9109], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a795e
add ebp, 0x78
leave
ret

Function at 0x4220c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4220c9
lcall 0x5de5, 0x8b10c483
jmp loc.00a9aba8
Function at 0x418120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41813a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x418141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418130
mov eax, 1
add ebx, ebx
jne 0x418153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x418148
jne 0x418164
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x418148
xor ecx, ecx
sub eax, 3
jb 0x418178
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4181ea
mov ebp, eax
add ebx, ebx
jne 0x418183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x418190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4181b4
inc ecx
add ebx, ebx
jne 0x4181a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x418195
jne 0x4181b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x418195
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4181d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4181c5
jmp 0x418136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4181d4
add edi, ecx
jmp 0x418136
pop esi
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x41823c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4181f1
mov ecx, edi
jns 0x418220
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 + 0x1809c]
or eax, eax
je 0x418236
mov dword [ebx], eax
add ebx, 4
jmp 0x41820e
call dword [esi + 0x18098]
mov ebp, dword [esi + 0x180a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x418270
sub esp, 0xffffff80
jmp 0x40a000
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x403910
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fe], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404670], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404604], eax
mov dword [0x4040f6], eax
mov dword [0x4045f0], 0x30
mov dword [0x4045f4], 2
jmp 0x403955
mov dword [0x4045f8], 0x402f69
mov dword [0x4045fc], 0
mov dword [0x404600], 0
mov dword [0x404618], 0x404564
mov dword [0x404610], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404608], eax
mov dword [0x40461c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40460c], eax
push 0x4045f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040f6]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push str.first
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404668], eax
push 5
push dword [0x404668]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404668]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404620]
jmp 0x403a29
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a1b
mov eax, dword [0x404628]
jmp 0x403a44
call 0x402a90
ret
Function at 0x404a36
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00413df0
mov eax, dword [0xc71fdc]
mov ecx, dword [0xc4b17c]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x404b3d
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0xc71fdc], 0x959
jne 0x404b2b
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x4040d8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x404128
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.0040483f
add ebx, 8
dec dword [ebp - 8]
jne 0x404a63
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40717b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e728]
jne 0x407185
repz ret
jmp fcn.0040ed1c

Function at 0x410a97
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.0040894d
and dword [ebp - 4], 0
cmp dword [0x810a30], 0
mov ebx, eax
jne 0x410b48
push 0x40380c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410bf9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403800
push edi
call esi
test eax, eax
je 0x410bf9
push eax
call fcn.004088db
mov dword [esp], 0x4037f0
push edi
mov dword [0x810a30], eax
call esi
push eax
call fcn.004088db
mov dword [esp], 0x4037dc
push edi
mov dword [0x810a34], eax
call esi
push eax
call fcn.004088db
mov dword [esp], 0x4037c0
push edi
mov dword [0x810a38], eax
call esi
push eax
call fcn.004088db
pop ecx
mov dword [0x810a40], eax
test eax, eax
je 0x410b48
push 0x4037a8
push edi
call esi
push eax
call fcn.004088db
pop ecx
mov dword [0x810a3c], eax
mov eax, dword [0x810a3c]
cmp eax, ebx
je 0x410ba0
cmp dword [0x810a40], ebx
je 0x410ba0
push eax
call fcn.00408956
push dword [0x810a40]
mov esi, eax
call fcn.00408956
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410ba0
test edi, edi
je 0x410ba0
call esi
test eax, eax
je 0x410b97
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410b97
test byte [ebp - 0xc], 1
jne 0x410ba0
or dword [ebp + 0x10], 0x200000
jmp 0x410bd9
mov eax, dword [0x810a34]
cmp eax, ebx
je 0x410bd9
push eax
call fcn.00408956
pop ecx
test eax, eax
je 0x410bd9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410bd9
mov eax, dword [0x810a38]
cmp eax, ebx
je 0x410bd9
push eax
call fcn.00408956
pop ecx
test eax, eax
je 0x410bd9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810a30]
call fcn.00408956
pop ecx
test eax, eax
je 0x410bf9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410bfb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x406270
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x429feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404544
call fcn.00406ed1
push 4
mov dword [esp + 0x18], 0
call fcn.00407d76
mov edi, eax
add esp, 4
test edi, edi
je 0x4062e4
push ebx
call fcn.00406da9
mov dword [edi], eax
call fcn.00406b68
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406e92
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4062d8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406eba
pop ebx
jmp 0x4062e6
xor edi, edi
mov dword [esi + 0x38], 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
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 ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4087e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d520]
jne 0x4087eb
repz ret
jmp fcn.0040cf3c
Function at 0x411b82
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d520]
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.0040aee4
and dword [ebp - 0x14], 0
cmp dword [0x432a94], 0
mov dword [ebp - 0x18], eax
jne 0x411c35
push 0x403944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411cdd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403938
push ebx
call edi
test eax, eax
je 0x411cdd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403928
push ebx
mov dword [0x432a94], eax
call edi
push eax
call esi
push 0x403914
push ebx
mov dword [0x432a98], eax
call edi
push eax
call esi
push 0x4038f8
push ebx
mov dword [0x432a9c], eax
call edi
push eax
call esi
mov dword [0x432aa4], eax
test eax, eax
je 0x411c35
push 0x4038e0
push ebx
call edi
push eax
call esi
mov dword [0x432aa0], eax
mov eax, dword [0x432aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c8e
cmp dword [0x432aa4], ecx
je 0x411c8e
push eax
call esi
push dword [0x432aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c8e
test ebx, ebx
je 0x411c8e
call edi
test eax, eax
je 0x411c85
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c85
test byte [ebp - 8], 1
jne 0x411c8e
or dword [ebp + 0x10], 0x200000
jmp 0x411cc1
mov eax, dword [0x432a98]
cmp eax, dword [ebp - 0x18]
je 0x411cc1
push eax
call esi
test eax, eax
je 0x411cc1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411cc1
mov eax, dword [0x432a9c]
cmp eax, dword [ebp - 0x18]
je 0x411cc1
push eax
call esi
test eax, eax
je 0x411cc1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432a94]
call esi
test eax, eax
je 0x411cdd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411cdf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004087e1
leave
ret
Function at 0x428b60
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b7820], 0x37
jne 0x428bf8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404148
push 0x4041c0
push 0x4041e8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b7824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x437884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x428e40
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b7820]
sub esp, 0x574
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x437884]
cmp eax, ebx
jbe 0x429028
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x428e76
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b7820], 0x1c
jne 0x428e8d
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x428eca
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b67a4], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b67a4], eax
mov edx, dword [0x7b67a4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b7820], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x428f64
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0x7b7820], 0x979
mov dword [0x7b67a8], 0xff6b3619
mov dword [0x7b67ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x428fab
push 0
lea eax, [esp + 0x184]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7b7820]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x428fcd
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x428ec8
cmp eax, 0x8d4
jne 0x428fe4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7b7820], 0x17
jne 0x429017
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x428e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x574
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40d02c], 0x8088405
inc edx
mov dword [0x40d02c], edx
mul edx
mov eax, edx
ret

Function at 0x406e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00406adf
fsubr dword [edi - 0x16]
das
lea eax, [ebp - 0x40]
push eax
call fcn.00406aef
push eax
push esi
push dword [ebp + 8]
call fcn.00406aa4
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00406adf
sub esp, ecx
stosb byte es:[edi], al
add dword [ebp + 0x5d88e845], ecx
call 0xe99df6a0
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00406aef
push eax
push esi
push dword [ebp + 8]
call fcn.00406aa4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6

Function at 0x406ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00406aef
push eax
push esi
push dword [ebp + 8]
call fcn.00406aa4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00406aef
push eax
push esi
push dword [ebp + 8]
call fcn.00406aa4
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00406adf
sub byte [eax - 0x62774362], cl
jl 0x406f64
invalid
invalid
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x407db7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x407dc6
pop dword [ebp - 0x30]
mov eax, 0x2d7cb9f1
add eax, 0xd2c3c3d5
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xaa9acd43
add dword [ebp - 0x40], 0xa3b77808
mov dword [ebp - 0x3c], 0xdd2d230f
sub dword [ebp - 0x3c], 0xaaf9d6ca
mov dword [ebp - 0x38], 0x5e5de173
add dword [ebp - 0x38], 0xedee62bb
mov dword [ebp - 0x34], 0xdf8c3be2
add dword [ebp - 0x34], 0x2073c41e
lea eax, [ebp - 0x40]
push eax
mov eax, 0x7a48c5d5
add eax, 0x85f80a77
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x1ffc6b44
sub dword [ebp - 0x40], 0xab8a01ee
mov dword [ebp - 0x3c], 0x456ac4f2
add dword [ebp - 0x3c], 0xfc019c83
mov dword [ebp - 0x38], 0x549ab820
sub dword [ebp - 0x38], 0xf12b4bb4
mov dword [ebp - 0x34], 0x5afc4825
sub dword [ebp - 0x34], 0x5afc4825
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1edc5699
sub eax, 0x1e9b8651
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3ac3d
push 0
call eax
mov ecx, 0xed2858f4
sub ecx, 0xed280bb3
xor esi, esi
add esi, eax
mov edx, 0x41699de2
sub edx, 0x4127ede2
add edx, dword [ebp - 0x30]
mov edi, 0x921b7b94
sub edi, 0x163422c4
sub dword [ebp - 0x1c], 0x8c2ffcff
mov ebx, dword [edx]
sub ebx, edi
xor dword [ebp - 0xc], edx
mov dword [esi], ebx
sub dword [ebp - 8], ebx
add esi, 0xc1d8ed23
sub esi, 0xc1d8ed1f
add edx, 4
loop 0x407eea
add eax, 0x33b89a35
sub eax, 0x33b7725e
xor ebx, ebx
add ebx, eax
add eax, 0xeff595e2
add eax, 0x100a6a23
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret