joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6643d8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00407334
cmp dword [ebp - 4], 0
je 0x66448c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x664448
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.0066432c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00406abc
jmp 0x664458
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00406abc
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x664472
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x664469
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x664526
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x6644e3
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x6644dc
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x664540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x664566
mov dword [ebp - 0x10], 1
jmp 0x6646b6
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x66457e
mov dword [ebp - 0x10], 2
jmp 0x6646b6
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00407334
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x6646b6
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.0066452c
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00407334
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x66467c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.006643d8
cmp dword [ebp - 0x18], 1
jne 0x664630
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00664494
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00664494
jmp 0x664642
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00664494
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.006644a4
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x664670
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x664664
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x6645ed
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x6646ac
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x6646a6
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x66468d
dec word [ebp - 0x22]
jne 0x6645be
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x6646ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x6646f4
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x66470d
pop ebx
ret
Function at 0x666dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x666def
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x666e6e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.006657fc
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x666e3c
mov cx, word [esp]
sub cx, si
jmp 0x666e3e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x666e25
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x666e64
mov cx, word [esp]
sub cx, si
jmp 0x666e66
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x666e4d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x666f53
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00666b2c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x666eba
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x666ed0
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x666dca
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x666f53
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x666f12
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x666ef7
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.006657e4
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x666f53
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x666f53
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x666f38
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x16c0]
push eax
call fcn.006657e4
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x66f5e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x66f62d
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x66f60a
mov esp, ebp
pop ebp
ret 4
Function at 0x672e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
call fcn.00406abc
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x672f6b
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x6f5d48]
mov edx, 8
call fcn.0066f408
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x6f5d48]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6f5d48]
mov edx, 0x10
call fcn.0066f408
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x6f5d48]
mov edx, 0x18
call fcn.0066f408
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x672eee
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x67e55c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x67e5c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004228e8
mov eax, dword [ebp - 4]
call fcn.0067e4ac
test al, al
je 0x67e595
mov byte [ebp - 5], 1
jmp 0x67e5aa
mov eax, dword [ebp - 0xc]
call fcn.0040aa58
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67e5c7
lea eax, [ebp - 0xc]
call fcn.00409dfc
ret

Function at 0x67e8b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x67e912
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x6f6e48]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x67e8e0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x67eac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x67eb21
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.0067ea14
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.0067e97c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x67eae6
mov esp, ebp
pop ebp
ret

Function at 0x67eb7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.0040a304
dec eax
test eax, eax
jl 0x67ebf2
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.0040a710
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0067e97c
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x67ebd5
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0067ea14
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.0067e97c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x67ebf7
mov esp, ebp
pop ebp
ret
Function at 0x68bb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21e]
mov edx, 0x68bbec
call fcn.00422fc0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5c], 0
je 0x68bb9b
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
call fcn.00422fc0
jmp 0x68bbac
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x428]
mov ecx, 0x105
call fcn.0040ab14
mov esp, ebp
pop ebp
ret

Function at 0x6910d0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409ee0
xor eax, eax
push ebp
push 0x691195
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x642938]
call fcn.005c9704
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00645ce4
add eax, 0xa8
mov edx, 0x6911b0
call fcn.0040a1dc
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
xor eax, eax
push ebp
push 0x691178
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00643388
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
mov eax, dword [ebp - 0xc]
call fcn.00645cd8
mov eax, dword [eax + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69117f
mov eax, dword [ebp - 0xc]
call fcn.00408214
ret
Function at 0x691260
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00409ee0
mov eax, dword [ebp - 8]
call fcn.00409ee0
mov eax, dword [ebp + 8]
call fcn.00409ee0
xor eax, eax
push ebp
push 0x691401
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6913c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x642938]
call fcn.005c9704
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00645ce4
add eax, 0x88
mov edx, 0x691420
call fcn.0040a1dc
mov eax, dword [ebp - 0x18]
call fcn.00645ce4
add eax, 0xa8
mov edx, 0x691458
call fcn.0040a1dc
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x48], 0x691244
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 8]
call fcn.0040a224
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040a224
push 0xff00
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
call fcn.0040acc4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x47b3fc]
call fcn.0049c5c0
mov dword [ebp - 0x14], eax
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
xor eax, eax
push ebp
push 0x6913b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040acc4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00643330
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6913bb
mov bl, 1
mov eax, dword [ebp - 0x14]
call fcn.00408214
mov eax, dword [0x6f7ff8]
mov eax, dword [eax]
call fcn.0059490c
mov eax, dword [ebp - 0x18]
call fcn.00408214
ret

Function at 0x6935d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
xor edx, edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409ee0
xor eax, eax
push ebp
push 0x6936a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 4]
call fcn.004228a8
mov eax, dword [ebp - 0x19c]
call fcn.004069f8
call fcn.004069bc
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 4]
call fcn.004228a8
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0xce]
call fcn.00422fc0
lea eax, [ebp - 0xce]
push eax
call sub.kernel32.dll_GetModuleHandleW_2
test eax, eax
jne 0x693680
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 4]
call fcn.00422fc0
push 9
push 0x6936b4
push 0x6936b4
mov eax, dword [ebp - 4]
call fcn.0040aa58
push eax
push 0x6936b8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6936ad
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.00409e5c
lea eax, [ebp - 4]
call fcn.00409dfc
ret
Function at 0x40647b
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x40
push 0x1000
mov ebx, 0x4ac
xor ebp, ebp
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
mov edi, 0x479828
mov esi, eax
push edi
call fcn.00404d0d
push ebx
push edi
push esi
call fcn.0040b620
add esp, 0x14
call fcn.00404cf3
push ebp
push ebp
push 0x436028
lea eax, [esi + 0x188]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x422800
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42289d
push ebx
push esi
call fcn.004227c9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042144d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42284a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42289c
push edi
push eax
call fcn.0041c11e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42286a
call fcn.0041beb6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42289b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042144d
add esp, 0x20
test eax, eax
jne 0x422889
push edi
call fcn.0041beb6
jmp 0x422891
push ebx
call fcn.0041beb6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x429a70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x429a9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x429a9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2114300
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0211438f
jae 0x211430e
xor ecx, ecx
call fcn.0211438f
jae 0x211433d
xor eax, eax
call fcn.0211438f
jae 0x211434d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0211438f
adc al, al
jae 0x211432f
jne 0x2114379
stosb byte es:[edi], al
jmp 0x2114311
call fcn.0211439b
sub ecx, ebx
jne 0x2114356
call fcn.02114399
jmp 0x2114375
lodsb al, byte [esi]
shr eax, 1
je 0x2114383
adc ecx, ecx
jmp 0x2114372
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02114399
cmp eax, 0x7d00
jae 0x2114372
cmp ah, 5
jae 0x2114373
cmp eax, 0x7f
ja 0x2114374
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2114311
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e004]
jne 0x401010
repz ret
jmp fcn.004016af

Function at 0x408875
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405eef
and dword [ebp - 4], 0
cmp dword [0x810d98], 0
mov ebx, eax
jne 0x408926
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4089d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push reloc.KERNEL32.dll_CommConfigDialogA
push edi
call esi
test eax, eax
je 0x4089d7
push eax
call fcn.00405e7d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x810d98], eax
call esi
push eax
call fcn.00405e7d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x810d9c], eax
call esi
push eax
call fcn.00405e7d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x810da0], eax
call esi
push eax
call fcn.00405e7d
pop ecx
mov dword [0x810da8], eax
test eax, eax
je 0x408926
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e7d
pop ecx
mov dword [0x810da4], eax
mov eax, dword [0x810da4]
cmp eax, ebx
je 0x40897e
cmp dword [0x810da8], ebx
je 0x40897e
push eax
call fcn.00405ef8
push dword [0x810da8]
mov esi, eax
call fcn.00405ef8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40897e
test edi, edi
je 0x40897e
call esi
test eax, eax
je 0x408975
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408975
test byte [ebp - 0xc], 1
jne 0x40897e
or dword [ebp + 0x10], 0x200000
jmp 0x4089b7
mov eax, dword [0x810d9c]
cmp eax, ebx
je 0x4089b7
push eax
call fcn.00405ef8
pop ecx
test eax, eax
je 0x4089b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4089b7
mov eax, dword [0x810da0]
cmp eax, ebx
je 0x4089b7
push eax
call fcn.00405ef8
pop ecx
test eax, eax
je 0x4089b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810d98]
call fcn.00405ef8
pop ecx
test eax, eax
je 0x4089d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4089d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b800
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x80e004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x2357bac], 0x930
jne 0x40b82a
push str.yukepimutade_yumuni_kudefesoroxodimijig_vamibihepayihidarizinuk
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x2357bac], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x23579f0], eax
jne 0x40b85d
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret