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

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x77298fea
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x77298ffb
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7729903c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x7729b3a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7729b2f1
add ebx, 0
push ecx
call 0x7729b306
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1008b05e
sub ebx, dword [0x100aa89d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aa88d
call fcn.77296dd0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.772962de
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7729b464
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7729b464
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7729b41b
mov eax, 1
lock xchg dword [0x100aa899], eax
push 0x3dd1fc71
call 0x7729b3a8
push esi
add esp, 8
cmp eax, 0
jne 0x7729b391
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7729b3b7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7729b3cc
cmp ecx, edx
cmp eax, 0
je 0x7729b3f1
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7729b3db
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7729b40a
dec eax
loope 0x7729b40d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aa899], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7729b441
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7729b456
jmp 0x7729b461
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7729b34f
Function at 0x772a24c9
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 0x772a279f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10097511
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e4d7
push 0xffffffffffffffff
call fcn.772996c9
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 0x772a2533
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.772a254b
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 0x772a2793
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x772a2767
Function at 0x772b1f99
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 0x772b1fbb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772b1fbb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772b1fbb
ret
cmp word [ebx + 4], 0x14c
jne 0x772b1fbb
test word [ebx + 0x16], 2
je 0x772b1fbb
test word [ebx + 0x16], 0x100
je 0x772b1fbb
cmp word [ebx + 0x18], 0x10b
jne 0x772b1fbb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772b1fbb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x772b2047
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772b1fdb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77298f26
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772b1fbb
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 0x772b2047
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 0x772b1fbb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772b1fbb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772b1fbb
ret
cmp word [ebx + 4], 0x14c
jne 0x772b1fbb
test word [ebx + 0x16], 2
je 0x772b1fbb
test word [ebx + 0x16], 0x100
je 0x772b1fbb
cmp word [ebx + 0x18], 0x10b
jne 0x772b1fbb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772b1fbb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x772b2047
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772b1fdb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77298f26
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772b1fbb
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 0x772b20fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b2157
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b20fe
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b210d
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 0x776b7db0
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 0x772b215e
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.77298fd4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b21fd
add edi, 4
add eax, 2
dec ecx
jne 0x772b2143
call 0x772b21aa
loope 0x772b21a0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b21fa
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 0x772b220b
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 0x772b21be
cmp eax, ecx
ja 0x772b21be
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b2248
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b223e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.772994b3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x772b210d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772b2157
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x772b20fe
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x772b210d
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 0x776b7db0
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 0x772b215e
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.77298fd4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x772b21fd
add edi, 4
add eax, 2
dec ecx
jne 0x772b2143
call 0x772b21aa
loope 0x772b21a0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x772b21fa
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 0x772b220b
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 0x772b21be
cmp eax, ecx
ja 0x772b21be
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772b2248
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772b223e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.772994b3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1b41431b
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x88b5a04
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x46fed4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x46fee3
pop dword [ebp - 0x34]
mov eax, 0x204543b1
add eax, 0xe001bb32
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1d32b635
sub dword [ebp - 0x44], 0xcee070ea
mov dword [ebp - 0x40], 0x9c3540a1
add dword [ebp - 0x40], 0x95fe0ba4
mov dword [ebp - 0x3c], 0xc287d179
sub dword [ebp - 0x3c], 0x763b8d4b
mov dword [ebp - 0x38], 0xc5e15090
add dword [ebp - 0x38], 0x3a1eaf70
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7a6a742c
sub eax, 0x7a20e3d8
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xd4752121
sub dword [ebp - 0x44], 0x6002b7cb
mov dword [ebp - 0x40], 0x9166c9b
add dword [ebp - 0x40], 0x3855f4da
mov dword [ebp - 0x3c], 0xebe61dcd
add dword [ebp - 0x3c], 0x77894e9f
mov dword [ebp - 0x38], 0x85bd3592
add dword [ebp - 0x38], 0x7a42ca6e
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xf0b39c44
sub eax, 0xf06a0c20
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x6dfb6
push 0
call eax
mov ecx, 0x7d084150
sub ecx, 0x7d07f7c2
mov esi, eax
mov edx, 0x4c5e00
add edx, dword [ebp - 0x34]
mov edi, 0xb48478ef
sub edi, 0x25ec18dd
add dword [ebp - 0x1c], 0xc5efc701
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0xdd4b2489
xor ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x30], 0xccb56a81
add esi, 4
add edx, 0x1ec70a31
sub edx, 0x1ec70a2d
loop 0x46ffff
add eax, 0x1190b
mov ebx, eax
add eax, 0x8950158b
add eax, 0x76afea7a
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x101516b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword [0x101710f8]
add eax, 0xffffe35c
mov dword [0x101710f4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101710f4]
add edx, 0xfffffffe
mov dword [0x101710f8], edx
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 0x10151758
xor eax, eax
mov dword [0x101710f4], 0x16c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x1015180c
jmp 0x10151824
mov eax, 1
mov dword [0x101710f8], 0x1fa1
mov dword [ebp - 0x18], eax
jmp 0x10151824
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x101517f2
jmp 0x10151824
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 0x1015178f
mov dword [0x101710f8], 0x25b9
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 0x10151758
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x101710f8], 0x13f5
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x10151824
xor eax, eax
mov dword [0x101710f4], 0xd1b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x10151824
xor eax, eax
mov dword [0x101710f8], 0x250b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x1015173b
jmp 0x10151824
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x101516fd
jmp 0x10151824
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10151724
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x10151930
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10171100], 0
mov byte [0x10171104], 0
mov edi, dword [0x101710f8]
add edi, 0xffffe149
mov dword [0x101710f4], edi
mov dword [0x101710fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101519b0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x101710f8], eax
mov dword [0x101710fc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101519f2
mov eax, dword [ebp - 0x2c]
mov dword [0x101710f4], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101710f8]
mov esi, eax
add esi, 0xffffe149
mov dword [0x101710f4], esi
mov esi, dword [0x101710fc]
add esi, 1
mov dword [0x101710fc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x101519b0
jmp 0x1015197f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add ecx, 0xffffe224
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x34], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10171108], 0
mov dword [0x101710f4], 0x2253
mov edi, dword [0x10171100]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10171108], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x34]
idiv esi
mov dword [0x10171100], edx
mov dword [0x101710f4], 0x1af3
mov esi, dword [ebp - 0x30]
mov bl, byte [ebx + esi]
mov byte [0x10171104], bl
mov dword [0x101710f8], ecx
mov ecx, dword [ebp - 0x18]
mov bl, byte [ecx + edx]
mov byte [ecx + esi], bl
mov bl, byte [0x10171104]
mov edx, dword [0x10171100]
mov byte [ecx + edx], bl
mov edx, dword [0x101710f8]
mov ecx, edx
add ecx, 0xffffe149
mov dword [0x101710f4], ecx
mov esi, dword [0x101710fc]
add esi, 1
mov dword [0x101710fc], esi
cmp esi, 0x100
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
jl 0x101519f2
jmp 0x101519a0
Function at 0x10153370
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]
mov dword [0x101710fc], 0
mov dword [0x10171100], 0
mov dword [0x1017110c], 0
mov edi, dword [0x101710f8]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x101710f4], ebx
add edi, 0xffffd49d
mov dword [0x101710f8], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x10153521
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101533eb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101710fc], edx
mov dword [0x101710f4], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10171100], edx
mov dword [0x101710f8], 0x7fe
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10171104], cl
mov dword [0x101710f4], 0xfae
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101710f8]
add edx, 0xffffe149
mov dword [0x101710f4], edx
mov cl, byte [0x10171104]
mov edx, dword [0x10171100]
mov byte [ebx + edx], cl
mov edx, dword [0x101710f4]
add edx, 0xffffddc4
mov dword [0x101710f4], edx
mov edx, dword [0x101710fc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10171100]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x101710f8]
mov esi, edx
add esi, 0xffffe149
and ecx, 0xff
mov dword [0x1017110c], ecx
mov dword [0x101710f4], esi
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
xor cl, byte [esi + ebx]
add edx, 0xffffa56d
mov dword [0x101710f4], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x101710f8], 0x87a
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1015351f
mov eax, dword [0x101710fc]
mov ecx, dword [0x10171100]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x101533eb
jmp 0x10153521
mov dword [0x101710f4], 0x584
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10153540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101710f4], 0x16de
mov dword [0x101710f8], 0x1d5d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10152bd0
lea ecx, [0x10151830]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], 0x147e00
mov edx, dword [0x101710e0]
mov dword [esp + 0x58], edx
mov edx, dword [0x101710e4]
mov dword [esp + 0x44], edx
mov edx, dword [0x101710e8]
mov dword [esp + 0x90], edx
mov edx, dword [0x101710ec]
mov dword [esp + 0x38], edx
mov dword [0x101710f4], 0x2af1
mov edx, dword [0x101710f0]
mov dword [esp + 0x40], edx
mov dword [0x101710f8], 0xb9a
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101535f7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1015361a
jmp 0x10153606
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x101535dd
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101535f7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov dword [0x101710f4], 0xffffece3
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x48], eax
call fcn.101516b0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10153686
lea eax, [esp + 0x38]
mov ecx, dword [0x101710f4]
add ecx, 0xfffff7cd
mov dword [0x101710f4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101522f0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x402d30
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push 0
push str.UseNTAccount
push str.Server
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x12c
lea ecx, [esi + 2]
push ecx
push 0x41b834
test eax, eax
push str.DataSource
setne al
push str.Server
mov byte [esi], al
call ebx
push edi
push 0x12c
lea edx, [esi + 0x4b2]
push edx
push 0x41b834
push str.Database
push str.Server
call ebx
cmp byte [esi], 0
push edi
push 0x12c
je 0x402dd1
lea eax, [esi + 0x70a]
push eax
push 0x41b834
push str.NTUserName
push str.Server
call ebx
push edi
push 0x12c
add esi, 0x962
push esi
push 0x41b834
push str.NTPassword
push str.Server
call ebx
pop esi
pop ebx
ret
lea ecx, [esi + 0x70a]
push ecx
push 0x41b834
push str.UserName
push str.Server
call ebx
push edi
push 0x12c
add esi, 0x962
push esi
push 0x41b834
push str.Password
push str.Server
call ebx
pop esi
pop ebx
ret

Function at 0x402e10
Capabilities:
Impersonate user

Disassembly:
sub esp, 0x20c
mov eax, dword [0x41e040]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0040c350
push 0x103
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.00407f41
lea eax, [esp + 0x24]
push 0x5c
push eax
call fcn.0040807a
add esp, 0x20
add esi, 8
push esi
push 0
push 2
push ebx
test eax, eax
jne 0x402e7a
push 0x419b68
jmp 0x402e9a
xor ecx, ecx
lea edx, [esp + 0x1c]
mov word [eax], cx
push edx
add eax, 2
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
mov edi, eax
test edi, edi
jne 0x402ea7
push esi
push eax
push 2
push ebx
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
mov edi, eax
test edi, edi
je 0x402eba
mov esi, dword [esi]
test esi, esi
je 0x402eb6
push esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, eax
test edi, edi
jne 0x402ece
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x419b6c
call fcn.00407fcb
add esp, 8
mov ecx, dword [esp + 0x214]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebp
xor ecx, esp
call fcn.00407bfa
add esp, 0x20c
ret 4