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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100ac1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x1007c3a8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100503b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x1007c3a8
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007c317
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x1007c3a8
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1007c340
mov eax, dword [0x100947ec]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1007c355
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007c370
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047acb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10047acb
mov esp, ebp
pop ebp
ret
Function at 0x1007c3c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100ac1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.100503b0
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.1007b880
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1007c42a
mov al, byte [edi + ecx]
test al, al
je 0x1007c42a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1007c411
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x1007c44b
inc eax
sub ecx, 1
jne 0x1007c440
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x1007c4a0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x1007c495
lea edi, [ebp - 0x84]
mov eax, bind
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x1007c494
mov bl, byte [edi + ecx]
test bl, bl
je 0x1007c494
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x1007c480
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.100503b0
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x1009d23c
push str.SoftwareComMaster
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x1007c55a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1007c524
test cl, cl
je 0x1007c520
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1007c524
add eax, 2
add esi, 2
test cl, cl
jne 0x1007c504
xor eax, eax
jmp 0x1007c529
sbb eax, eax
or eax, 1
test eax, eax
je 0x1007c55a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c536
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push reloc.WS2_32.dll_bind
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c563
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x1009d23c
push str.SoftwareComMaster
push reloc.WS2_32.dll_bind
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10047acb
mov esp, ebp
pop ebp
ret
Function at 0x40181f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [0x41b220]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.004030d0
push 0x4211d0
lea eax, [ebp - 0xc]
push 0x421210
push eax
call fcn.00401531
mov esi, dword [ebp - 0xc]
xor edi, edi
inc edi
add esp, 0xc
cmp dword [ebp - 4], edi
jle 0x4018a7
mov eax, dword [ebp - 8]
push esi
push dword [eax + edi*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40189b
mov ecx, dword [ebp - 4]
lea eax, [edi + 1]
cmp eax, ecx
jge 0x40189e
mov eax, dword [ebp - 8]
push 0x4212f0
push dword [eax + edi*4 + 4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4018a5
mov ecx, dword [ebp - 4]
inc edi
cmp edi, ecx
jl 0x40186a
jmp 0x4018a7
mov bl, 1
push dword [ebp - 8]
call dword [0x41b1bc]
lea ecx, [esi - 0x10]
call fcn.00401252
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x4018bf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x421218
lea ecx, [ebp - 0xc]
call fcn.00403071
mov esi, 0x421178
push esi
call 0x40fc18
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc]
call fcn.004033bd
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [0x41b220]
mov esi, dword [ebp - 0xc]
xor edi, edi
inc edi
mov dword [ebp - 8], eax
cmp dword [ebp - 4], edi
jle 0x40192a
push esi
push dword [eax + edi*4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x401928
inc edi
cmp edi, dword [ebp - 4]
jl 0x40190f
jmp 0x40192a
mov bl, 1
push eax
call dword [0x41b1bc]
lea ecx, [esi - 0x10]
call fcn.00401252
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x404678
Capabilities:
Delete file

Disassembly:
mov edx, dword [eax + 4]
sub edx, 0xd7b0
cmp edx, 3
ja 0x40469f
lea eax, [eax + 0x48]
push eax
call sub.kernel32.dll_DeleteFileA
dec eax
jne 0x404693
ret
call sub.kernel32.dll_GetLastError
call fcn.0040272c
jmp 0x404692
mov eax, 0x66
jmp 0x404698

Function at 0x4046ec
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40471c
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x404712
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040273c
or eax, 0xffffffff
jmp 0x404710
mov eax, 0x67
call fcn.0040272c
or eax, 0xffffffff
jmp 0x404710

Function at 0x406554
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00403948
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x406576
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x407a98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407ad1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004036f0
jmp 0x407ada
mov eax, ebx
mov edx, esi
call fcn.004036a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407ae4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407b05
mov al, byte [esp]
jmp 0x407b07
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411138
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403610
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x411199
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x411199
cmp byte [ebp - 0x102], 0
je 0x411199
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040376c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424a00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x424a17
add esp, 0xfffffff0
call fcn.00402ebc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f554
mov dl, 1
mov eax, 0x4098cc
call fcn.00402cbc
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x4098cc
call fcn.00402cbc
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x419b94
call fcn.0041ed84
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x424b58
mov eax, dword [0x44d014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041f110
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x425e28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44d014]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004069c8
test eax, eax
je 0x424af4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406874
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004069a8
test eax, eax
je 0x424b08
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040376c
cmp byte [0x44d034], 0
jne 0x424b38
mov eax, ebx
call fcn.00424be8
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x424b50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4255f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x425622
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036f0
jmp 0x42562c
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004036a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x426000
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x426038
mov eax, esi
call fcn.004183f8
test al, al
je 0x426038
mov eax, dword [ebx + 0x60]
call fcn.00418260
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x426038
push 0
mov eax, dword [ebx + 0x60]
call fcn.00418260
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x406300
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x8100eb
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.00407c5f
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 0x4086d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8133d8]
jne 0x4086db
repz ret
jmp fcn.0040c8bc
Function at 0x411aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8133d8]
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.0040b42f
and dword [ebp - 0x14], 0
cmp dword [0x8163ac], 0
mov dword [ebp - 0x18], eax
jne 0x411b9e
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x411c46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x8163ac], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x8163b0], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x8163b4], eax
call edi
push eax
call esi
mov dword [0x8163bc], eax
test eax, eax
je 0x411b9e
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x8163b8], eax
mov eax, dword [0x8163b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411bf7
cmp dword [0x8163bc], ecx
je 0x411bf7
push eax
call esi
push dword [0x8163bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411bf7
test ebx, ebx
je 0x411bf7
call edi
test eax, eax
je 0x411bee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411bee
test byte [ebp - 8], 1
jne 0x411bf7
or dword [ebp + 0x10], 0x200000
jmp 0x411c2a
mov eax, dword [0x8163b0]
cmp eax, dword [ebp - 0x18]
je 0x411c2a
push eax
call esi
test eax, eax
je 0x411c2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c2a
mov eax, dword [0x8163b4]
cmp eax, dword [ebp - 0x18]
je 0x411c2a
push eax
call esi
test eax, eax
je 0x411c2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x8163ac]
call esi
test eax, eax
je 0x411c46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086d1
leave
ret
Function at 0x80eae0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9b0f8], 0x37
jne 0x80eb86
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_GetCompressedFileSizeA]
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_FoldStringW]
push 0
push 0
push 0
push 0x404158
push 0x404134
push 0x4041b0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b0fc]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b15c]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80ed90
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9b0f8]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81b15c]
cmp eax, ebx
jbe 0x80ef86
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80edc6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9b0f8], 0x1c
jne 0x80eddd
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ee1a
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 [0xb9a07c], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9a07c], eax
mov edx, dword [0xb9a07c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
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 [0xb9b0f8], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80eeb4
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9b0f8], 0x979
mov dword [0xb9a080], 0xff6b3619
mov dword [0xb9a084], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80ef08
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
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
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ee18
cmp dword [0xb9b0f8], 0x8d4
jne 0x80ef3f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9b0f8], 0x17
jne 0x80ef75
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80edc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x401267
Capabilities:
Encode data using xor

Disassembly:
jmp 0x408210
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x408397
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xea
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x15
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x61
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x84
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2d
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1e
push 0
push 0
push 0
call esi
add byte [edi + ebp], 7
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xec
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xb8
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x62
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf5
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x14
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xef
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x48
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x13
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe8
push 0
push 0
push 0
call esi
add byte [edi + ebp], 4
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x49
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdd
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x9a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x64
inc edi
cmp edi, ebx
jb 0x408230
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x40267b
Capabilities:
Terminate process

Disassembly:
jmp 0x4183d2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4183e3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403ac1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402711
Capabilities:
Query environment variable

Disassembly:
jmp 0x443ff6
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x444007
pop esi
ret
push ebx
push edi
push esi
call fcn.00443edd
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402c43
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44402f
push ebx
push esi
push edi
call fcn.0040398b
add esp, 0xc
push 0
call fcn.00403fe4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4039f9
Capabilities:
Parse pe header

Disassembly:
jmp 0x40a86b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a8aa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a8aa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a8aa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a8aa
cmp dword [ecx + 0x74], 0xe
jbe 0x40a8aa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret