joyce8/EMBER2024-capa huggingface dataset:
Function at 0x544850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x544878
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x54492e
mov esi, esi
xor eax, eax
push 0x54490f
push ebp
push 0x415860
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040d1c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x544904
cmp dword [ebp - 8], 0
je 0x544904
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x54492e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x590bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00590b90
push ebp
push 0x4154e0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.0040a9d0
cmp dword [ebp - 0xc], 0
jle 0x590c18
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x590c0c
mov eax, 0x6972f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a9d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040b110
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x590c41
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x590c4d
mov eax, 0x6972f0
call fcn.0046a320
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00590b90
mov esp, ebp
pop ebp
ret
Function at 0x592110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, ecx
mov edx, 0x680250
call fcn.0040e950
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00592100
push ebp
push 0x4154e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
add eax, 0x34
xor edx, edx
call fcn.00408b60
mov eax, dword [ebp - 0xc]
mov edx, fcn.00518e70
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
xor dx, dx
call fcn.004094b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 0x30
call fcn.00408b60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.005902c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00592780
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x59222c
mov eax, dword [ebp - 4]
call fcn.00538e90
test al, al
jne 0x59222c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00592100
mov esp, ebp
pop ebp
ret
Function at 0x5e1150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
push ebx
mov ecx, dword [ebp - 0xc]
jecxz 0x5e118a
mov ebx, dword [ebp - 4]
mov ax, word [ebx]
mov edx, dword [ebp - 8]
xor ah, byte [edx]
movzx ebx, ah
shl ax, 8
inc edx
xor ax, word [ebx + ebx + 0x60ebe0]
dec ecx
jne 0x5e116f
mov ebx, dword [ebp - 4]
mov word [ebx], ax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e11c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
push esi
push ebx
mov ecx, dword [ebp - 0xc]
jecxz 0x5e11fc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov esi, dword [ebp - 8]
movzx ebx, byte [esi]
inc esi
mov edx, eax
shr edx, 0x10
xor bl, dl
shl eax, 8
xor eax, dword [ebx*4 + 0x60ede0]
dec ecx
jne 0x5e11df
mov edx, dword [ebp - 4]
mov dword [edx], eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5e1270
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
push ebx
mov ecx, dword [ebp - 0xc]
jecxz 0x5e12a6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
movzx ebx, byte [edx]
inc edx
xor bl, al
shr eax, 8
xor eax, dword [ebx*4 + 0x60f1e0]
dec ecx
jne 0x5e128e
mov edx, dword [ebp - 4]
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e12e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
push ebx
push esi
mov ecx, dword [ebp - 0xc]
jecxz 0x5e132a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov ebx, edx
shr ebx, 0x18
xor bl, byte [esi]
inc esi
shld edx, eax, 8
shl eax, 8
xor edx, dword [ebx*4 + 0x60f9f0]
xor eax, dword [ebx*4 + 0x60f5f0]
dec ecx
jne 0x5e1302
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e1b70
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
xor cl, cl
mov edx, 0x1c0
call fcn.004037d0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x5e27d0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
xor cl, cl
mov edx, 0x1c0
call fcn.004037d0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x5e43a0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
xor cl, cl
mov edx, 0x1c0
call fcn.004037d0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret

Function at 0x5e4650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x5e465b
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x5e4674
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e4d30
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
xor cl, cl
mov edx, 0x1c0
call fcn.004037d0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret

Function at 0x5e50f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
push edi
push ebx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [esi], eax
add esi, 4
add edx, 4
dec ecx
jne 0x5e510b
mov ecx, 0x30
mov edi, dword [esi - 0x1c]
mov eax, dword [esi - 8]
mov ebx, eax
mov edx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x5e5124
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5e7320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edx, dword [ebp + 8]
test edx, edx
jle 0x5e7359
cmp edx, 7
jg 0x5e7359
mov al, byte [edx + 0x60ebc0]
and cl, al
or cl, byte [edx + 0x60ebd0]
mov eax, dword [ebx + 0xd0]
mov byte [ebx + eax + 0x50], cl
mov eax, ebx
xor cl, cl
call fcn.005e71b0
jmp 0x5e7364
mov eax, dword [ebx + 0xd0]
mov byte [ebx + eax + 0x50], pe_nt_image_headers32
mov eax, dword [ebx + 0xd0]
add eax, 1
cmp eax, 0x7f
jg 0x5e7388
sub eax, 1
lea esi, [esi]
add eax, 1
mov byte [ebx + eax + 0x50], 0
cmp eax, 0x7f
jl 0x5e7378
lea esi, [esi]
cmp dword [ebx + 0xd0], 0x70
jl 0x5e73a8
mov eax, ebx
call fcn.005e5bf0
lea eax, [ebx + 0x50]
xor cl, cl
mov edx, pe_nt_image_headers32
call fcn.004037d0
nop
mov eax, dword [ebx + 0x4c]
call fcn.005e5bd0
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0x48]
call fcn.005e5bd0
mov dword [ebx + 0xc4], eax
mov eax, dword [ebx + 0x44]
call fcn.005e5bd0
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x40]
call fcn.005e5bd0
mov dword [ebx + 0xcc], eax
mov eax, ebx
call fcn.005e5bf0
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov eax, edi
xor eax, 1
mov eax, dword [ebx + eax*4]
call fcn.005e5bd0
mov dword [esi + edi*4], eax
cmp edi, 0xf
jl 0x5e73f0
mov eax, ebx
xor cl, cl
mov edx, 0x1c0
call fcn.004037d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5e7bd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0xc0]
mov ebx, eax
lea edi, [esp + 0x40]
mov esi, ebx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
lea edx, [ebx + 0x50]
mov eax, ebx
lea ecx, [esp + 0x80]
call fcn.005e7530
mov edi, 0xffffffff
nop
add edi, 1
mov eax, edi
shl eax, 2
mov esi, eax
mov edx, esp
lea eax, [esp + 0x40]
call fcn.005e75f0
mov edx, dword [esi*4 + 0x610940]
xor dword [esp], edx
mov edx, dword [esi*4 + 0x610944]
xor dword [esp + 4], edx
lea edx, [esp + 0x40]
lea eax, [esp + 0x80]
call fcn.005e75f0
lea ecx, [esp + 0x80]
lea edx, [esp + 0x40]
mov eax, esp
call fcn.005e7530
lea edx, [esp + 0x40]
mov eax, esp
call fcn.005e75f0
mov edx, dword [esi*4 + 0x610948]
xor dword [esp + 0x40], edx
mov edx, dword [esi*4 + 0x61094c]
xor dword [esp + 0x44], edx
mov edx, esp
lea eax, [esp + 0x80]
call fcn.005e75f0
lea ecx, [esp + 0x80]
mov edx, esp
lea eax, [esp + 0x40]
call fcn.005e7530
cmp edi, 4
jl 0x5e7c00
lea edx, [ebx + 0x50]
lea ecx, [esp + 0x80]
lea eax, [esp + 0x80]
call fcn.005e7530
mov ecx, ebx
mov edx, ebx
lea eax, [esp + 0x80]
call fcn.005e7530
lea esp, [esp + 0xc0]
pop edi
pop esi
pop ebx
ret
Function at 0x5e9e50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov eax, esi
shr eax, 0x18
call fcn.005e9e00
mov edx, esi
shl edx, 8
xor eax, edx
mov edx, ebx
shr edx, 0x18
xor eax, edx
mov esi, eax
shl ebx, 8
cmp edi, 7
jl 0x5e9e60
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x5ef960
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 8]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [ecx - 1]
test eax, eax
jl 0x5efa90
mov ebx, eax
add ebx, 1
mov esi, esi
sub ebx, 1
mov eax, dword [esp + 4]
mov esi, dword [eax]
add dword [esp + 4], 4
mov eax, dword [esp + 4]
mov ecx, dword [eax]
add dword [esp + 4], 4
mov edi, esi
and edi, 0xffff
mov eax, ecx
shl eax, 0x10
or edi, eax
mov edx, edi
mov eax, esi
shr eax, 0x10
mov edi, ecx
and edi, 0xffff0000
or eax, edi
mov ecx, eax
mov esi, edx
mov eax, esi
shr eax, 8
xor eax, esi
and eax, 0xff00
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 8
xor eax, edi
mov esi, eax
shr eax, 4
xor eax, esi
and eax, 0xf000f0
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 4
xor eax, edi
mov esi, eax
shr eax, 2
xor eax, esi
and eax, 0xc0c0c0c
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 2
xor eax, edi
mov esi, eax
shr eax, 1
xor eax, esi
and eax, 0x22222222
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 1
xor eax, edi
mov esi, eax
mov eax, ecx
shr eax, 8
xor eax, ecx
and eax, 0xff00
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 8
xor eax, edi
mov ecx, eax
shr eax, 4
xor eax, ecx
and eax, 0xf000f0
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 4
xor eax, edi
mov ecx, eax
shr eax, 2
xor eax, ecx
and eax, 0xc0c0c0c
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 2
xor eax, edi
mov ecx, eax
shr eax, 1
xor eax, ecx
and eax, 0x22222222
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 1
xor eax, edi
mov ecx, eax
mov eax, dword [esp]
mov dword [eax], esi
add dword [esp], 4
mov eax, dword [esp]
mov dword [eax], ecx
add dword [esp], 4
test ebx, ebx
jg 0x5ef980
nop
lea esp, [esp + 8]
pop edi
pop esi
pop ebx
ret
Function at 0x5efaa0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 8]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
test eax, eax
jl 0x5efbd8
mov ebx, eax
add ebx, 1
mov esi, esi
sub ebx, 1
mov eax, dword [esp]
mov esi, dword [eax]
add dword [esp], 4
mov eax, esi
shr eax, 1
xor eax, esi
and eax, 0x22222222
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 1
xor eax, edi
mov esi, eax
shr eax, 2
xor eax, esi
and eax, 0xc0c0c0c
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 2
xor eax, edi
mov esi, eax
shr eax, 4
xor eax, esi
and eax, 0xf000f0
mov edx, eax
mov edi, edx
xor edi, esi
mov eax, edx
shl eax, 4
xor edi, eax
mov esi, edi
mov eax, esi
shr eax, 8
xor eax, esi
and eax, 0xff00
mov edx, eax
xor eax, esi
mov edi, edx
shl edi, 8
xor eax, edi
mov esi, eax
mov eax, dword [esp]
mov ecx, dword [eax]
add dword [esp], 4
mov eax, ecx
shr eax, 1
xor eax, ecx
and eax, 0x22222222
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 1
xor eax, edi
mov ecx, eax
shr eax, 2
xor eax, ecx
and eax, 0xc0c0c0c
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 2
xor eax, edi
mov ecx, eax
shr eax, 4
xor eax, ecx
and eax, 0xf000f0
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 4
xor eax, edi
mov ecx, eax
shr eax, 8
xor eax, ecx
and eax, 0xff00
mov edx, eax
xor eax, ecx
mov edi, edx
shl edi, 8
xor eax, edi
mov ecx, eax
mov edi, esi
and edi, 0xffff
mov eax, ecx
shl eax, 0x10
or edi, eax
mov eax, dword [esp + 4]
xor edi, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], edi
add dword [esp + 4], 4
mov edi, esi
shr edi, 0x10
mov eax, ecx
and eax, 0xffff0000
or edi, eax
mov eax, dword [esp + 4]
xor edi, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], edi
add dword [esp + 4], 4
test ebx, ebx
jg 0x5efac0
lea esp, [esp + 8]
pop edi
pop esi
pop ebx
ret
Function at 0x5f1080
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x48]
push ebx
push esi
push edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov esi, ecx
mov bx, word [ebp + 8]
mov eax, dword [ebp - 0x48]
xor cl, cl
mov edx, 0x254
call fcn.004037d0
test dword [ebp - 0x44], 0xffffffff
je 0x5f1168
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x250], eax
mov eax, dword [ebp - 0x44]
mov di, word [eax + 8]
cmp di, bx
jae 0x5f10fa
movzx eax, bx
push eax
mov ecx, esi
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x44]
call fcn.005e0ff0
mov eax, dword [ebp - 0x44]
mov bx, word [eax + 0xa]
movzx eax, bx
mov ecx, eax
mov eax, dword [ebp - 0x48]
lea edx, [eax + 0x1c0]
lea eax, [ebp - 0x40]
call fcn.00403790
jmp 0x5f110f
movzx eax, bx
mov ecx, eax
mov eax, dword [ebp - 0x48]
lea edx, [eax + 0x1c0]
mov eax, esi
call fcn.00403790
movzx eax, di
sub eax, 1
mov cx, ax
mov dx, 0xffff
lea esi, [esi]
add dx, 1
movzx eax, dx
mov ebx, dword [ebp - 0x48]
movzx eax, byte [ebx + eax + 0x1c0]
xor eax, 0x36
movzx ebx, dx
mov esi, dword [ebp - 0x48]
mov byte [esi + ebx + 0x1c0], al
cmp cx, dx
ja 0x5f1120
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [eax + 0x1c0]
movzx ecx, di
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
call dword [ebx + 0x14]
mov esi, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f11d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
cmp dword [edi + 0x250], 0
je 0x5f1270
mov eax, dword [edi + 0x250]
mov bx, word [eax + 8]
mov edx, esi
mov eax, edi
mov ecx, dword [edi + 0x250]
call dword [ecx + 0x10]
movzx eax, bx
sub eax, 1
mov ecx, eax
test ecx, ecx
jl 0x5f122c
mov edx, 0xffffffff
lea esi, [esi]
add edx, 1
movzx eax, byte [edi + edx + 0x1c0]
xor eax, 0x6a
mov byte [edi + edx + 0x1c0], al
cmp ecx, edx
jg 0x5f1210
lea esi, [esi]
mov eax, edi
mov edx, dword [edi + 0x250]
call dword [edx + 0xc]
lea edx, [edi + 0x1c0]
movzx ecx, bx
mov eax, edi
mov ebx, dword [edi + 0x250]
call dword [ebx + 0x14]
mov eax, dword [edi + 0x250]
movzx ecx, word [eax + 0xa]
mov edx, esi
mov eax, edi
mov ebx, dword [edi + 0x250]
call dword [ebx + 0x14]
mov edx, esi
mov eax, edi
mov ecx, dword [edi + 0x250]
call dword [ecx + 0x10]
nop
pop edi
pop esi
pop ebx
ret
Function at 0x5f12b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30c]
push ebx
push esi
push edi
mov dword [ebp - 0x2ec], edx
mov word [ebp - 0x2f0], cx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2e4], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2e8], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2e0], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2f4], edx
test eax, eax
jne 0x5f1304
mov dword [ebp - 0x2dc], 1
jmp 0x5f151c
cmp word [eax + 0xa], 0
jne 0x5f131c
mov dword [ebp - 0x2dc], 2
jmp 0x5f151c
test dword [ebp - 0x2ec], 0xffffffff
jne 0x5f1333
cmp word [ebp - 0x2f0], 0
ja 0x5f1348
test dword [ebp - 0x2e4], 0xffffffff
jne 0x5f1358
cmp dword [ebp - 0x2e8], 0
jle 0x5f1358
mov dword [ebp - 0x2dc], 4
jmp 0x5f151c
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2f8], eax
mov ax, word [eax + 0xa]
mov word [ebp - 0x2fc], ax
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x304], ecx
lea eax, [ebp - 4]
xor cl, cl
mov edx, 4
call fcn.004037d0
mov edx, dword [ebp - 0x2f4]
lea eax, [edx - 1]
movzx ecx, word [ebp - 0x2fc]
cdq
idiv ecx
add eax, 1
mov dword [ebp - 0x308], eax
cmp eax, 1
jl 0x5f151c
mov dword [ebp - 0x30c], 0
lea esi, [esi]
add dword [ebp - 0x30c], 1
lea eax, [ebp - 4]
call fcn.005f1280
lea eax, [ebp - 0x84]
xor cl, cl
mov edx, 0x40
call fcn.004037d0
mov ebx, dword [ebp - 0x2e0]
cmp ebx, 1
jl 0x5f14b8
xor edi, edi
lea esi, [esi]
add edi, 1
push dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2d8]
call fcn.005f1080
cmp edi, 1
jne 0x5f1451
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2d8]
call fcn.005f11b0
lea edx, [ebp - 4]
lea eax, [ebp - 0x2d8]
mov ecx, 4
call fcn.005f11b0
jmp 0x5f1468
movzx eax, word [ebp - 0x2fc]
mov ecx, eax
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x2d8]
call fcn.005f11b0
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x2d8]
call fcn.005f11d0
movzx eax, word [ebp - 0x2fc]
sub eax, 1
mov cx, ax
mov si, 0xffff
nop
add si, 1
movzx eax, si
movzx edx, si
mov al, byte [ebp + eax - 0x84]
mov dl, byte [ebp + edx - 0x44]
xor dl, al
movzx eax, si
mov byte [ebp + eax - 0x84], dl
cmp cx, si
ja 0x5f1488
cmp ebx, edi
jg 0x5f1400
nop
movzx eax, word [ebp - 0x2fc]
sub eax, 1
mov dx, ax
mov si, 0xffff
lea esi, [esi]
add si, 1
mov eax, dword [ebp - 0x2f4]
cmp eax, dword [ebp - 0x300]
jle 0x5f1504
movzx eax, si
mov al, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x304]
mov byte [ecx], al
add dword [ebp - 0x300], 1
add dword [ebp - 0x304], 1
nop
cmp dx, si
ja 0x5f14d0
mov eax, dword [ebp - 0x308]
cmp eax, dword [ebp - 0x30c]
jg 0x5f13c8
nop
mov eax, dword [ebp - 0x2dc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x100062fa
pop dword [ebp - 0x38]
mov eax, 0x100062fa
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x38508
push 0
mov eax, 0xc0b33117
add eax, 0x4f4e0f4d
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xa71faa5d
sub ecx, 0xa71f6532
xor esi, esi
add esi, eax
mov edx, 0x2dbdfb17
add edx, 0xe2438ae9
add edx, dword [ebp - 0x38]
mov ebx, 0x7603dc6c
sub ebx, 0x63dad237
sub dword [ebp - 0x30], edi
mov edi, dword [edx]
mov dword [ebp - 0x20], 0x8702ff46
add edi, ebx
xor dword [ebp - 0x30], edx
mov dword [esi], edi
add esi, 0x206ff91d
add esi, 0xdf9006e7
add edx, 4
loop 0x10006356
add eax, 0x1077f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret