joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69f1c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ad000]
push edi
or ebp, 0xffffffff
jmp 0x69f1e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69f1e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69f1d8
mov eax, 1
add ebx, ebx
jne 0x69f1fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69f20c
jne 0x69f22b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69f22b
dec eax
add ebx, ebx
jne 0x69f218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69f1f0
add ebx, ebx
jne 0x69f227
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69f27d
xor ecx, ecx
sub eax, 3
jb 0x69f243
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69f2b2
sar eax, 1
mov ebp, eax
jmp 0x69f24e
add ebx, ebx
jne 0x69f24e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69f21c
inc ecx
add ebx, ebx
jne 0x69f25c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69f21c
add ebx, ebx
jne 0x69f269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69f25e
jne 0x69f27a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69f25e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69f29c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69f28e
jmp 0x69f1de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69f29c
add edi, ecx
jmp 0x69f1de
pop esi
mov edi, esi
mov ecx, 0x6450
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69f2ba
cmp byte [edi], 0xa
jne 0x69f2ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x69f2bf
lea edi, [esi + 0x296000]
mov eax, dword [edi]
or eax, eax
je 0x69f337
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a3b64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a3ca4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69f2ec
mov ecx, edi
jns 0x69f31b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a3ca8]
or eax, eax
je 0x69f331
mov dword [ebx], eax
add ebx, 4
jmp 0x69f309
call dword [esi + 0x2a3cb8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x69f368
cmp al, 0xef
ja 0x69f35b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x69f33d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x69f34a
mov ebp, dword [esi + 0x2a3cac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x69f39c
sub esp, 0xffffff80
jmp 0x4ab5b3
Function at 0x402234
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402273
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402273
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402273
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402273
cmp dword [ecx + 0x74], 0xe
jbe 0x402273
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4b2b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x4b20ac]
push esi
push edi
test eax, eax
jne 0x4b2bcd
mov esi, 0x4b2284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x4b2b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x4b2b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x4b229c
mov dword [edx], eax
jl 0x4b2b6d
mov ecx, dword [0x4b20ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x4b22ac
push ecx
mov dword [0x4b20a4], eax
call fcn.004b2d80
add esp, 0xc
mov dword [0x4b20a8], eax
mov dword [ebp - 4], 0
mov esi, 0x4b2284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x4b2c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x4b2c16
cmp al, 0x5a
jg 0x4b2c02
cmp al, 0x41
jl 0x4b2c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x4b2c08
xor al, 0x55
cmp cl, al
jne 0x4b2c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x4b2be1
cmp byte [edx], 0
je 0x4b2c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x4b229c
mov dword [ebp - 4], edx
jl 0x4b2bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x4b2280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x101efd76
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x101efdb8
jmp 0x101efdc3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x101f855c], 0x25ed
mov dword [0x101f8558], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x101f8558], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x101f855c], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], dl
mov dword [ebp - 0x28], esi
jmp 0x101efe79
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x34], eax
mov word [ebp - 0x36], dx
mov word [ebp - 0x38], di
jb 0x101efe4a
mov ax, word [ebp - 0x36]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x39], bl
jne 0x101eff1c
jmp 0x101efefc
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x101efdb8
mov dword [0x101f8558], 0xe77
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], esi
jne 0x101efdad
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx]
mov dword [0x101f8558], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
je 0x101efe79
jmp 0x101efe16
mov dword [0x101f8558], 0x667
mov eax, dword [ebp - 0x34]
add eax, 1
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
mov dword [ebp - 0x2c], eax
jb 0x101efe16
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
jne 0x101eff2e
jmp 0x101efe79
mov dword [0x101f855c], 0xffffc994
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x101efdb8
Function at 0x101f0380
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101f8564], 0
mov byte [0x101f8568], 0
mov dword [0x101f8558], 0x1f87
mov dword [0x101f8560], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101f03e2
xor eax, eax
mov dword [0x101f8558], 0xd51
mov dword [0x101f8560], 0
mov dword [ebp - 0x20], eax
jmp 0x101f040a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f8560]
add eax, 1
mov dword [0x101f8560], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101f03e2
jmp 0x101f03c7
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101f856c], 0
mov dword [0x101f8558], 0x17de
mov edi, dword [0x101f8564]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101f856c], esi
mov dword [0x101f855c], 0x51e
mov dword [0x101f8558], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x101f8564], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101f8568], cl
mov dword [0x101f8558], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x101f8558]
add esi, 0x1ff7
mov dword [0x101f855c], esi
mov cl, byte [0x101f8568]
mov esi, dword [0x101f8564]
mov byte [ebx + esi], cl
mov dword [0x101f8558], 0x5e6
mov esi, dword [0x101f855c]
add esi, 0xfffffd1a
mov dword [0x101f855c], esi
mov esi, dword [0x101f8560]
add esi, 1
mov dword [0x101f8560], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101f040a
mov dword [0x101f8558], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f0923
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x101f855c], 0x26de
mov dword [ebp - 0x10], eax
call fcn.101eff43
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x101f855c], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101f0973
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101f8558], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101f0aa0
jmp 0x101f09d8
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101f0a04
jmp 0x101f0a2d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x101f09ae
mov al, byte [ebp - 0x36]
test al, 1
jne 0x101f0a77
jmp 0x101f0a36
mov eax, dword [ebp - 0x4c]
add eax, 2
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
setb bl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x59], bl
xor eax, eax
mov cl, byte [ebp - 0x59]
test cl, 1
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
jne 0x101f09ea
jmp 0x101f0aa0
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x60]
add edx, dword [eax + esi*4]
mov dword [0x101f8558], 0x22a3
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f0af2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f8558], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101f0b8f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101f0bf6
jmp 0x101f0b88
mov dword [0x101f8558], 0x9f6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x101f0b8f
jmp 0x101f0ba5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101f0bd2
jmp 0x101f0b88
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101f0b68
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101f0bf6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x101f0b45
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101f0b88
mov dword [0x101f8558], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101f0b79
jmp 0x101f0b88
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101f0b88
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101f0b28
jmp 0x101f0b88
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x101f0bfe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101f31a6]
mov dl, byte [eax + 0x101f3177]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x101f0c16
lea eax, [ebp - 0x24]
mov dword [0x101f8558], 0x1372
mov dword [ebp - 0x34], eax
call fcn.101f133d
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101f00b7
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101f0d26
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101f8558]
add ecx, 0xffffdbc9
mov dword [0x101f8558], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101f0275
xor eax, eax
mov ecx, dword [0x101f8558]
add ecx, 0xffffe005
mov dword [0x101f855c], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov dword [0x101f8558], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x18], ecx
add ecx, 0x133a
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101f0d1d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101f0e48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f8560], 0
mov dword [0x101f8564], 0
mov dword [0x101f8570], 0
mov ebx, dword [0x101f855c]
add ebx, 0xfffff338
mov dword [0x101f8558], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101f0fcb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101f8558], 0x20d1
mov dword [0x101f855c], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101f8560], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101f8564], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101f8568], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101f8568]
mov edx, dword [0x101f8564]
mov byte [edi + edx], cl
mov dword [0x101f855c], 0x2664
mov edx, dword [0x101f8560]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101f8564]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101f8570], ebx
mov dword [0x101f8558], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x101f8575], ch
mov byte [0x101f8576], cl
xor ch, cl
mov byte [0x101f8574], ch
mov dword [0x101f8558], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x101f855c], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101f0fcb
mov eax, dword [0x101f8560]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x101f8564]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x101f0eb3
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f1107
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x101f115e
jmp 0x101f1271
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x24], ecx
je 0x101f11f4
mov eax, dword [esp + 0x28]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x101f11dc
lea eax, [esp + 0x88]
lea ecx, [esp + 0x30]
mov dword [0x101f8558], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.101f050a
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], 0x14fc00
mov dword [esp + 0x14], eax
lea eax, [0x101f0aab]
mov ecx, dword [0x101f8544]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x101f8548]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x101f854c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x101f8550]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x101f8554]
mov dword [esp + 0x50], ecx
mov dword [0x101f855c], 0x4bf
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
je 0x101f112a
jmp 0x101f1142
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov dword [0x101f855c], 0xe73
mov ecx, dword [esp + 0x24]
add ecx, 0x50
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
call fcn.101f0af2
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101f1269
lea eax, [esp + 0x30]
mov dword [0x101f855c], 0x341
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101f0bfe
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x4021e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
mov ecx, esi
call fcn.00451990
mov ecx, esi
call fcn.004543d0
mov ecx, esi
call fcn.004540b0
push 0x22
mov ecx, esi
call fcn.00452850
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4022d3
push edi
push 0
push str..dll
mov ecx, esi
call fcn.00451880
push 0
push 0x516644
mov ecx, esi
mov edi, eax
call fcn.00451880
cmp edi, 0xffffffff
je 0x40224e
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
sub edx, edi
sub edx, 4
add edi, 4
push edx
push edi
jmp 0x402262
cmp eax, 0xffffffff
je 0x402269
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
sub edx, eax
sub edx, 4
add eax, 4
push edx
push eax
mov ecx, esi
call fcn.00452010
push 0x25
mov ecx, esi
call fcn.00451760
cmp eax, 0xffffffff
je 0x4022b5
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
call fcn.004503d0
lea edx, [esp + 8]
mov ecx, esi
push edx
push 0
call fcn.004522d0
push 0x3a
mov ecx, esi
call fcn.00451810
test eax, eax
pop edi
jl 0x4022d3
cmp eax, 1
je 0x4022d3
dec eax
mov ecx, esi
push eax
push 0
call fcn.00452010
mov eax, 1
pop esi
add esp, 0x208
ret 4
Function at 0x404a40
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eb256
push eax
mov eax, dword [0x52cb2c]
mov dword fs:[0], esp
sub esp, 0x264
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push esi
mov ebp, ecx
jne 0x404bad
push ebx
push 0x10000000
push ebx
push ebx
push ebx
push str.MyDesktop
mov dword [0x52cb2c], 1
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov esi, eax
cmp esi, ebx
je 0x404bad
push edi
push str.Winsta0mydesktop
lea ecx, [esp + 0x18]
call fcn.0044fec0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 0x44
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 0x24], ecx
mov ecx, 0x81
lea edi, [esp + 0x6e]
mov word [esp + 0x6c], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x6c]
push 0x103
push edx
mov dword [esp + 0x284], ebx
mov dword [esp + 0x20], ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x4fab44]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__s_rundll32.exe___s_shell32.dll_OpenAs_RunDLL__s
push ecx
mov byte [esp + 0x290], 1
call fcn.004535e0
add esp, 0x14
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x404b81
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x18]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x18]
push edx
call edi
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], bl
call fcn.00450660
lea ecx, [esp + 0x14]
mov dword [esp + 0x27c], 0xffffffff
call fcn.00450660
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x270
ret