joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45be80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45beb3
push esi
call fcn.0046a240
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45beac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45bf39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45bf22
mov eax, dword [esi + 8]
test eax, eax
je 0x45bed7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45bf1e
cmp eax, 2
je 0x45bf22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45beca
cmp eax, 3
je 0x45befd
cmp eax, 1
jne 0x45beca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45beca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45beca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045bf60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45bf48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045bf60
add esp, 4
pop esi
ret

Function at 0x45c7e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x45c801
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x45c801
mov eax, dword [eax + 0x44]
test eax, eax
je 0x45c801
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x479f60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x529ee4]
xor edx, edx
cmp eax, edx
jne 0x479f86
xor eax, eax
mov byte [eax + 0x529de4], al
inc eax
cmp eax, 0x100
jl 0x479f6e
mov dword [0x529ee4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x529de4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47a017
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x479fea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x479fb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47a090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x47a0e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47a0ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x480aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae47e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004813c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4f201c
call fcn.0049f6e0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x480b33
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f6e0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x480b2c
push 0
mov ecx, eax
call fcn.00477ba0
mov dword [esi + 0xc], eax
jmp 0x480b35
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x480b35
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a1d6d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a1da5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049fdfa
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049fdd2
jmp 0x4a1db1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a3467
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a34a9
call fcn.004a8f1c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a34a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a34a0
xor eax, eax
jmp 0x4a34b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a34b7
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a944c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a947a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a9498
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a93b2
jmp 0x4a9498
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a9498
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a93b2
test edi, edi
mov eax, edi
jne 0x4a9482
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40225f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021cb
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x401b66
Capabilities:
Terminate process

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

Function at 0x40893a
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.0040894c
xor dword [esi], ebx
inc esi
cmp esi, eax
jne fcn.0040893a
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x406180
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a991b
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], 0x40443c
call fcn.00406de1
push 4
mov dword [esp + 0x18], 0
call fcn.00407ca2
mov edi, eax
add esp, 4
test edi, edi
je 0x4061f4
push ebx
call fcn.00406cb9
mov dword [edi], eax
call fcn.00406a78
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406da2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4061e8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406dca
pop ebx
jmp 0x4061f6
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 0x408711
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4addc0]
jne 0x40871b
repz ret
jmp fcn.0040de7c
Function at 0x412a84
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4addc0]
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.0040aa8a
and dword [ebp - 0x14], 0
cmp dword [0x4b03b4], 0
mov dword [ebp - 0x18], eax
jne 0x412b37
push 0x403fb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412bdf
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fa4
push ebx
call edi
test eax, eax
je 0x412bdf
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f94
push ebx
mov dword [0x4b03b4], eax
call edi
push eax
call esi
push 0x403f80
push ebx
mov dword [0x4b03b8], eax
call edi
push eax
call esi
push 0x403f64
push ebx
mov dword [0x4b03bc], eax
call edi
push eax
call esi
mov dword [0x4b03c4], eax
test eax, eax
je 0x412b37
push 0x403f4c
push ebx
call edi
push eax
call esi
mov dword [0x4b03c0], eax
mov eax, dword [0x4b03c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412b90
cmp dword [0x4b03c4], ecx
je 0x412b90
push eax
call esi
push dword [0x4b03c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412b90
test ebx, ebx
je 0x412b90
call edi
test eax, eax
je 0x412b87
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412b87
test byte [ebp - 8], 1
jne 0x412b90
or dword [ebp + 0x10], 0x200000
jmp 0x412bc3
mov eax, dword [0x4b03b8]
cmp eax, dword [ebp - 0x18]
je 0x412bc3
push eax
call esi
test eax, eax
je 0x412bc3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412bc3
mov eax, dword [0x4b03bc]
cmp eax, dword [ebp - 0x18]
je 0x412bc3
push eax
call esi
test eax, eax
je 0x412bc3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b03b4]
call esi
test eax, eax
je 0x412bdf
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412be1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408711
leave
ret
Function at 0x4a8390
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x835100], 0x37
jne 0x4a8433
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404120
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x835104]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x4b5164]
mov byte [edx + esi], cl
add esp, 0xc0c
ret
Function at 0x4a8630
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x835100]
sub esp, 0xacc
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x4b5164]
cmp eax, esi
jbe 0x4a8802
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jmp 0x4a8666
mov edi, dword [esp + 0x18]
xor esi, esi
cmp dword [0x835100], 0x1c
jne 0x4a867d
lea eax, [esp + 0x38]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [0x4ae6f8]
mov edx, dword [0x4ae6fc]
mov eax, dword [0x4ae700]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x4ae704]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x4a86ba
xor esi, esi
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x30]
mov edx, ebx
shr edx, 5
add edx, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [0x834084], esi
mov eax, dword [esp + 0x14]
add dword [0x834084], eax
mov edx, dword [0x834084]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x835100], 0x1be
jne 0x4a873a
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x835100], 0x979
mov dword [0x834088], 0xff6b3619
mov dword [0x83408c], 0xffffffff
jne 0x4a8787
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x2dc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jne 0x4a86b8
cmp dword [0x835100], 0x8d4
jne 0x4a87bf
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0x835100], 0x17
jne 0x4a87f1
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_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4a8660
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xacc
ret
Function at 0x40b547
Capabilities:
Get common file path

Disassembly:
push 0x48
mov eax, 0x41ae8f
call fcn.0040d0a7
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x40b622
cmp byte [esi + 0x41], 0
je 0x40b622
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x40b54c
xor al, al
jmp 0x40b624
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040b4f0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b244
mov ecx, eax
call fcn.0040ac7b
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b244
mov ecx, eax
call fcn.0040ac7b
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x40b5bc
dec eax
je 0x40b5c0
dec eax
dec eax
je 0x40b61e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409b35
mov al, bl
jmp 0x40b624
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b244
mov ecx, eax
call fcn.0040ac7b
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x40b600
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b244
mov ecx, eax
call fcn.0040ac7b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040ea05
add esp, 0x10
cmp edi, eax
jne 0x40b5aa
cmp byte [esi + 0x41], 0
je 0x40b61e
test edi, edi
jne 0x40b55a
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040b2c4
jmp 0x40b55a
mov bl, 1
jmp 0x40b5ac
mov al, 1
call fcn.0040d0f1
ret
Function at 0x40da61
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x423340
call fcn.004127d4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x40dab5
cmp byte [ecx + 8], dl
je 0x40dab5
mov ecx, dword [eax + 8]
cmp ecx, edx
jne 0x40d979
test dword [eax], 0x80000000
je 0x40dab5
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x40d986
lea esi, [ecx + esi + 0xc]
mov dword [ebp - 4], edx
xor ebx, ebx
inc ebx
push ebx
test al, 8
je 0x40d9d2
mov edi, dword [ebp + 8]
push dword [edi + 0x18]
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push ebx
push esi
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
mov eax, dword [edi + 0x18]
mov dword [esi], eax
mov ecx, dword [ebp + 0x14]
add ecx, 8
push ecx
push eax
call fcn.0040d6a8
pop ecx
pop ecx
mov dword [esi], eax
jmp 0x40da9d
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
test byte [edi], bl
je 0x40da27
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push ebx
push esi
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push dword [edi + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
push esi
call fcn.00410fc0
add esp, 0xc
cmp dword [edi + 0x14], 4
jne 0x40da9d
mov eax, dword [esi]
test eax, eax
je 0x40da9d
add edi, 8
push edi
jmp 0x40d9c3
cmp dword [edi + 0x18], edx
jne 0x40da64
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push ebx
push esi
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push dword [edi + 0x14]
add edi, 8
push edi
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
call fcn.0040d6a8
pop ecx
pop ecx
push eax
push esi
call fcn.00410fc0
add esp, 0xc
jmp 0x40da9d
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push ebx
push esi
call fcn.004138a6
pop ecx
pop ecx
test eax, eax
je 0x40da98
push dword [edi + 0x18]
call fcn.004138a6
pop ecx
test eax, eax
je 0x40da98
test byte [edi], 4
push 0
pop eax
setne al
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x40da9d
call fcn.00411a8d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x40dab7
xor eax, eax
call fcn.00412819
ret