joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
bswap edx
imul ebx
neg edx
rcl eax, 0xb1
inc eax
bswap edi
not eax
or eax, 0x69
sub esi, 0x1e
not eax
bswap esi
bswap eax
and esi, 0x50
rcl esi, 0xfe
ror esi, 0xc5
neg edx
dec edx
rcl esi, 0xf2
not edx
rcr edi, 0x8e
ror ebx, 0x60
bswap eax
sbb edx, 0xf4
inc esi
sub esi, 0x4e
rcl esi, 0x3a
mov esi, 0x54
not ebx
imul edi
imul edx
not edx
sub esi, 0x68
bswap edi
or edi, 0x29
not eax
dec esi
add edx, 0xc5
bswap esi
bswap esi
inc esi
not esi
ror edx, 0x15
neg eax
neg ebx
neg edi
rcl edi, 0x43
sub eax, 0x14
not eax
neg ebx
neg eax
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0xe1
mov byte [ebp - 0x1e], 0xa9
mov byte [ebp - 0x1d], 0x15
mov byte [ebp - 0x1c], 0x26
mov byte [ebp - 0x1b], 0x3d
mov byte [ebp - 0x1a], 0x17
mov byte [ebp - 0x19], 0x44
mov byte [ebp - 0x18], 0xf1
mov byte [ebp - 0x17], 0x53
mov byte [ebp - 0x16], 0x97
mov byte [ebp - 0x15], 0xb3
mov byte [ebp - 0x14], 9
mov byte [ebp - 0x13], 0xe1
mov byte [ebp - 0x12], 0xa1
mov byte [ebp - 0x11], 0xa
mov byte [ebp - 0x10], 0xb7
mov byte [ebp - 0xf], 0x60
mov byte [ebp - 0xe], 0xe9
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x82
mov byte [ebp - 0xb], 0x4e
mov byte [ebp - 0xa], 0xf1
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x1e
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0xde
mov byte [ebp - 5], 0x18
mov byte [ebp - 4], 0x77
mov byte [ebp - 3], 0xb8
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0x63
mov dword [ebp - 0x24], 0x20
bswap edx
imul ebx
neg edx
rcl eax, 0xb1
inc eax
bswap edi
not eax
or eax, 0x69
sub esi, 0x1e
not eax
bswap esi
bswap eax
and esi, 0x50
rcl esi, 0xfe
ror esi, 0xc5
neg edx
dec edx
rcl esi, 0xf2
not edx
rcr edi, 0x8e
ror ebx, 0x60
bswap eax
sbb edx, 0xf4
inc esi
sub esi, 0x4e
rcl esi, 0x3a
mov esi, 0x54
not ebx
imul edi
imul edx
not edx
sub esi, 0x68
bswap edi
or edi, 0x29
not eax
dec esi
add edx, 0xc5
bswap esi
bswap esi
inc esi
not esi
ror edx, 0x15
neg eax
neg ebx
neg edi
rcl edi, 0x43
sub eax, 0x14
not eax
neg ebx
neg eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00418a00
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x63f81607
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x234
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0x18
mov eax, dword [ebp - 0x34]
mov eax, dword fs:[eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x236]
mov ecx, 0x1fe
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
jmp 0x63f81711
sub dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x2c
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.63f814b0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
jmp 0x63f816dc
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp], eax
call fcn.63f815eb
movsx dx, al
mov eax, dword [ebp - 0x10]
mov word [ebp + eax*2 - 0x236], dx
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jle 0x63f816b0
lea eax, [ebp - 0x236]
mov dword [esp], eax
call fcn.63f8151c
cmp dword [ebp + 8], eax
jne 0x63f81705
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x63f81720
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jne 0x63f81683
mov eax, dword [ebp - 0x14]
add esp, 0x234
pop ebx
pop edi
pop ebp
ret
Function at 0x63f8172a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
jmp 0x63f817d9
mov eax, dword [ebp - 8]
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [esp], eax
call fcn.63f814db
cmp dword [ebp + 0xc], eax
jne 0x63f817d5
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x20]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x18]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x63f817e4
add dword [ebp - 8], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 8], eax
jb 0x63f8178e
cmp dword [ebp - 4], 0
je 0x63f817f4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, edx
jmp 0x63f817f9
mov eax, 0
leave
ret

Function at 0x63fe0450
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.63fe0fa0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.63fe0fa0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x63fe04b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x640ca070]
test esi, esi
jle 0x63fe05d0
mov eax, dword [0x640ca074]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x63fe04e4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x63fe0567
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x63fe04d0
mov dword [esp], ebx
call fcn.63fe0ca0
mov edi, eax
test eax, eax
je 0x63fe05f7
mov eax, dword [0x640ca074]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.63fe0de0
mov edx, dword [0x640ca074]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x63fe05d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x63fe0560
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x63fe0570
add dword [0x640ca070], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x640ca074]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x63fe0560
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.63fe0450
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x63fe04ee
mov eax, dword [0x640ca074]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.63fe0450
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.63fe0450
lea esi, [esi]
nop

Function at 0x63fe0910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x640ca080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x640ca078]
sub esp, 4
test ebx, ebx
je 0x63fe0965
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x63fe095e
test esi, esi
je 0x63fe095e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x63fe0940
mov dword [esp], 0x640ca080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x63fe0ca0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x63f80000], 0x5a4d
jne 0x63fe0cc5
mov ecx, dword [0x63f8003c]
cmp dword [ecx + 0x63f80000], 0x4550
lea edx, [ecx + 0x63f80000]
je 0x63fe0cd0
ret
cmp word [ecx + 0x63f80018], 0x10b
jne 0x63fe0cc5
push esi
movzx eax, word [ecx + 0x63f80014]
push ebx
movzx esi, word [ecx + 0x63f80006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x63f80000
test si, si
je 0x63fe0d18
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x63fe0d0e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x63fe0d1a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x63fe0d00
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401a24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov byte [ebp - 1], 0
mov dword [0x4690fa], ebx
test ecx, ecx
je 0x401a44
mov dword [0x469103], edx
mov dword [0x469109], eax
mov dword [0x469070], ecx
mov dword [0x46903a], 0x16f12
xchg dword [0x4690a8], edx
and dword [0x4690d6], edi
mov dword [0x46906a], esi
mov byte [0x469090], 0x64
mov dword [0x469073], edx
mov dword [0x4690a5], edx
cmp dword [ebp - 0x18], 0
jne 0x401a8c
mov word [0x4690e0], 0x4a07
xchg dword [esp - 0x24], ecx
mov eax, 0x197
mov dword [0x469041], edx
mov dword [0x469102], edi
mov dword [0x4690bd], ebx
mov byte [0x469070], 0x2e
xchg dword [0x4690ff], ecx
mov eax, 0x401c10
mov dword [0x46c060], eax
mov eax, dword [0x46c060]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [0x4690fa], ebx
test ecx, ecx
je 0x401adb
mov dword [0x469103], edx
mov dword [0x469109], eax
mov dword [0x469070], ecx
mov dword [0x46903a], 0x16f12
xchg dword [0x4690a8], edx
and dword [0x4690d6], edi
mov dword [0x46906a], esi
mov byte [0x469090], 0x64
mov dword [0x469073], edx
call fcn.00464dc0
mov byte [ebp - 2], 0
mov eax, 0x401c10
mov dword [0x46c060], eax
mov eax, dword [0x46c060]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov edx, 0x16c
mov dword [0x46909e], ecx
mov word [0x46908c], 0x5ff4
push esi
push ebx
call fcn.00402374
inc byte [ebp - 2]
cmp byte [ebp - 2], 2
jne 0x401b13
push edi
push eax
call fcn.00465108
mov eax, dword [0x46c028]
call fcn.00401844
test al, al
je 0x401bc9
add dword [0x46c034], 4
lea edx, [0x4690e9]
mov dword [edx], 0xeb
mov esi, dword [esp + 4]
mov dword [0x469093], edx
mov ecx, dword [0x46906a]
mov edi, edx
add dword [0x46c028], 4
mov byte [ebp - 1], 1
mov dword [0x4690b3], ecx
mov byte [0x46902d], 0x39
cmp byte [0x469028], 9
je 0x401bb9
mov dword [0x46901b], ebx
mov dword [0x469028], eax
xchg dword [0x46908d], ecx
mov dword [0x469054], 0x10292
mov dword [0x469102], eax
mov dword [0x4690a5], edx
cmp dword [ebp - 0x18], 0
jne 0x401be2
mov word [0x4690e0], 0x4a07
xchg dword [esp - 0x24], ecx
mov eax, 0x197
mov dword [0x469041], edx
mov dword [0x469102], edi
mov dword [0x4690bd], ebx
mov byte [0x469070], 0x2e
xchg dword [0x4690ff], ecx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x464b84
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [0x46901e], edx
mov dword [0x46903c], edi
mov dword [0x4690d9], ebx
cmp esi, dword [ebp + 4]
jle 0x464bb6
lea edi, [0x469025]
add dword [edi + 0x28], ecx
xchg dword [0x469040], edx
mov dword [0x469056], esi
mov ecx, dword [esp + 0x24]
mov dword [0x46910a], edi
mov dword [0x46909e], ecx
mov dword [0x4690e0], ebx
xchg dword [0x469067], esi
mov eax, 0x464d84
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileAttributesW
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCaretPos
add dword [0x4690fc], esi
add edi, 0xde
sub dword [0x469045], ecx
mov dword [0x469055], edx
mov dword [0x4690ce], eax
mov dword [0x4690c5], edi
mov dword [0x469104], ebx
mov edx, dword [esp + 0xc]
mov dword [0x469052], ecx
add ebx, dword [0x4690ba]
mov eax, 0x464d9c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetFileAttributesW
test eax, eax
jne 0x464c4d
mov dword [0x46908c], esi
mov dword [0x469074], edi
xchg dword [0x469010], edx
lea edx, [0x4690e9]
mov dword [edx], 0xeb
mov esi, dword [esp + 4]
mov dword [0x469093], edx
mov ecx, dword [0x46906a]
mov edi, edx
mov byte [0x469103], 0xf9
xchg dword [0x469060], esi
mov dword [0x469019], eax
inc byte [0x4690ce]
cmp word [ebp + 0x1c], 0
jle 0x464c93
xchg dword [0x46903e], ebx
jmp 0x464cb6
mov byte [0x4690a8], 0x37
mov dword [0x46907e], edi
add dword [0x469017], ecx
mov dword [0x469063], eax
mov dword [0x46902a], 0x17b1f
call sub.user32.dll_GetDesktopWindow
mov eax, 0x464da8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
test eax, eax
je 0x464ce4
mov dword [0x46909d], ecx
mov dword [0x469086], 0x146bb
mov dword [esp - 0x12], ecx
xchg dword [0x4690f3], ebx
test ecx, ecx
je 0x464d08
mov dword [0x4690fd], ebx
dec edi
mov edi, esi
mov dword [0x469036], edx
mov word [0x4690c6], 0x142c
jmp 0x464d2f
lea ecx, [0x4690c7]
add dword [ecx + 0x1c], 0xe4
lea ebx, [0x46903a]
add dword [ebx + 0x24], 0xa0
mov byte [0x46901b], 0x33
inc dword [0x4690d9]
mov word [0x46909d], 0x1676
xchg dword [0x46908e], edi
mov eax, 0x464db4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
and dword [0x46906e], edi
mov dword [0x469058], ebx
add dword [0x46907d], eax
mov dword [esp - 0xc], ebx
mov dword [esp - 4], edx
mov dword [0x46901e], esi
mov word [0x469065], 0x3f1a
mov dword [0x469093], ebx
mov esp, ebp
pop ebp
ret
Function at 0x464dc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, 0x464e50
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov byte [0x4690ec], 0xa0
mov dword [0x4690b2], 0x10bdd
mov esi, 0x121
call fcn.00402374
mov byte [0x4690ec], 0xa0
mov dword [0x4690b2], 0x10bdd
mov esi, 0x121
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 0x464e50
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [esp - 0xc], ebx
mov dword [esp - 4], edx
mov dword [0x46901e], esi
mov word [0x469065], 0x3f1a
mov dword [0x469093], ebx
push edx
call fcn.00402374
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jne 0x464e0d
mov esp, ebp
pop ebp
ret

Function at 0x464e7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [0x4690fa], ebx
test ecx, ecx
je 0x464e98
mov dword [0x469103], edx
mov dword [0x469109], eax
mov dword [0x469070], ecx
mov dword [0x46903a], 0x16f12
xchg dword [0x4690a8], edx
and dword [0x4690d6], edi
mov dword [0x46906a], esi
mov byte [0x469090], 0x64
mov dword [0x469073], edx
mov dword [0x4690a5], edx
cmp dword [ebp - 0x18], 0
jne 0x464ee0
mov word [0x4690e0], 0x4a07
xchg dword [esp - 0x24], ecx
mov eax, 0x197
mov dword [0x469041], edx
mov dword [0x469102], edi
mov dword [0x4690bd], ebx
mov byte [0x469070], 0x2e
xchg dword [0x4690ff], ecx
mov eax, 0x464fd0
mov dword [0x46c060], eax
mov eax, dword [0x46c060]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [0x4690fa], ebx
test ecx, ecx
je 0x464f2f
mov dword [0x469103], edx
mov dword [0x469109], eax
mov dword [0x469070], ecx
mov dword [0x46903a], 0x16f12
outsd dx, dword [esi]
add dword [eax], eax

Function at 0x465108
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov esi, dword [esp + 0xc]
mov dword [0x46905b], edi
mov dword [0x469104], ebx
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 0x4651a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [esp - 0xc], ebx
mov dword [esp - 4], edx
mov dword [0x46901e], esi
mov word [0x469065], 0x3f1a
mov dword [0x469093], ebx
call fcn.00464dc0
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jne 0x465123
mov eax, 0x4651a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [esp - 0xc], ebx
mov dword [esp - 4], edx
mov dword [0x46901e], esi
mov word [0x469065], 0x3f1a
mov dword [0x469093], ebx
push 1
push edx
call fcn.00464dc0
push edx
push eax
push edx
call fcn.004675cc
mov esp, ebp
pop ebp
ret
Function at 0x4675cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov edx, 0x16c
mov dword [0x46909e], ecx
mov word [0x46908c], 0x5ff4
mov eax, 0x4676a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
mov dword [0x4690fa], ebx
test ecx, ecx
je 0x46760d
mov dword [0x469103], edx
mov dword [0x469109], eax
mov dword [0x469070], ecx
mov dword [0x46903a], 0x16f12
xchg dword [0x4690a8], edx
and dword [0x4690d6], edi
mov dword [0x46906a], esi
mov byte [0x469090], 0x64
mov dword [0x469073], edx
call fcn.00464dc0
mov eax, 0x4676a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDriveTypeW_1
lea edx, [0x4690e9]
mov dword [edx], 0xeb
mov esi, dword [esp + 4]
mov dword [0x469093], edx
mov ecx, dword [0x46906a]
mov edi, edx
call fcn.00464dc0
lea edx, [0x4690e9]
mov dword [edx], 0xeb
mov esi, dword [esp + 4]
mov dword [0x469093], edx
mov ecx, dword [0x46906a]
mov edi, edx
mov dword [ebp - 4], 0x3b730
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x43b660
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
mov eax, 0xced495c4
mov ebx, 0x96d852c4
call fcn.0043b6ae
dec ebx
dec eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp]
add esp, 4
xor dword [edi], esi
inc ebx
add eax, 0x980f8e53
add edi, 1
mov eax, 0x1dd529b4
cmp edi, ecx
jne fcn.0043b660
dec ebx
sub eax, 1
ret

Function at 0x145d3ac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x145d3b6
pushal
call 0x145d3bc
pop ebp
sub ebp, 0x10
sub ebp, 0x105d3ac
jmp 0x145d3d2
mov eax, 0x105d3ac
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b1
mov edx, 0x898de44c
xor byte [eax], dl
inc eax
dec ecx
jne 0x145d3e9
jmp 0x145d3fc
mov dword [ecx + 0x4c70c5c7], 0x8dcd4c4c
mov ah, 0x4c
dec esp
dec esp
dec edi
xor esp, 0x4c4c4c4b
mul byte [esp + ecx*2 + 0x4c]
dec esp
mov ebx, 0xc7844fae
int 0x40
dec esp
dec esp
dec esp
dec edi
mov dword [ecx + eax*8], ebx
sub byte [eax - 0x50], ch
lds ecx, [eax + 0x68]
and al, 8
add ch, byte [esi + 0x4c]
and al, 0x24
leave
scasd eax, dword es:[edi]
dec esp
dec ebp
pushal
push 0xdd9e7024
outsb dx, byte [esi]
movsb byte es:[edi], byte [esi]
dec ecx
dec esp
dec esp
dec esp
movsd dword es:[edi], dword [esi]
bound ecx, qword [esp + ecx*2 + 0x4c]
shr dword [eax], 0x68
mov al, 0xc5
pushal
push 0xc9c71118
inc esp
dec esp
dec esp
dec esp
invalid