joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e99d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x429008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.00410cea
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [eax], edx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x410a20
push 0
push 0
call fcn.004146dd
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x40fdff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.00411ae8
int3

Function at 0x40ffb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ea14
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x429008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x34
call fcn.00410cea
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0040f840
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040f840
mov dword [esi + 0x30], 0x4046d0
mov dword [ebp + 0x10], esi
lea ebx, [edi + 4]
mov dword [ebp - 4], 2
push ebx
push 0
push esi
push 0x410a80
push 0
push 0
call fcn.004146dd
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x41004c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [ebx], 0
call fcn.00411ae8
int3
Function at 0x401060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
mov ebx, ecx
mov dword [ebp - 8], 1
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push str.JavaHome
push ebx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4010e5
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push esi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402831
pop ecx
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.JavaHome
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4010e4
push esi
mov ecx, edi
call fcn.0040184e
push esi
call fcn.0040283a
pop ecx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00402820
leave
ret
Function at 0x40118e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x234], eax
xor ebx, ebx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x210], ebx
push eax
push 0x20119
push ebx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401366
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x401366
xor esi, esi
mov dword [ebp - 0x230], ebx
test eax, eax
je 0x401356
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0xff
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x401343
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401343
push dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.00401060
pop ecx
pop ecx
test eax, eax
jne 0x401339
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040188f
push 0x417364
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004010f3
mov ecx, eax
call fcn.00401165
lea ecx, [ebp - 0x24c]
mov bl, al
call fcn.004026c3
test bl, bl
jne 0x401339
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040188f
push 0x417374
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004010f3
mov ecx, eax
call fcn.00401165
lea ecx, [ebp - 0x24c]
mov bl, al
call fcn.004026c3
mov eax, dword [ebp - 0x230]
xor ecx, ecx
inc ecx
movzx eax, al
test bl, bl
cmovne eax, ecx
mov dword [ebp - 0x230], eax
jmp 0x40133f
mov eax, dword [ebp - 0x230]
test al, al
jne 0x401350
inc esi
cmp esi, dword [ebp - 0x210]
jb 0x401228
mov ebx, dword [ebp - 0x230]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x401368
xor al, al
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00402820
leave
ret
Function at 0x40140a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
mov edi, edx
mov esi, ebx
call fcn.004018b0
push eax
mov ecx, edi
call fcn.00401857
lea ecx, [ebp - 0x18]
call fcn.004026c3
push ecx
push ebx
mov ecx, edi
call fcn.004025dd
push ebx
push ecx
mov ecx, edi
call fcn.0040228b
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x401466
push ecx
add esi, 0x104
mov ecx, edi
push esi
call fcn.004025dd
push esi
push ecx
mov ecx, edi
call fcn.0040228b
push eax
push str.JAVA_HOME
call ebx
mov edx, eax
cmp edx, esi
je 0x40144e
test edx, edx
jne 0x401480
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40149c
push ecx
xor ecx, ecx
lea eax, [esi - 0x104]
add eax, edx
setb cl
neg ecx
or ecx, eax
push ecx
mov ecx, edi
call fcn.004025dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4014a1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
lea ecx, [ebp - 0x78]
call fcn.004018c1
push 0x44
pop eax
push eax
mov dword [ebp - 0x60], eax
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00403ec0
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00403ec0
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040228b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
lea ecx, [ebp - 0x78]
setne bl
call fcn.004026c3
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00402820
leave
ret
Function at 0x845058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8451a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x84507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84506a
add dl, dl
jne 0x845089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8450dc
xor eax, eax
add dl, dl
jne 0x845096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84517d
add dl, dl
jne 0x8450a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8450d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x845075
mov eax, 1
add dl, dl
jne 0x8450ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8450e1
sub eax, ebx
mov ebx, 1
jne 0x845128
mov ecx, 1
add dl, dl
jne 0x84510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x845119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x84513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x84514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845136
cmp eax, 0x7d00
jae 0x84516d
cmp eax, 0x500
jb 0x845168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
cmp eax, 0x7f
ja 0x845170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x84519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x845075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4bb9bc
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4bba00
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4bba00
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x4bba97
mov eax, 0x400
call fcn.00402efc
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x4bba90
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4c33b8
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x4bba86
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4bba82
mov byte [esp], 1
jmp 0x4bba86
inc edi
dec ebx
jne 0x4bba69
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402f18
movzx eax, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4018a4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018e3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018e3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018e3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018e3
cmp dword [ecx + 0x74], 0xe
jbe 0x4018e3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x6f0a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x697015
lea edi, [esi - 0x296015]
push edi
or ebp, 0xffffffff
jmp 0x6f0a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6f0a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0a88
mov eax, 1
add ebx, ebx
jne 0x6f0aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6f0abc
jne 0x6f0adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0adb
dec eax
add ebx, ebx
jne 0x6f0ac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6f0aa0
add ebx, ebx
jne 0x6f0ad7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6f0b2d
xor ecx, ecx
sub eax, 3
jb 0x6f0af3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6f0b62
sar eax, 1
mov ebp, eax
jmp 0x6f0afe
add ebx, ebx
jne 0x6f0afe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0acc
inc ecx
add ebx, ebx
jne 0x6f0b0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0acc
add ebx, ebx
jne 0x6f0b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6f0b0e
jne 0x6f0b2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6f0b0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6f0b4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6f0b3e
jmp 0x6f0a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6f0b4c
add edi, ecx
jmp 0x6f0a8e
pop esi
mov edi, esi
mov ecx, 0xc9ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6f0b6a
cmp byte [edi], 0x22
jne 0x6f0b6a
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 0x6f0b6f
lea edi, [esi + 0x2ee000]
mov eax, dword [edi]
or eax, eax
je 0x6f0be7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f0530]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f056c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6f0b9c
mov ecx, edi
jns 0x6f0bcb
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 + 0x2f0574]
or eax, eax
je 0x6f0be1
mov dword [ebx], eax
add ebx, 4
jmp 0x6f0bb9
call dword [esi + 0x2f0570]
mov ebp, dword [esi + 0x2f0578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x6f0c1b
sub esp, 0xffffff80
jmp 0x403034
Function at 0x406300
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47853b
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], 0x4045c4
call fcn.00406f61
push 4
mov dword [esp + 0x18], 0
call fcn.00407d20
mov edi, eax
add esp, 4
test edi, edi
je 0x406374
push ebx
call fcn.00406e39
mov dword [edi], eax
call fcn.00406bf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f22
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406368
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f4a
pop ebx
jmp 0x406376
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 0x408791
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47b658]
jne 0x40879b
repz ret
jmp fcn.0040d1fc
Function at 0x412dce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47b658]
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.0040bd66
and dword [ebp - 0x14], 0
cmp dword [0x47e3d8], 0
mov dword [ebp - 0x18], eax
jne 0x412e81
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412f29
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x412f29
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x47e3d8], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x47e3dc], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x47e3e0], eax
call edi
push eax
call esi
mov dword [0x47e3e8], eax
test eax, eax
je 0x412e81
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x47e3e4], eax
mov eax, dword [0x47e3e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412eda
cmp dword [0x47e3e8], ecx
je 0x412eda
push eax
call esi
push dword [0x47e3e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412eda
test ebx, ebx
je 0x412eda
call edi
test eax, eax
je 0x412ed1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412ed1
test byte [ebp - 8], 1
jne 0x412eda
or dword [ebp + 0x10], 0x200000
jmp 0x412f0d
mov eax, dword [0x47e3dc]
cmp eax, dword [ebp - 0x18]
je 0x412f0d
push eax
call esi
test eax, eax
je 0x412f0d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412f0d
mov eax, dword [0x47e3e0]
cmp eax, dword [ebp - 0x18]
je 0x412f0d
push eax
call esi
test eax, eax
je 0x412f0d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47e3d8]
call esi
test eax, eax
je 0x412f29
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412f2b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408791
leave
ret
Function at 0x476f30
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x803120], 0x37
jne 0x476fd6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
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_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404138
push 0x404190
push 0x4041d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x803124]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x483184]
mov byte [ecx + esi], al
add esp, 0x80c
ret
Function at 0x4771f0
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x803120]
sub esp, 0x484
push ebx
mov ebx, dword [0x483184]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4773e6
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jmp 0x477226
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [0x803120], 0x1c
jne 0x47723d
lea eax, [esp + 0x44]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [ebx + 4]
mov edx, dword [0x47c708]
mov eax, dword [0x47c70c]
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x47c710]
mov dword [esp + 0x34], edx
mov edx, dword [0x47c714]
mov ebx, 0xc6ef3720
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x20
jmp 0x477282
xor esi, esi
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x38]
lea edx, [ebx + edi]
xor ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [0x8020a4], esi
mov eax, dword [esp + 0x1c]
add dword [0x8020a4], eax
mov eax, dword [0x8020a4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x40]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
cmp dword [0x803120], 0x1be
mov eax, dword [esp + 0x18]
lea ebp, [ebx + eax]
jne 0x477316
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, dword [esp + 0x18]
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0x803120], 0x979
mov dword [0x8020a8], 0xff6b3619
mov dword [0x8020ac], 0xffffffff
jne 0x47736a
mov edx, dword [esp + 0x3c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea eax, [esp + 0x94]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor esi, ebp
xor eax, esi
sub edi, eax
add ebx, 0x61c88647
dec dword [esp + 0x24]
mov dword [esp + 0x14], eax
jne 0x477280
cmp dword [0x803120], 0x8d4
jne 0x47739f
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], edx
cmp dword [0x803120], 0x17
jne 0x4773d5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x477220
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret
Function at 0x5583ed36
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x558b0300]
jne 0x5583ed40
repz ret
jmp fcn.5583f595

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c