joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eaf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
mov dword [ebp - 4], eax
add eax, 0xb0
mov dword [ebp - 8], eax
mov esi, eax
push edi
mov edi, edx
test ebx, ebx
je 0x41eb45
dec ebx
shr ebx, 4
inc ebx
mov eax, edi
sub esi, edi
mov edx, 0x10
nop
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x41eb20
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.0041e780
mov esi, edi
add edi, 0x10
sub ebx, 1
jne 0x41eb16
mov eax, dword [ebp - 8]
movups xmm0, xmmword [esi]
pop edi
pop esi
movups xmmword [eax], xmm0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41eb60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, edx
test ebx, ebx
je 0x41ebaf
push edi
dec ebx
lea edi, [ecx + 0xb0]
shr ebx, 4
sub edi, esi
inc ebx
movups xmm0, xmmword [esi]
mov edx, ecx
mov ecx, esi
call fcn.0041e930
mov ecx, 0x10
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x41eb91
mov ecx, dword [ebp - 4]
sub edi, 0x10
movups xmmword [ecx + 0xb0], xmm0
sub ebx, 1
jne 0x41eb80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ee80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edx
mov byte [ebp - 1], 0
push ebx
mov ebx, ecx
push esi
push edi
test eax, eax
je 0x41eea0
cmp eax, 0x100
jbe 0x41eeb4
push 0x54
push 0x4bf998
push str.key_len___0__key_len___256
call fcn.0048271f
add esp, 0xc
mov ecx, 0x40
mov dword [ebx + 0x200], 1
mov esi, 0x4bf9f0
mov dword [ebx + 0x204], 1
mov edi, ebx
mov word [ebx + 0x208], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
xor esi, esi
xor edx, edx
mov cl, byte [esi + ebx]
mov eax, esi
div edi
mov eax, dword [ebp - 8]
movzx eax, byte [edx + eax]
mov dl, byte [ebp - 1]
add al, cl
add dl, al
mov byte [ebp - 1], dl
movzx edx, dl
movzx eax, byte [edx + ebx]
mov byte [esi + ebx], al
inc esi
mov byte [edx + ebx], cl
cmp esi, 0x100
jb 0x41eee4
lea edi, [ebx + 0x100]
mov esi, ebx
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ef30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x200]
sub edx, eax
mov bh, byte [edi + 0x208]
add ecx, eax
sub esi, eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], esi
cmp eax, ecx
jae 0x41ef95
sub edx, esi
mov dword [ebp + 0xc], edx
movzx esi, al
mov bl, byte [esi + edi]
add bh, bl
movzx edx, bh
movzx ecx, byte [edx + edi]
mov byte [esi + edi], cl
mov byte [edx + edi], bl
movzx ecx, byte [esi + edi]
mov edx, dword [ebp + 8]
add cl, bl
mov esi, dword [ebp + 0xc]
add edx, eax
movzx ecx, cl
inc eax
movzx ecx, byte [ecx + edi]
xor cl, byte [esi + edx]
mov byte [edx], cl
cmp eax, dword [ebp - 4]
jb 0x41ef60
mov byte [edi + 0x208], bh
mov dword [edi + 0x200], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41efb0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x204]
lea esi, [edi + 0x100]
sub dword [ebp + 8], eax
add ecx, eax
mov bh, byte [edi + 0x209]
sub edx, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
cmp eax, ecx
jae 0x41f02a
sub edx, dword [ebp + 8]
mov edi, edx
nop dword [eax]
mov edx, dword [ebp - 4]
movzx ecx, al
add esi, ecx
mov bl, byte [esi]
add bh, bl
movzx ecx, bh
add edx, ecx
movzx ecx, byte [edx]
mov byte [esi], cl
mov byte [edx], bl
movzx ecx, byte [esi]
mov edx, dword [ebp + 8]
add cl, bl
mov esi, dword [ebp - 4]
add edx, eax
movzx ecx, cl
inc eax
movzx ecx, byte [ecx + esi]
xor cl, byte [edi + edx]
mov byte [edx], cl
cmp eax, dword [ebp - 8]
jb 0x41eff0
mov edi, dword [ebp - 0xc]
mov byte [edi + 0x209], bh
mov dword [edi + 0x204], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f040
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x134], 0
mov ebx, ecx
mov dword [ebp - 0x128], esi
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x12c], edi
jb 0x41f089
mov eax, dword [esi]
jmp 0x41f08b
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
push eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00409600
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x124], ecx
test ecx, ecx
jne 0x41f0e9
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00409080
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x41f0d6
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00409a60
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 0x10
jb 0x41f0f7
mov edi, dword [edi]
mov dword [ebp - 0x12c], edi
xor bh, bh
xor eax, eax
nop dword [eax + eax]
mov byte [ebp + eax - 0x120], al
inc eax
cmp eax, 0x100
jb 0x41f100
mov esi, dword [ebp - 0x12c]
xor edi, edi
mov word [ebp - 0x20], 0
nop dword [eax]
mov eax, edi
mov bl, byte [ebp + edi - 0x120]
xor edx, edx
div ecx
lea ecx, [ebp - 0x120]
movzx eax, byte [edx + esi]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + edi - 0x120], al
inc edi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x124]
cmp edi, 0x100
jb 0x41f120
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
cmovae eax, dword [ebp - 0x1c]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x128], eax
jb 0x41f183
mov esi, dword [esi]
xor edi, edi
test ecx, ecx
je 0x41f1fa
mov bl, byte [ebp - 0x1f]
mov dl, byte [ebp - 0x20]
nop
inc dl
mov byte [ebp - 0x20], dl
movzx eax, dl
lea edx, [ebp - 0x120]
add edx, eax
add bl, byte [edx]
mov byte [ebp - 0x1f], bl
mov cl, byte [edx]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x120]
mov byte [edx], al
movzx eax, byte [ebp - 0x1f]
mov byte [ebp + eax - 0x120], cl
mov bl, byte [ebp - 0x1f]
mov dl, byte [ebp - 0x20]
movzx ecx, bl
movzx eax, dl
movzx ecx, byte [ebp + ecx - 0x120]
add cl, byte [ebp + eax - 0x120]
movzx eax, cl
mov ecx, dword [ebp - 0x128]
movzx eax, byte [ebp + eax - 0x120]
xor al, byte [esi + edi]
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x124]
jb 0x41f190
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00409080
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x41f220
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409a60
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x420350
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4ce800], 0
je 0x42039c
push dword [ebp + 8]
mov byte [0x4ce801], 1
push dword [0x4ce804]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [0x4ce804]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x4ce808
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x4ce804], 0
mov byte [0x4ce800], 0
pop ebp
ret
Function at 0x421700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x10c], esi
call fcn.004797f0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x42176c
xor ecx, ecx
jmp 0x42177e
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421775
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00409600
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x42ecb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x100
lea eax, [ebp - 0x104]
mov dword [ebp - 0x514], 0
push 0
push eax
mov esi, ecx
or edi, 0xffffffff
call fcn.004797f0
push esi
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0040c2f0
add esp, 0x1c
lea eax, [ebp - 0x514]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42edea
push 0x400
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.004797f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x50c]
add esp, 0xc
mov dword [ebp - 0x50c], 0x400
push eax
lea eax, [ebp - 0x504]
push eax
push 0
push 0
push str.PnpInstanceID
push dword [ebp - 0x514]
call esi
test eax, eax
jne 0x42edde
push 3
push 0x4c1268
lea eax, [ebp - 0x504]
push eax
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualA]
test eax, eax
je 0x42edde
lea eax, [ebp - 0x510]
mov dword [ebp - 0x508], 0
push eax
lea eax, [ebp - 0x508]
mov dword [ebp - 0x510], 4
push eax
push 0
push 0
push str.MediaSubType
push dword [ebp - 0x514]
call esi
cmp eax, 2
je 0x42eddc
test eax, eax
jne 0x42edde
mov eax, dword [ebp - 0x508]
cmp eax, 1
je 0x42eddc
cmp eax, 2
jne 0x42edde
lea edi, [eax - 1]
jmp 0x42edde
xor edi, edi
push dword [ebp - 0x514]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x42ee00
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a155b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], esi
push 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], 0
push 0
push eax
call fcn.004797f0
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x78]
add esp, 0xc
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x8b], 0
mov byte [ebp - 0x87], 0
mov dword [ebp - 0x78], 0
push eax
push 0
call ebx
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
push dword [ebp - 0x78]
call fcn.004297d0
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x42ef1f
lea eax, [ebp - 0x78]
push eax
push edi
call ebx
test eax, eax
jne 0x42ef1f
mov ebx, dword [ebp - 0x8c]
mov esi, edi
nop dword [eax]
lea ecx, [esi + 8]
call fcn.0042ecb0
mov ecx, eax
cmp ecx, 1
je 0x42eef3
test ecx, ecx
jne 0x42ef11
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x88], ax
test ecx, ecx
je 0x42ef17
mov esi, dword [esi]
test esi, esi
jne 0x42eee0
mov esi, dword [ebp - 0x90]
jmp 0x42ef25
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x88]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x8c]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.0040c2f0
mov dword [esi + 0x14], 0xf
add esp, 0x24
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x74], 0
jne 0x42ef86
xor ecx, ecx
jmp 0x42ef99
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ef90
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00409600
test edi, edi
je 0x42eff0
mov eax, dword [ebp - 0x7c]
sub eax, edi
cmp eax, 0x1000
jb 0x42efe7
test byte [ebp - 0x84], 0x1f
je 0x42efc3
call fcn.0047c212
mov eax, dword [edi - 4]
cmp eax, edi
jb 0x42efcf
call fcn.0047c212
sub edi, eax
cmp edi, 4
jae 0x42efdb
call fcn.0047c212
cmp edi, 0x23
jbe 0x42efe5
call fcn.0047c212
mov edi, eax
push edi
call fcn.00442364
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x42f010
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 1]
push edi
mov dword [ebp - 0x24], ebx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x128], edx
inc edi
cmp edi, 0x10
jb 0x42f030
cmp edi, 0x40
jae 0x42f0af
mov ebx, 0x40
lea eax, [ebp + edi*4 - 0x130]
sub ebx, edi
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x42f072
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x4bfb30]
add esi, dword [ebp + edx - 0x128]
mov edx, edi
add esi, dword [ebp - 0x1c]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
cmp edx, 0x100
jb 0x42f0f0
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
add dword [ebx + 0x54], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x6c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1c0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x210]
push 0x104
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42f203
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push 0x4c129c
push eax
call fcn.00488b09
add esp, 8
test eax, eax
je 0x42f221
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42f1f2
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00442377
mov esp, ebp
pop ebp
ret

Function at 0x42f270
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x24], edi
mov ebx, ecx
push 0x100
call fcn.0044295a
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x80
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x44
push eax
push edi
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x42f34c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42f34a
cmp dword [ebp - 0x14], 0x44
jbe 0x42f2fb
xor bl, bl
jmp 0x42f34f
mov eax, dword [ebp - 0x20]
cmp eax, 0x80
jbe 0x42f32f
xor ecx, ecx
mov edx, 2
mul edx
mov edi, esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044295a
add esp, 4
mov esi, eax
test edi, edi
je 0x42f32f
push edi
call fcn.0044246f
add esp, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
test esi, esi
je 0x42f35c
push esi
call fcn.0044246f
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x42fc10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
push 0
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x42fc00
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call edi
push 0x7f00
push 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [ebp + 0x20], 8
lea esi, [ebp + 0xc]
push 0
cmovae esi, dword [ebp + 0xc]
push 0
call edi
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0xcf0000
push 0x4c14bc
push esi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
push 0
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
mov esi, dword [ebp - 0x38]
push 0xfffffffffffffff8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test ebx, ebx
jne 0x42fd0b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42fd0b
push ebx
push esi
call edi
mov eax, dword [ebp + 0x20]
pop edi
pop esi
pop ebx
cmp eax, 8
jb 0x42fd23
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00406ec0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret

Function at 0x430130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
call fcn.0047c262
mov edi, eax
mov eax, dword [ebp + 0xc]
cdq
and edx, 3
lea esi, [edx + eax]
mov eax, edi
sar esi, 2
cdq
inc esi
idiv esi
mov ebx, edx
call fcn.0047c262
mov esi, eax
mov eax, dword [ebp + 0x10]
cdq
and edx, 3
lea ecx, [edx + eax]
mov eax, esi
sar ecx, 2
inc ecx
cdq
idiv ecx
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ebx + esi]
sub esi, ebx
test bl, 1
cmove esi, eax
lea eax, [edx + ecx]
sub ecx, edx
mov dword [0x4e4184], esi
test dl, 1
cmove ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [0x4e4180], eax
mov al, byte [ebp + 0x14]
mov byte [0x4e418c], al
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x42fd40
push 0
push 0
mov dword [0x4e4188], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442377
mov esp, ebp
pop ebp
ret
Function at 0x433170
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1af8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x3c], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], ecx
test eax, eax
je 0x433304
mov edi, dword [ebp + 8]
test edi, edi
je 0x433304
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x433235
push eax
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x433235
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409420
lea ecx, [ebp - 0x2c]
call fcn.00406da0
jmp 0x433337
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43320a
push 0
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43320a
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x38]
push 0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 4
push dword [ebp - 0x14]
mov dword [ebp - 0x38], 4
call edi
test eax, eax
je 0x4332cd
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.00409d60
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x34]
push 0
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x4332e2
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00409d90
lea ecx, [ebp - 0x2c]
call fcn.00406da0
jmp 0x433337
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.00433060
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00406da0
jmp 0x433337
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409420
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x433337
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret