joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b3f1240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [0x6b4ee02c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.6b4987f0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.6b4671e0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
je 0x6b3f12cd
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, eax
call fcn.6b3ea2f0
sub esp, 8
movsx edx, al
lea eax, [esp + 0x44]
mov dword [esp], edx
mov ecx, eax
call fcn.6b467d60
sub esp, 4
add dword [esp + 0x14], 1
jmp 0x6b3f1285
mov dword [esp + 0x38], 0x6b4a7280
mov dword [esp + 0x30], 0x6b4a7280
mov dword [esp + 0x3c], 0x6b4a7480
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x3c]
je 0x6b3f137b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.6b499374
test al, al
je 0x6b3f1371
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.6b429c00
mov eax, dword [esp + 0x40]
sub eax, 0x6b4a7280
sar eax, 2
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov ecx, eax
call fcn.6b3ea220
sub esp, 4
movsx edx, al
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2f]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 1
mov ecx, eax
call fcn.6b467140
sub esp, 0xc
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.6b429c30
jmp 0x6b3f1386
add dword [esp + 0x30], 4
jmp 0x6b3f12e5
mov eax, dword [esp + 0x1c]
mov ecx, eax
call fcn.6b4671e0
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.6b467940
mov eax, dword [esp + 0x5c]
sub eax, dword [0x6b4ee02c]
je 0x6b3f13a2
call fcn.6b3c15c0
mov eax, dword [esp + 0x1c]
add esp, 0x6c
ret 0xc
Function at 0xd949a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdd8e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xdf2014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xdf30ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00da80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xdf2a8c
push eax
call fcn.00da80c0
mov esi, dword [0xdf30fc]
xor ebx, ebx
mov edi, dword [0xdf3100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xdf6390], bl
mov eax, ebx
mov ecx, 0xdf30ec
cmovae ecx, dword [0xdf30ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xdf64a0], al
inc ebx
cmp ebx, 0x100
jl 0xd94a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xdf6390]
movzx eax, byte [esi + 0xdf64a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xd94a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xdf6390]
mov byte [esi + 0xdf6390], al
inc esi
mov byte [edi + 0xdf6390], dl
cmp esi, 0x100
jl 0xd94a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00d94690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xd94ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd94abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd94b1f
push edx
push ecx
call fcn.00dad663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xd94b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd94b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd94b1f
push edx
push ecx
call fcn.00dad663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00dc6c6a
int3
Function at 0xd970a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xdf2014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x4d20000
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xd97289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xd97289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00dc40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x4d200fe
nop
test eax, eax
je 0xd97289
push 4
push 0x1000
push 4
push 0
call 0x4d10d7c
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x4d00006
nop
test eax, eax
je 0xd97289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xde8df8
push dword [esp + 0x30]
call 0x4d003e5
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xd971ac
push 0xde8dfc
push 0xde8e14
call 0x4d10a90
nop
push eax
call 0x4d00150
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x4d002e7
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xd97289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x4d10f23
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xd97243
mov dword [esp + 0xc], eax
call fcn.00d96ef0
push eax
call 0x4d109d4
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x4d10f23
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xd971f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x4d10f23
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x4d00523
nop
push dword [esp + 0x24]
call 0x4d10b26
nop
push 0x8000
push 0
push esi
call 0x4d10e43
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00dacff1
mov esp, ebp
pop ebp
ret
Function at 0xd9af20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdd9726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0xdf2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00dc8b63
push eax
call fcn.00dc6660
add esp, 8
call fcn.00dc663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00dc663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00dc663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00d945b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0xd9afd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xd9afe6
push 0x40
push 0
push 0xdf8560
sub esi, ecx
call fcn.00dc40f0
add esp, 0xc
mov dword [0xdf8554], 0
mov edx, esi
mov dword [0xdf8550], 0
lea ecx, [ebp - 0x410]
mov dword [0xdf8540], 0x67452301
mov dword [0xdf8544], 0xefcdab89
mov dword [0xdf8548], 0x98badcfe
mov dword [0xdf854c], 0x10325476
call fcn.00d95530
call fcn.00d955f0
mov ecx, 0xdf65a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xd9b071
sub ecx, edx
push ecx
push 0xdf65a0
lea ecx, [ebp - 0x42c]
call fcn.00da80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0xd9b0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd9b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd9b18c
push edx
push ecx
call fcn.00dad663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0xd9b187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00da80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0xd9b169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd9b15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd9b18c
push edx
push ecx
call fcn.00dad663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00dacff1
mov esp, ebp
pop ebp
ret
call fcn.00da8200
call fcn.00dc6c6a
int3
Function at 0xdadcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x4d30df6
nop
test eax, eax
je 0xdadd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xdadd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xdadd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xdadd07
cmp dword [ecx + 0x74], 0xe
jbe 0xdadd07
cmp dword [ecx + 0xe8], 0
je 0xdadd07
mov al, 1
ret
xor al, al
ret

Function at 0xf87c45
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf87c5e
push eax
push eax
push edx
pushal
jae 0xf87c68
pushal
popal
popal
rdtsc
push ecx
jno 0xf87c74
pop ecx
pop edx
pop eax
mov eax, dword [esp + 4]
jle 0xf87c8f
jmp 0xf87c8f
mov eax, dword [eax]
push edi
push eax
push edx
push eax
pop eax
rdtsc
push ebx
pop ebx
pop edx
pop eax
pop edi
mov dword [esp + 4], eax
push eax
push edx
push eax
push ebx
pop ebx
pop eax
rdtsc
jle 0xf87cb5
jb 0xf87cb5
pop edx
pop eax
pop eax
js 0xf87cc4
mov dword [ebp + 0x122d1d52], ebx
push dword [ebp + 0x122d146d]
pushal
movsx ecx, ax
sub dword [ebp + 0x122d1e5d], edi
popal
call dword [ebp + 0x122d37b9]
adc si, 0x6ca4
jmp 0xf87cf7
push eax
push eax
push edx
push eax
push edx
js 0xf87d02
rdtsc
push esi
pop esi
pop edx
pop eax
rdtsc
pushal
pushal
popal
jmp 0xf87d1d
popal
pop edx
pop eax
mov dword [esp], eax
call 0xf87d2d
push esp
insd dword es:[edi], dx
mov ss, word [esi]
test al, 0x91
stc
add dword [eax], eax
add byte [ecx], dl
fist word [eax*2 - 0x6eae3411]
mov ah, 0xde
insb byte es:[edi], dx
cmpsd dword [esi], dword es:[edi]
popal
pop edi
push 0
push 0
push ebx
call 0xf87d4d
and byte [ebx - 0x3d], bl
pop ebx
mov dword [esp + 4], ebx
add dword [esp + 4], 0x19
inc ebx
push ebx
ret
Function at 0x100016aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [0x101c250c]
add ecx, 0xf46
mov dword [0x101c250c], ecx
mov dword [ebp - 0x10], eax
call fcn.1000196b
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101c250c], 0x6e4
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10001731
jmp 0x1000173c
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x10001768
jmp 0x10001795
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
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 - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
jne 0x10001707
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x100017c7
jmp 0x1000179e
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], ecx
jb 0x1000174e
jmp 0x10001731
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x101c250c], 0x338
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x10001731
Function at 0x10001b93
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x101c250c], 0x332
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101c250c]
add edx, 0xfffff07e
mov dword [0x101c250c], 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 0x10001c13
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10001cb6
jmp 0x10001c09
mov dword [0x101c2510], 0x1343
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10001c5e
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x10001cdb
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 0x10001c40
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 0x10001c13
mov eax, dword [ebp - 0x20]
mov dword [0x101c2510], 0x346
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10001bf0
jmp 0x10001c09
mov dword [0x101c250c], 0xfffff99d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10001c09
mov dword [0x101c250c], 0x1089
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10001c09
mov dword [0x101c250c], 0x1be
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10001bdb
jmp 0x10001c09
mov eax, 1
mov dword [0x101c250c], 0x9b4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10001c09
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x10001e58
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 esi, dword [0x101c250c]
mov dword [0x101c2510], 0x50b
add esi, 0x58f
mov dword [0x101c250c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10001f49
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x101c250c]
add ecx, 0x13a5
mov dword [0x101c2510], ecx
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 [0x101c250c]
add ecx, 0x1367
mov dword [0x101c2510], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10002932
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x50], ecx
mov dword [0x101c250c], 0x51f
add ecx, 0x11e9
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10001f40
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101b525e]
mov dl, byte [eax + 0x101b522f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10001f49
lea eax, [ebp - 0x24]
mov dword [0x101c2510], 0x43d
mov dword [ebp - 0x44], eax
call fcn.10002645
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100017ef
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x10001e91
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100022ad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x101c250c], 0x85f
call fcn.10001083
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10002300
jmp 0x10002436
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x100023a4
jmp 0x100023c8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x10002436
lea eax, [esp + 0x38]
mov ecx, dword [0x101c2510]
add ecx, 0xffffff68
mov dword [0x101c2510], ecx
mov dword [esp + 0x14], eax
call fcn.10001b93
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x100022f3
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10001fa9
lea ecx, [0x10001e00]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [0x101c2510], 0x2662
mov dword [esp + 0x44], 0x147800
mov edx, dword [0x101c24f8]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101c24fc]
mov dword [esp + 0x68], edx
mov edx, dword [0x101c2500]
mov dword [esp + 0x84], edx
mov edx, dword [0x101c2504]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101c2508]
mov dword [esp + 0x60], edx
mov dword [0x101c250c], 0x18f4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x100022db
mov eax, dword [esp + 0x1c]
add eax, 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x100023df
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x100022db
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], esi
mov dword [0x101c250c], 0x1aa2
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10001e58
mov dword [0x101c2510], 0x80f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x100022f3
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10002440
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 [0x101c2510], 0x123
mov dword [0x101c2514], 0
mov dword [0x101c2518], 0
mov dword [0x101c2524], 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 0x100025b6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101c2514], edx
mov dword [0x101c250c], 0xfe6
mov ebx, dword [ebp - 0x20]
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 [0x101c2518], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101c251c], cl
mov dword [0x101c250c], 0x3d8
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c251c]
mov edx, dword [0x101c2518]
mov byte [ebx + edx], cl
mov edx, dword [0x101c2514]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c2518]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c2524], ecx
mov dword [0x101c250c], 0x24f
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dl, cl
add dl, byte [0x101c2529]
mov byte [0x101c2528], dl
mov byte [0x101c2529], ch
mov byte [0x101c252a], cl
xor ch, cl
mov dword [0x101c250c], 0x273
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101c2510], 0x17cb
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x100025b6
mov eax, dword [0x101c2514]
mov ecx, dword [0x101c2518]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100024a3
mov dword [0x101c250c], 0x1708
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000276a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c2518], 0
mov byte [0x101c251c], 0
mov dword [0x101c250c], 0x1066
mov dword [0x101c2514], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100027d1
xor eax, eax
mov dword [0x101c2514], 0
mov ecx, dword [0x101c2510]
add ecx, 0x24dd
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10002803
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101c250c], 0x14c8
mov eax, dword [0x101c2514]
add eax, 1
mov dword [0x101c2514], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100027d1
jmp 0x100027b1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x31a6
mov esi, 0x100
mov dword [0x101c2520], 0
mov edi, dword [0x101c2518]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101c2520], ebx
mov dword [0x101c250c], ecx
mov eax, ebx
cdq
idiv esi
mov dword [0x101c2518], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [ecx + esi]
mov byte [0x101c251c], cl
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c251c]
mov edx, dword [0x101c2518]
mov byte [ebx + edx], cl
mov dword [0x101c250c], 0xe81
mov dword [0x101c2510], 0xcc9
mov edx, dword [0x101c2514]
add edx, 1
mov dword [0x101c2514], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10002803
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret