joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc33d303
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0xc33d5d9
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71ee5713
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71edc6d9
push 0xffffffffffffffff
call fcn.0c334503
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0xc33d36d
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0c33d385
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0xc33d5cd
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xc33d5a1
Function at 0xc34cdd3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xc34cdf5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc34cdf5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc34cdf5
ret
cmp word [ebx + 4], 0x14c
jne 0xc34cdf5
test word [ebx + 0x16], 2
je 0xc34cdf5
test word [ebx + 0x16], 0x100
je 0xc34cdf5
cmp word [ebx + 0x18], 0x10b
jne 0xc34cdf5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc34cdf5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc34ce81
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc34ce15
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c333d60
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc34cdf5
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0xc34ce81
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xc34cdf5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc34cdf5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc34cdf5
ret
cmp word [ebx + 4], 0x14c
jne 0xc34cdf5
test word [ebx + 0x16], 2
je 0xc34cdf5
test word [ebx + 0x16], 0x100
je 0xc34cdf5
cmp word [ebx + 0x18], 0x10b
jne 0xc34cdf5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc34cdf5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc34ce81
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc34ce15
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c333d60
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc34cdf5
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0xc34cf38
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xc34cf91
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xc34cf38
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xc34cf47
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0xc752bea
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0xc34cf98
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0c333e0e
cmp eax, dword [ebp + 0xc]
pop eax
je 0xc34d037
add edi, 4
add eax, 2
dec ecx
jne 0xc34cf7d
call 0xc34cfe4
loope 0xc34cfda
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xc34d034
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0xc34d045
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0xc34cff8
cmp eax, ecx
ja 0xc34cff8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xc34d082
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xc34d078
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0c3342ed
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xc34cf47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xc34cf91
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xc34cf38
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xc34cf47
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0xc752bea
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0xc34cf98
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0c333e0e
cmp eax, dword [ebp + 0xc]
pop eax
je 0xc34d037
add edi, 4
add eax, 2
dec ecx
jne 0xc34cf7d
call 0xc34cfe4
loope 0xc34cfda
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xc34d034
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0xc34d045
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0xc34cff8
cmp eax, ecx
ja 0xc34cff8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xc34d082
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xc34d078
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0c3342ed
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1000baf2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102ecfec], 0x1bef
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000bba9
mov eax, dword [ebp - 0x30]
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 - 0x34], eax
call fcn.1000c0fb
xor eax, eax
mov ecx, dword [0x102ecfec]
add ecx, 0x25d2
mov dword [0x102ecff0], ecx
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x3c], ecx
mov dword [0x102ecfec], 0x14a0
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1000bc2a
jmp 0x1000bc15
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000d64c]
mov dh, byte [eax + 0x1000d61d]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1000bba9
lea eax, [ebp - 0x20]
mov dword [0x102ecff0], 0x5f3
mov dword [0x102ecfec], 0x1528
mov dword [ebp - 0x3c], eax
call fcn.1000c044
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1000b97f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x1000bc2a
jmp 0x1000bb18
mov eax, dword [ebp - 0x34]
add eax, 0x1453
mov dword [0x102ecfec], 0x3b87
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1000bc32
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000bde3
mov dword [0x102ecfec], 0x244a
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword fs:[0x18]
mov dword [0x102ecfec], 0x1cf5
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
je 0x1000bde3
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov dword [0x102ecfec], 0x1121
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x19]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1000bd21
xor eax, eax
mov ecx, 0x1121
mov edx, dword [ebp - 0x2c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
je 0x1000bca7
jmp 0x1000bd31
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000bde3
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
add eax, 0xfffff50e
mov edx, ecx
add edx, 1
mov esi, dword [ebp - 0x30]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov word [ebp - 0x4e], di
mov word [ebp - 0x50], si
jb 0x1000bd7b
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
jne 0x1000bd31
mov eax, dword [ebp - 0x48]
mov dword [0x102ecfec], eax
mov dword [0x102ecff0], 0x180d
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], esi
jne 0x1000bde3
jmp 0x1000bca7
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bf0b
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 [0x102ecff8], 0
mov byte [0x102ecffc], 0
mov dword [0x102ecfec], 0x143d
mov dword [0x102ecff4], 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 dword [0x102ecff0], 0x2604
mov eax, dword [0x102ecff4]
add eax, 1
mov dword [0x102ecff4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000bf50
jmp 0x1000c028
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102ed000], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102ecff0], 0x15f3
mov edi, dword [0x102ecff8]
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 [0x102ed000], esi
mov dword [0x102ecfec], 0x234c
mov eax, esi
cdq
idiv ecx
mov dword [0x102ecff8], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102ecffc], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102ecffc]
mov esi, dword [0x102ecff8]
mov byte [ebx + esi], cl
mov esi, dword [0x102ecff4]
add esi, 1
mov dword [0x102ecff4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000bf85
jmp 0x1000c03c
xor eax, eax
mov dword [0x102ecff4], 0
mov dword [ebp - 0x20], eax
jmp 0x1000bf85
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c2f8
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000c371
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1000c40e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000c324
mov dword [0x102ecff0], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000c324
mov dword [0x102ecfec], 0x151b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000c3c3
jmp 0x1000c324
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
je 0x1000c39e
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 0x1000c371
mov eax, dword [ebp - 0x20]
mov dword [0x102ecfec], 0x156c
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000c32e
jmp 0x1000c324
mov dword [0x102ecfec], 0x1fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000c324
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000c324
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1000c324
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
Function at 0x1000c416
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x102ecff0], 0x1fb9
mov dword [ebp - 0x10], eax
call fcn.1000cacc
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
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 0x1000c45c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102ecff0], 0x53
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102ecfec], 0x1839
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 0x1000c572
jmp 0x1000c501
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1000c541
jmp 0x1000c515
mov eax, dword [ebp - 0x40]
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 [ebp - 0x30], edi
jmp 0x1000c572
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x1000c4a1
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1000c4bb
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1000c4e6
jmp 0x1000c54a
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x1000c4a1
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cc69
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
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 [0x102ecff4], 0
mov dword [0x102ecff8], 0
mov dword [0x102ed004], 0
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 0x1000cdd1
jmp 0x1000ccdb
mov eax, dword [0x102ecff4]
mov ecx, dword [0x102ecff8]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102ecff4], edx
mov dword [0x102ecfec], 0x1bee
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102ecff8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102ecffc], cl
mov dword [0x102ecfec], 0xfad
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102ecffc]
mov edx, dword [0x102ecff8]
mov byte [ebx + edx], cl
mov dword [0x102ecfec], 0x2446
mov edx, dword [0x102ecff4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102ecff8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102ed004], ecx
mov dword [0x102ecfec], 0x213
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102ecfec], 0x1808
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x102ecff0]
add edx, 0x22f8
mov dword [0x102ecff0], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x1000ccc4
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cdd9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c5cc
lea ecx, [0x1000c57d]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], 0x139200
mov edx, dword [0x102ecfd8]
mov dword [esp + 0x48], edx
mov edx, dword [0x102ecfdc]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102ecfe0]
mov dword [esp + 0x80], edx
mov edx, dword [0x102ecfe4]
mov dword [esp + 0x44], edx
mov edx, dword [0x102ecfe8]
mov dword [esp + 0x50], edx
mov dword [0x102ecfec], 0x1c86
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000ceb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
call fcn.1000c2f8
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000cee7
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000baf2
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
jmp 0x1000cee7
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000ced3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000ce5b
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000ceb0
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x407620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48efcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048404a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4076a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481f5c
mov eax, dword [eax]
push 0x4aac58
push eax
call fcn.004741a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004842d5
test bl, bl
je 0x4076a2
push 0x4aac58
lea ecx, [esp + 0xc]
call fcn.00484665
push 0x4aac64
lea ecx, [esp + 0xc]
call fcn.00484665
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4076de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004842d5
jmp 0x4077a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x407762
lea edx, [esp + 0x7c]
push 0x4aac60
push edx
call fcn.004741a4
add esp, 8
test eax, eax
je 0x407762
lea eax, [esp + 0x7c]
push 0x4aac5c
push eax
call fcn.004741a4
add esp, 8
test eax, eax
je 0x407762
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4076f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004842d5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x407fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408012
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc