joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aabe0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4aac49
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004aa5a0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x4aae90
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4aaf22
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4aaf14
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4aaf0c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4aaed5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4aaf30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x4aaf71.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4aaf71.2
jmp dword [eax*4 + 0x4aaffc]
mov word [esp + 0x48], di
jmp 0x4aafaa
mov word [esp + 0x48], 2
jmp 0x4aafaa
mov word [esp + 0x48], 3
jmp 0x4aafaa
mov word [esp + 0x48], 4
jmp 0x4aafaa
mov word [esp + 0x48], 7
jmp 0x4aafaa
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x4aaff4
cmp dword [esp + 0x70], edi
je 0x4aafe0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x4ad3a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4ad3be
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4ad3b3
pop esi
ret

Function at 0x4ae980
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.004b04b0
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call fcn.004af180
add esp, 8
test ebp, ebp
je 0x4aea49
test eax, eax
je 0x4aea49
inc eax
push ebx
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4ae9eb
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4aea25
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4aea38
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x4af260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x4af281
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x4af2db
inc edi
cmp edi, esi
jl 0x4af275
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x4af310
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x4af2ca
cmp byte [eax], bl
je 0x4af2e5
cmp byte [eax + 1], bl
je 0x4af2ee
cmp byte [eax + 2], bl
je 0x4af2f8
cmp byte [eax + 3], bl
je 0x4af304
add eax, 4
cmp eax, edi
jb 0x4af2a1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x4b0f00
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 1
test ecx, ecx
mov dword [esp + 0x10], esi
jne 0x4b0f33
push ecx
push ecx
push ecx
lea eax, [esp + 0x18]
lea ecx, [esi + 1]
push eax
push ecx
jmp 0x4b0f8b
cmp ecx, 0xffffffff
jne 0x4b0f4a
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x4b0f79
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 8], edx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push 0
push 0
lea edx, [esi + 1]
push ecx
push edx
call sub.WS2_32.dll_select
test eax, eax
jge 0x4b0f9f
or eax, 0xffffffff
pop esi
add esp, 0x10c
ret
lea eax, [esp + 0xc]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4b0fd7
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
push 0
push ecx
push edx
push esi
call sub.WS2_32.dll_recv
test eax, eax
jg 0x4b0fdc
mov eax, 0xfffffffc
pop esi
add esp, 0x10c
ret
mov eax, 0xfffffffd
pop esi
add esp, 0x10c
ret

Function at 0x4b0ff0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 1
test ecx, ecx
mov dword [esp + 0x10], esi
jne 0x4b1023
push ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
lea ecx, [esi + 1]
push ecx
jmp 0x4b107b
cmp ecx, 0xffffffff
jne 0x4b103a
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x4b1069
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 8], edx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
lea edx, [esi + 1]
push 0
push edx
call sub.WS2_32.dll_select
test eax, eax
jge 0x4b108f
or eax, 0xffffffff
pop esi
add esp, 0x10c
ret
lea eax, [esp + 0xc]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4b10be
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
push 0
push ecx
push edx
push esi
call sub.WS2_32.dll_send
pop esi
add esp, 0x10c
ret
mov eax, 0xfffffffd
pop esi
add esp, 0x10c
ret
Function at 0x4b11b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
call fcn.004b18f0
push 6
push 1
push 2
mov dword [0x4d432c], eax
call sub.WS2_32.dll_socket
mov ecx, dword [esp + 0x18]
mov esi, eax
xor eax, eax
push ecx
mov dword [esp + 8], eax
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call sub.WS2_32.dll_inet_addr
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
push edx
call sub.WS2_32.dll_htons
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
jge 0x4b121f
push esi
call sub.WS2_32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4b2870
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x4b287c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x4b290f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x4b28d9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.004b2920
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x4b28ae
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x4b2940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x4b2a3d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x4b2992
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x4b29be
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004b2920
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x4b29ff
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x4b2981
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4b3a20
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4c3384]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4b3a33
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4b3a74
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4c342c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4b3aa6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b3aaa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4b3a9b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4b3ac8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b3acc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4b3abd
xor ecx, ecx
mov eax, 0x4c3394
xor ebx, ebx
mov bl, byte [ecx + 0x4c343c]
cmp byte [esp + ebx + 0x14], 0
je 0x4b3af7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4c3454]
cmp byte [esp + ebx + 0x14], 0
je 0x4b3b0e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4b3ade
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4b3a67
lea edx, [esp + 0x84]
push edx
call fcn.004b3b50
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4ca274
Capabilities:
Encode data using xor

Disassembly:
push 0x4c9fca
pop ecx
sub esp, 4
mov dword [esp], 0x7e2e3041
pop edx
call fcn.004ca2bc
add ebx, 1
add edx, ebx
xor dword [esi], ecx
push edx
pop edx
add ebx, ebx
sub ebx, edx
add esi, 1
add ebx, 0xa8e94690
sub edx, 1
cmp esi, eax
jne fcn.004ca274
dec edx
mov ebx, ebx
ret

Function at 0x4aeda0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
or ebp, 0xffffffff
jmp 0x4aedc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4aedc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aedb8
mov eax, 1
add ebx, ebx
jne 0x4aeddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4aedec
jne 0x4aee0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aee0b
dec eax
add ebx, ebx
jne 0x4aedf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4aedd0
add ebx, ebx
jne 0x4aee07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4aee5d
xor ecx, ecx
sub eax, 3
jb 0x4aee23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4aee92
sar eax, 1
mov ebp, eax
jmp 0x4aee2e
add ebx, ebx
jne 0x4aee2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aedfc
inc ecx
add ebx, ebx
jne 0x4aee3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aedfc
add ebx, ebx
jne 0x4aee49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4aee3e
jne 0x4aee5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4aee3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4aee7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4aee6e
jmp 0x4aedbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4aee7c
add edi, ecx
jmp 0x4aedbe
pop esi
mov edi, esi
mov ecx, 0xa3a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4aee9a
cmp byte [edi], 0x11
jne 0x4aee9a
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 0x4aee9f
lea edi, [esi + 0xac000]
mov eax, dword [edi]
or eax, eax
je 0x4aef17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb386c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb3920]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4aeecc
mov ecx, edi
jns 0x4aeefb
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 + 0xb3924]
or eax, eax
je 0x4aef11
mov dword [ebx], eax
add ebx, 4
jmp 0x4aeee9
call dword [esi + 0xb392c]
mov ebp, dword [esi + 0xb3928]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4aef4b
sub esp, 0xffffff80
jmp 0x40d180
Function at 0x404fbf
Capabilities:
64-bit execution via heavens gate

Disassembly:
cmp cl, 2
jne 0x4191db
mov al, byte [0x449058]
ret

Function at 0x404fce
Capabilities:
64-bit execution via heavens gate

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 2
pop esi
cmp dword [0x436704], esi
je 0x404ff8
cmp ecx, 1
jne 0x419218
cmp edx, 5
je 0x405011
cmp edx, 3
je 0x405011
cmp dword [ebp + 8], 0
jne 0x404ffd
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x404ff8
test byte [eax + 0x1c], 8
jne 0x404ff8
jmp 0x4191e7
mov dword [0x436704], esi
jmp 0x404ff8

Function at 0x40532e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x47c], eax
push esi
mov esi, ebx
xor ecx, ecx
push edi
mov dword [ebp - 0x478], ecx
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0x40535e
sub esi, edi
sar esi, 1
lea eax, [esi + 2]
cmp eax, edx
ja 0x4053c7
mov ecx, ebx
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x40537b
mov esi, dword [ebp - 0x47c]
sub ecx, edx
sar ecx, 1
push ebx
lea eax, [ecx - 2]
mov dword [ebp - 0x488], eax
mov dword [esi], eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41936d
test al, 0x10
jne 0x419385
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b30
leave
ret 4
xor eax, eax
jmp 0x4053b6
int3
invalid

Function at 0x4053cb
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], eax
mov esi, dword [esi]
neg esi
sbb esi, esi
and dword [edi], 0
add esi, 3
push esi
push ebx
push eax
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
test eax, eax
je 0x41961e
xor eax, eax
inc eax
mov dword [edi], eax
pop edi
pop esi
pop ebx
leave
ret 8
lea esp, [esp + ecx*8 + 0x28]
pop edi
dec eax
mov dword [ebp - 0x50], eax
call 0x41962c
mov dword [esp + 4], 0x23
add dword [esp], 0xd
retf
Function at 0x407f47
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
mov byte [ebp - 0x1c], 1
xor ebx, ebx
mov dword [ebp - 0x18], edi
push edi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x20], ebx
push ebx
push eax
mov si, cx
call fcn.00417fbd
xor eax, eax
lea ecx, [ebp - 0x228]
add esp, 0xc
cmp byte [ebp - 0x1c], al
sete al
dec eax
and eax, 0x7ee3
add eax, edi
push eax
call fcn.0040e3f0
test eax, eax
js 0x408001
push 0x3a
pop eax
mov word [ebp - 0xe], ax
push 0x5c
pop eax
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0x10], si
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x41b033
cmp eax, 2
je 0x408001
cmp eax, 5
je 0x408001
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x408024
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x230]
push ecx
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
test eax, eax
je 0x41b040
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], ebx
test eax, eax
je 0x408013
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b30
leave
ret
lea eax, [ebp - 0x228]
jmp 0x407fe0
push ebp
sub al, 0x52
and byte [edx - 0x75], dl
inc ebp
sbb al, 0x50
Function at 0x408f21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x40206c
xor ebx, ebx
mov dword [0x4367a8], ebx
mov ecx, dword [edi]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x408f44
movzx eax, word [ecx]
sub esi, edx
sar esi, 1
mov ebx, ecx
mov dword [ebp - 0x10], esi
mov edx, eax
test ax, ax
je 0x408f73
xor edx, edx
mov eax, ecx
mov ebx, ecx
add ecx, 2
cmp word [ecx], dx
jne 0x408f64
movzx edx, word [eax]
push 0x3a
pop eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
cmp dx, ax
je 0x41b7ae
mov ecx, 0x250
call fcn.0040dcd0
test eax, eax
je 0x41b8e6
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
push 0x5c
pop esi
mov dword [ebp - 0xc], esi
movzx eax, word [eax]
cmp ax, si
je 0x4090e9
mov ecx, dword [edi]
mov edx, esi
call fcn.004101f5
mov esi, eax
test esi, esi
je 0x41b871
add esi, 2
xor ebx, ebx
push 0x402434
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4090f0
push 0x402510
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4090f0
cmp dword [0x42e0d8], 4
je 0x4090c4
push dword [edi]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4090b2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x4367a8], eax
cmp ebx, 0xffffffff
jne 0x4090b9
xor ebx, ebx
inc ebx
xor eax, eax
mov esi, eax
mov eax, dword [edi]
mov edx, eax
movzx ecx, word [edx]
test cx, cx
je 0x409055
cmp cx, word [ebp - 0xc]
je 0x409051
cmp cx, word [ebp - 0x14]
je 0x40904c
add edx, 2
inc ebx
jmp 0x409032
cmp ebx, 2
jne 0x409046
mov esi, edx
jmp 0x409046
mov dword [edi + 0xc], esi
test esi, esi
je 0x41b8df
xor eax, eax
cmp word [esi], ax
je 0x41b8d8
lea eax, [esi + 2]
push 0x2a
pop edx
mov ecx, esi
mov dword [edi + 0x10], eax
call fcn.0040a62f
test eax, eax
je 0x4090a2
or dword [edi + 0x1c], 8
mov dword [0x436760], 1
push 0x2e
pop edx
mov ecx, esi
call fcn.0040a62f
mov dword [edi + 0x14], eax
xor eax, eax
pop edi
pop esi
inc eax
pop ebx
leave
ret
push 0x3f
pop edx
mov ecx, esi
call fcn.0040a62f
test eax, eax
je 0x40908d
jmp 0x40907f
xor eax, eax
jmp 0x409019
test bl, 0x10
je 0x409027
jmp 0x4090f0
cmp dword [0x436770], 1
je 0x409000
cmp dword [0x42e0d4], 1
jne 0x409027
mov dword [0x42e0d4], ebx
jmp 0x409000
mov dword [ebp - 8], 0x40206e
mov esi, dword [edi]
mov ecx, esi
push 0x5c
pop eax
mov edx, eax
call fcn.004101f5
test eax, eax
je 0x41b8a7
mov esi, dword [ebp - 0x10]
mov ebx, dword [edi]
add esi, 5
lea ecx, [esi + esi]
call fcn.0040dcd0
test eax, eax
je 0x41b8e6
push ebx
mov edx, esi
mov dword [edi], eax
mov ecx, eax
call fcn.0040f3a0
push dword [ebp - 8]
mov ecx, dword [edi]
mov edx, esi
call fcn.0040fc40
mov eax, dword [edi + 0x18]
mov dword [eax], 0x10
jmp 0x409027
or byte [ebx - 0x74afe3be], cl
dec ebp
or byte [ebx + 0x68428b11], cl
les ecx, [eax]
loop 0x41b8e5
add byte [eax], al
add byte [edx], ch