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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
jae 0x459e40
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.004591e0
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x459f35
cmp esi, edi
jne 0x459e4e
mov eax, 0x1001
jmp 0x459f35
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
push edx
push edi
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.004591e0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
add edi, eax
add esp, 0xc
sub dword [ebp - 4], edx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov ecx, dword [ebx + 0x28]
xor dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
xor dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jb 0x459f0b
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov ecx, dword [edi]
xor dword [ebx + 0x18], ecx
mov eax, dword [edi + 4]
xor dword [ebx + 0x1c], eax
mov edx, dword [edi + 8]
xor dword [ebx + 0x20], edx
mov ecx, dword [edi + 0xc]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
jae 0x459ebd
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.004591e0
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a090
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, dword [esp + 4]
mov esi, dword [ebx + 0x38]
mov edx, 0x10
lea eax, [ebx + 0x3c]
mov dword [ecx], edx
lea edx, [ebx + 0x18]
call fcn.0045b670
xor ecx, ecx
mov eax, dword [esp]
mov edx, eax
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x45a0d3
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x45a0c5
mov eax, dword [esp + 4]
mov dword [eax], esi
xor eax, eax
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x45a4bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x45a51c
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.004591e0
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x45a5fe
cmp edi, esi
jne 0x45a52a
mov eax, 0x1001
jmp 0x45a5fe
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.004591e0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add edi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x45a5d4
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x45a592
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.004591e0
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a608
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov esi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x45a668
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.004591e0
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x45a779
cmp esi, edi
jne 0x45a676
mov eax, 0x1001
jmp 0x45a779
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.004591e0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add esi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jbe 0x45a74f
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0045b670
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add esi, eax
mov ecx, dword [ebp - 4]
add edi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x45a6f6
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call fcn.004591e0
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a920
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov dword [esp], ecx
mov edi, edx
mov edx, dword [esp]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x3c]
mov dword [edx], esi
lea edx, [ebx + 0x18]
call fcn.0045b670
xor ecx, ecx
mov edx, edi
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x45a957
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x45a949
mov eax, dword [esp]
mov dword [eax], esi
xor eax, eax
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x461ad8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x461b43
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x461b11
call fcn.00403dac
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e6c
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00461ac0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b4a
lea eax, [ebp - 0xc]
call fcn.00404bec
ret

Function at 0x4621e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x462328
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 0xd], 0
cmp byte [0x473f28], 0
jne 0x46221d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462384
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x46222e
call fcn.00403db4
test eax, eax
jb 0x46231a
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
add esi, 1
jae 0x462246
call fcn.00403db4
and esi, 0xff
cmp esi, 0xff
jbe 0x462259
call fcn.00403dac
xor eax, eax
mov al, byte [esi + 0x475ea4]
add edi, eax
jae 0x46226a
call fcn.00403db4
and edi, 0xff
cmp edi, 0xff
jbe 0x46227d
call fcn.00403dac
mov cl, byte [edi + 0x475ea4]
cmp esi, 0xff
jbe 0x462290
call fcn.00403dac
mov byte [esi + 0x475ea4], cl
cmp eax, 0xff
jbe 0x4622a2
call fcn.00403dac
cmp edi, 0xff
jbe 0x4622af
call fcn.00403dac
mov byte [edi + 0x475ea4], al
cmp esi, 0xff
jbe 0x4622c2
call fcn.00403dac
xor ecx, ecx
mov cl, byte [esi + 0x475ea4]
add eax, ecx
jae 0x4622d3
call fcn.00403db4
and eax, 0xff
cmp edx, 0x7fff
jbe 0x4622e5
call fcn.00403dac
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
cmp eax, 0xff
jbe 0x4622f7
call fcn.00403dac
xor cl, byte [eax + 0x475ea4]
cmp edx, 0x7fff
jbe 0x46230a
call fcn.00403dac
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x14]
jne 0x46223c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462384
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465114
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404bec
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403604
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409df8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x469100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x469192
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [esi + 0x30], 0
jne 0x469147
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00408e58
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404c40
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x34]
call fcn.00409154
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00405200
mov esi, eax
push ebx
mov ecx, esi
sub ecx, 1
jno 0x46916b
call fcn.00403db4
mov eax, dword [ebx]
mov edx, 1
call fcn.0040511c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469199
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c10
ret
Function at 0x46c67c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4164ac]
call fcn.00405620
xor eax, eax
push ebp
push 0x46c7c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474038], 0
jne 0x46c6cf
mov ecx, dword [0x4740a8]
mov dl, 1
mov eax, dword [0x40816c]
call fcn.0040d384
call fcn.00404600
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403604
mov eax, ebx
call fcn.00405484
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46c7d0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040681c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405494
test eax, eax
jle 0x46c767
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46c760
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e84
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e6c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409060
test eax, eax
jne 0x46c760
mov ebx, 0x15
jmp 0x46c76c
mov ebx, 0x10
jmp 0x46c76c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x474038]
call fcn.0046c5d4
mov eax, dword [ebp - 8]
call fcn.0046c5d4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c7c7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c10
lea eax, [ebp - 0x10]
mov edx, dword [0x4164ac]
call fcn.004056e4
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x100010d7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100010fe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x10001010
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x100016b5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
mov edi, 0x100
mov edx, esi
mov ecx, esi
shr edx, 1
mov eax, edx
xor eax, 0x82f63b78
test bl, cl
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test bl, dl
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, 0x82f63b78
test bl, cl
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test bl, dl
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, 0x82f63b78
test bl, cl
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test bl, dl
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, 0x82f63b78
test bl, cl
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test bl, dl
cmovne ecx, eax
mov dword [esi*4 + 0x10005448], ecx
inc esi
cmp esi, edi
jb 0x100016c2
mov edx, 0x10005848
mov ecx, dword [edx - 0x400]
mov esi, edx
push 7
pop ebx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x10005448]
mov dword [esi], ecx
lea esi, [esi + 0x400]
sub ebx, 1
jne 0x10001764
add edx, 4
sub edi, 1
jne 0x10001759
pop edi
pop esi
pop ebx
ret
Function at 0x1000178a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10005010]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0xc], ecx
push ebx
lea eax, [esp + 0x14]
mov edi, 0x10005438
push eax
push ebx
push edi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x100017c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [esp + 0x10], ebx
je 0x100017e2
call fcn.100016b5
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x10001923
test esi, esi
jne 0x100017ee
or eax, 0xffffffff
jmp 0x10001911
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test al, 7
je 0x1000182f
movsx eax, byte [eax]
xor ecx, ecx
xor eax, ebx
movzx eax, al
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [eax*4 + 0x10005448]
xor edx, ecx
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
sub esi, 1
jne 0x10001803
cmp esi, 8
jb 0x100018e1
mov edi, esi
shr edi, 3
xor edx, dword [eax + 4]
sub esi, 8
xor ebx, dword [eax]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esp + 0x10], edx
mov edx, dword [ecx*4 + 0x10005848]
mov ecx, ebx
xor edx, dword [eax*4 + 0x10005c48]
mov eax, dword [esp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x10006048]
mov eax, dword [esp + 0x10]
shrd ecx, eax, 0x18
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*4 + 0x10006448]
mov eax, dword [esp + 0x10]
shrd ecx, eax, 0x10
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*4 + 0x10006848]
mov eax, dword [esp + 0x10]
shrd ecx, eax, 8
movzx eax, cl
xor edx, dword [eax*4 + 0x10006c48]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10005448]
movzx eax, bl
xor edx, dword [eax*4 + 0x10007048]
mov eax, dword [esp + 0xc]
mov ebx, edx
add eax, 8
xor edx, edx
mov dword [esp + 0xc], eax
sub edi, 1
jne 0x1000183d
test esi, esi
je 0x1000190d
movsx eax, byte [eax]
xor ecx, ecx
xor eax, ebx
movzx eax, al
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [eax*4 + 0x10005448]
xor edx, ecx
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
sub esi, 1
jne 0x100018e5
not ebx
mov eax, ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001e31
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
Function at 0x10001929
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10005010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push 0x40
push 0x3000
lea eax, [esi + 5]
mov dword [ebp - 0xc], ecx
push eax
push 0
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push dword [ebp - 0xc]
mov edi, eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, eax
mov byte [esi + edi], 0xe9
sub ecx, edi
sub ecx, 5
mov dword [esi + edi + 1], ecx
lea ecx, [ebp - 8]
and dword [ebp - 8], 0
push ecx
push 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
call esi
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
sub ebx, eax
push dword [ebp - 0x10]
mov dword [eax], 0xe9
sub ebx, 5
push eax
mov dword [eax + 1], ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001e31
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x36b255b1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x26fc056c
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219