joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ce0
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
mov eax, dword [0x100aa88]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x1003d33
call esi
test eax, eax
mov dword [esp + 0x10], eax
je 0x1003d17
mov eax, 1
jmp 0x1003d2a
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x1003ed2
mov eax, 2
mov ebx, dword [esp + 0x10]
mov dword [0x100aa88], eax
cmp eax, 1
jne 0x1003dbc
test ebx, ebx
jne 0x1003d56
cmp eax, 2
jne 0x1003eb6
test ebx, ebx
jne 0x1003ddf
call edi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1003ddb
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x1003e27
mov ecx, dword [0x100aab0]
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1003ed2
mov ebp, dword [esp + 0x14]
mov edi, esi
add ebp, eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esi + ecx + 1]
lea esi, [esi + ecx + 1]
test al, al
jne 0x1003de7
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
lea edx, [eax + eax]
push edx
call fcn.01003480
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1003e53
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
les ecx, [eax]
mov eax, dword [esp + 0x10]
mov esi, ebp
cmp byte [eax], 0
je 0x1003ea4

Function at 0x1003ee0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x100aa90]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x1003f16
call edi
test eax, eax
je 0x1003f06
mov eax, 1
jmp 0x1003f11
call esi
test eax, eax
je 0x1003f81
mov eax, 2
mov dword [0x100aa90], eax
cmp eax, 1
jne 0x1003f22
call edi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x1003f8a
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
mov edi, eax
mov eax, dword [0x100aab0]
push 0
push 0xffffffffffffffff
push edi
push 1
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x1003f4d
invalid
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esi + esi]
push ecx
call fcn.01003480
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1003f64
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [0x100aab0]
push esi
push ebx
push 0xffffffffffffffff
push edi
push 1
add dword [edx - 1], edx
aad 0x85
invalid
jne 0x1003f88
push ebx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1004210
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x10083b0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x1004234
add eax, 8
inc ebp
cmp eax, 0x1008440
jb 0x1004225
cmp ecx, dword [ebp*8 + 0x10083b0]
jne 0x10043db
invalid
mov eax, dword [0x100a828]
cmp eax, 1
je 0x100439d
test eax, eax
jne 0x1004260
cmp dword [0x1008084], 1
je 0x100439d
cmp ecx, 0xfc
je 0x10043db
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100429b
mov ecx, 5
mov esi, 0x1001c94
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x10042e4
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x1001c90
add ebx, ecx
push ebx
call fcn.01005ca0
add esp, 0xc
mov ecx, 6
mov esi, 0x1001c74
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1001c70
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1001c48
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x10083b4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.01005c10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
mov eax, dword [0x100ab00]
test eax, eax
je 0x10043ae
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x10043b8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x10083b4]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
les ebp, [eax - 0x3cffffff]
Function at 0x1005a90
Capabilities:
Allocate or change rwx memory
Hash data using murmur3

Disassembly:
out 0x84, al
add byte [ecx], al
dec edx
inc edx
inc ebp
add dh, bh
ret

Function at 0x1005b60
Capabilities:
Hash data using murmur3

Disassembly:
sub ebx, esi
call fcn.01005110
add esi, eax
call fcn.01001daf
xor dword [0x100bca6], esi
mov dword [0x100bc6c], 0xb37f774
push 0x868
dec ecx
xor edx, dword [0x100937a]
sub esi, eax
call fcn.010067ee
sub ecx, dword [0x1009eee]
xor esi, dword [0x10099ff]
xor edi, edx
xor ecx, ebx
call fcn.01003f47
sub dword [0x100bde0], 0x30bdf30
xor ebx, ebx
xor edi, dword [0x1009f04]
neg edx
sub ecx, dword [0x100a7d0]
add eax, 0x16be6f2c
sub ecx, dword [0x1009d2a]
sub esi, edx
xor ecx, dword [0x100a1de]
sub edi, esp
xor dword [0x100bd4e], ecx
ror eax, 0xc
add ebx, eax
mov dword [0x100bc48], ecx
invalid
or eax, 0x100bd48
in eax, dx
xchg esi, eax
invalid

Function at 0x1005c10
Capabilities:
Hash data using murmur3

Disassembly:
or eax, 0x100a1de
jns 0x1005bcf
add byte [ecx], al
xor dword [0x100bd29], edi
add dword [0x100bd55], ebx
xor edi, eax
xor dword [0x100bd7d], edi
add dword [0x100bd2e], edi
sub dword [0x100bc4a], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, eax
sub esi, 0x3101baea
neg eax
inc edi
mov dword [0x100be08], ecx
rol eax, 0x11
add esi, 0x7233c44
xor esi, eax
mov dword [0x100bc7f], ecx
call fcn.01003ebd
sub esi, eax
dec eax
inc eax
add esi, eax
xor dword [0x100bdc4], edi
xor esi, eax
sub esi, 0x7233c44
ror eax, 0x11
mov dword [0x100bd76], edi
dec edi
neg eax
add esi, 0x3101baea
sub esi, eax
call 0x1005c8e
xor eax, 0x7b85434
mov dword [0x100bdbb], 0xc1e67a7
inc esi
xchg eax, eax
sal byte [ebx], 0xd8

Function at 0x1005ca0
Capabilities:
Hash data using murmur3

Disassembly:
sal byte [ebx], 0xd8
add esi, eax
inc eax
xchg eax, esi
sub edi, dword [0x100bf0b]
dec esi
mov dword [0x100bcc8], ecx
ror esi, 0x17
mov dword [0x100bcf3], ecx
sub edx, dword [0x100be2d]
add ebx, dword [0x100bf04]
not eax
xor ecx, esp
rol esi, 0x1b
ror esi, 0x1b
xor ecx, esp
not eax
or dword [0x100bd88], ecx
rol esi, 0x17
mov dword [0x100bdd2], ebx
inc esi
xchg eax, esi
dec eax
sub esi, eax
xor ebx, eax
xchg eax, eax
dec esi
sub dword [0x100bc5c], 0x4896f3a
xor eax, 0x7b85434
pop esi
neg eax
sub edx, esi
add edi, dword [0x100be80]
not eax
xchg eax, esi
sub ecx, dword [0x100bf6e]
call fcn.0100439c
ror ebx, 5
mov dword [0x100bdd6], 0x7bf414
xor edi, eax
call fcn.010067ee
xor eax, 0xa2d8c3c
xor eax, 0xa2d8c3c
call fcn.01004f58
xor edi, eax
rol ebx, 5
xchg eax, esi
not eax
add edx, esi
neg eax
add esi, 0x2f6
neg edi
xor edi, 0x32489d18
not esi
xchg edx, esi
add ecx, dword [0x100be18]
ror esi, 0x17
add ecx, dword [0x100bf7a]
ror eax, 5
xor ecx, dword [0x100bf54]
neg esi
xor ecx, eax
sub ecx, dword [0x100beba]
xor edi, dword [0x100beb8]
xor ecx, eax
neg esi
rol eax, 5
rol esi, 0x17
xchg edx, esi
not esi
xor edi, 0x32489d18
neg edi
mov edi, eax
Function at 0x1005da0
Capabilities:
Hash data using murmur3

Disassembly:
xor dword [0x100bdda], edx
inc eax
add edi, esp
xor esi, 0x1d559c0
add ecx, eax
rol eax, 0xd
xchg esi, eax
not edx
and dword [0x100bd1e], 0x2756a20e
ror esi, 0x14
add eax, 0x1a134f56
inc ecx
sub esi, dword [0x100bf1d]
xchg eax, esi
xor ecx, dword [0x100be3a]
add edi, dword [0x100bedb]
sub dword [0x100bc48], ebx
rol ebx, 6
add ebx, edx
dec esi
rol edx, 0xf
neg eax
neg eax
ror edx, 0xf
inc esi
sub ebx, edx
ror ebx, 6
or dword [0x100bd75], ecx
xchg eax, esi
dec ecx
sub eax, 0x1a134f56
rol esi, 0x14
mov dword [0x100bda6], 0x16d6b9c4
not edx
xchg esi, eax
ror eax, 0xd
sub ecx, eax
xor esi, 0x1d559c0
sub edi, esp
dec eax
mov dword [0x100bdd7], edx
mov ecx, 0x868
call fcn.01002eb1
xor esi, 0xe411535
ror edx, 0x17
xor esi, dword [0x100bec6]
xor esi, eax
inc esi
or dword [0x100bc80], 0xc200030
dec edx
xor edx, dword [0x100bf54]
add edi, esp
mov dword [0x100bcc3], ecx
sub eax, esi
sub ecx, dword [0x100bed2]
ror esi, 0xc
xor esi, eax
sub ecx, dword [0x100bec5]
mov dword [0x100bdaf], 0x4d42044
not esi
xor edi, esi
xor edi, esi
not esi
mov dword [0x100bc74], 0x2b00ebf
xor esi, eax
rol esi, 0xc
add eax, esi
mov dword [0x100bd7d], esi
sub edi, esp
inc edx
dec esi
xor esi, eax
rol edx, 0x17
xor esi, 0xe411535
rep movsb byte es:[edi], byte [esi]
sub esi, edx
xor esi, eax
mov dword [0x100bdf6], ecx
neg edx
mov dword [0x100bd48], edx
inc esi
xor edi, eax
call fcn.010049fe
xor ecx, dword [0x100bed6]
mov dword [0x100bd9a], ecx
add esi, dword [0x100bfa9]
xor esi, eax
xor esi, dword [0x100bec6]
sub ecx, dword [0x100bfc6]
dec eax
rol eax, 0x12
Function at 0x407020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push ebx
sub esp, 0x124
mov ebx, dword [esp + 0x130]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x407227
cmp byte [ebx], 0
je 0x4071f3
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
cmp eax, 0xffffffff
je 0x407218
test al, 0x10
je 0x4071f3
mov dword [esp + 4], ebx
mov eax, 0x104
lea esi, [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll__fullpath
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ecx]
add ecx, 4
lea edx, [ebx - 0x1010101]
not ebx
and edx, ebx
mov eax, edx
and eax, 0x80808080
je 0x407090
and edx, 0x8080
jne 0x4070b6
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
lea edx, [ecx + 0x233]
mov dword [esp], edx
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x407209
mov dword [esp + 4], esi
lea esi, [eax + 0x22c]
mov dword [esp], esi
call sub.ntdll.dll_strcpy
cmp byte [ebx + 0x22c], 0
je 0x407190
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x407100
and edx, 0x8080
jne 0x407126
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
cmp byte [ebx + ecx + 0x22b], 0x2f
je 0x407190
mov ecx, esi
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x407140
and edx, 0x8080
jne 0x407166
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
cmp byte [ebx + ecx + 0x22b], 0x5c
je 0x407190
mov dword [esp], esi
call sub.ntdll.dll_strlen
mov word [eax + esi], 0x5c
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
call sub.ntdll.dll_strlen
mov word [eax + esi], 0x2a
mov eax, 0xffffffff
xor edx, edx
mov dword [ebx + 0x224], eax
xor ecx, ecx
xor esi, esi
mov dword [ebx + 0x228], edx
xor eax, eax
mov edx, 0x104
mov dword [ebx + 0x118], ecx
xor ecx, ecx
mov word [ebx + 0x11c], si
lea esi, [ebx + 0x120]
mov word [ebx + 0x11e], ax
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.ntdll.dll_memset
add esp, 0x124
mov eax, ebx
pop ebx
pop esi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
xor eax, eax
add esp, 0x124
pop ebx
pop esi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x407200
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0x407200
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x407200

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
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
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

Function at 0x43d0d8
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43ce2e
and edi, edi
mov esi, 0x44248ff9
call fcn.0043d102
or edi, edi
sub edi, 0xb4767523
xor dword [edx], ebx
dec edi
inc edx
sub esi, edi
push 0x7ff56309
pop esi
cmp edx, eax
jne fcn.0043d0d8
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1f634b15
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x1fe37314
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x5def10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5f39fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x5df002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.005e2dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x5df002
lea edx, [esp + 0x14]
push edx
push 0x5f9140
call fcn.005da6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.005e320b
push 0x10
call fcn.005e31d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x5defc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005cf1c0
jmp 0x5defc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.005deb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x5deff0
mov ecx, edi
call fcn.005cf2c0
push edi
call fcn.005e31c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5df021
inc ebx
cmp ebx, 0x20
jb 0x5def3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5e21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005e2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005e2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005e2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005e2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5e2230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5e22d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x5e22ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.005e2230
mov esi, eax
add esp, 8
test esi, esi
jne 0x5e22ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x5e227e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x5e22ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x5e2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5e2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5f487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5e2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5e2c52
xor eax, eax
pop esi
leave
ret 4