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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x80
xor edi, edi
lea ebx, [esi + 0x46bf8]
push edi
push ebx
call fcn.101527d0
fld1
fst qword [esp + 0x3c]
push 0x409a8
fst qword [esp + 0x48]
or ebp, 0xffffffff
fst qword [esp + 0x50]
push edi
fstp qword [esp + 0x5c]
mov dword [ebx + 0x80], edi
fld qword [0x1023ab50]
push esi
fstp qword [esp + 0x68]
mov dword [esp + 0x28], edi
fld qword [0x1023ab30]
mov dword [esp + 0x2c], edi
fstp qword [esp + 0x70]
mov dword [esp + 0x30], ebp
fldz
mov dword [esp + 0x34], ebp
fst qword [esp + 0x78]
mov dword [esp + 0x38], edi
fst qword [esp + 0x80]
mov dword [esp + 0x3c], edi
fst qword [esp + 0x88]
mov dword [esp + 0x40], ebp
fstp qword [esp + 0x90]
mov dword [esp + 0x44], ebp
mov dword [esi + 0x409a8], edi
call fcn.101527d0
push 0xb0
lea eax, [esi + 0x409b0]
push edi
push eax
call fcn.101527d0
xor eax, eax
mov dword [esi + 0x46c80], eax
mov dword [esi + 0x46c88], eax
mov dword [esi + 0x46c8c], eax
mov dword [esi + 0x46c90], eax
mov eax, dword [esp + 0xa8]
mov ecx, eax
mov ebx, 1
and cl, bl
movzx edx, cl
neg edx
sbb edx, edx
and al, 2
movzx eax, al
not edx
and edx, 0x100718c0
neg eax
sbb eax, eax
push 0x20
lea ecx, [esp + 0x58]
mov dword [esi + 0x46c7c], edx
not eax
push ecx
lea edx, [esi + 0x40888]
and eax, 0x100718f0
push edx
mov dword [esi + 0x46c84], eax
call fcn.10152190
push 0x30
lea eax, [esp + 0x84]
push eax
lea ecx, [esi + 0x408a8]
push ecx
call fcn.10152190
push 0x10
lea edx, [esp + 0x50]
push edx
lea eax, [esi + 0x40868]
push eax
call fcn.10152190
add esp, 0x48
push 0x10
lea ecx, [esp + 0x24]
push ecx
lea edx, [esi + 0x40878]
push edx
call fcn.10152190
fld1
fst dword [esi + 0x408ec]
push 0x5230
fstp dword [esi + 0x40994]
mov dword [esi + 0x4090c], ebp
fld dword [0x1017870c]
mov dword [esi + 0x4092c], ebp
fstp dword [esi + 0x40940]
mov dword [esi + 0x40934], ebp
fld dword [0x10178708]
mov dword [esi + 0x40938], ebp
fstp dword [esi + 0x40944]
mov dword [esi + 0x40930], ebp
mov dword [esi + 0x40910], ebx
mov dword [esi + 0x40924], 8
mov dword [esi + 0x4094c], ebx
mov dword [esi + 0x40950], edi
mov dword [esi + 0x409a0], esi
mov dword [esi], edi
call fcn.1014f899
mov dword [esi + 0x409ac], eax
add esp, 0x10
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x5224], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
Function at 0x1007f8f0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0xc], 0
push ebx
push ebp
push esi
mov edx, 4
push edi
mov esi, ecx
lea ebx, [edx - 3]
je 0x1007fa4a
mov eax, dword [esi + 0x409ac]
mov dword [eax + 0x220], 0
mov ecx, dword [esi + 0x409ac]
cmp dword [ecx + 0x220], edx
jae 0x1007f962
mov eax, dword [esp + 0x20]
jmp 0x1007f930
mov ecx, dword [esi + 0x409ac]
imul eax, eax, 0x2e90edd
mov edi, dword [ecx + 0x220]
add eax, ebx
mov dword [ecx + edi*4 + 0x20], eax
mov ecx, dword [esi + 0x409ac]
add dword [ecx + 0x220], ebx
mov ecx, dword [esi + 0x409ac]
cmp dword [ecx + 0x220], edx
jb 0x1007f930
mov eax, dword [esi + 0x409ac]
mov ecx, dword [eax + 0x28]
xor ecx, dword [eax + 0x20]
mov edi, dword [eax + 0x2c]
shr ecx, 0x1f
add edi, edi
or ecx, edi
mov dword [eax + 0x2c], ecx
mov eax, dword [esi + 0x409ac]
mov dword [eax + 0x220], edx
mov ecx, dword [esi + 0x409ac]
mov edx, 0x7f
cmp dword [ecx + 0x220], edx
jae 0x1007f9e1
lea ebx, [ebx]
mov eax, dword [esi + 0x409ac]
mov ecx, dword [eax + 0x220]
mov edi, dword [eax + ecx*4 + 0x1c]
xor edi, dword [eax + ecx*4 + 0x14]
mov ebp, dword [eax + ecx*4 + 0x18]
xor ebp, dword [eax + ecx*4 + 0x10]
shr edi, 0x1f
add ebp, ebp
or edi, ebp
mov dword [eax + ecx*4 + 0x20], edi
mov eax, dword [esi + 0x409ac]
add dword [eax + 0x220], ebx
mov eax, dword [esi + 0x409ac]
cmp dword [eax + 0x220], edx
jb 0x1007f9a0
mov ecx, dword [esi + 0x409ac]
mov dword [ecx + 0x220], 0
mov eax, dword [esi + 0x409ac]
cmp dword [eax + 0x220], edx
jae 0x1007fa4a
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
jmp 0x1007fa10
mov eax, dword [esi + 0x409ac]
mov ecx, dword [eax + 0x220]
mov edx, dword [eax + ecx*4 + 0x20]
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x220]
mov dword [edi + ecx*4 + 0x20], eax
mov eax, dword [esi + 0x409ac]
add dword [eax + 0x220], ebx
mov edx, dword [esi + 0x409ac]
cmp dword [edx + 0x220], 0x7f
jb 0x1007fa10
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1007fab6
mov edx, dword [esp + 0x14]
jmp 0x1007fa60
mov ecx, dword [esi + 0x409ac]
mov eax, dword [ecx + 0x220]
sub edi, ebx
lea ebx, [eax - 0x3f]
lea ebp, [eax + 1]
and ebx, 0x7f
mov ebx, dword [ecx + ebx*4 + 0x20]
and ebp, 0x7f
xor ebx, dword [ecx + ebp*4 + 0x20]
and eax, 0x7f
mov dword [ecx + eax*4 + 0x20], ebx
mov eax, dword [esi + 0x409ac]
mov ecx, dword [eax + 0x220]
and ecx, 0x7f
mov eax, dword [eax + ecx*4 + 0x20]
xor dword [edx], eax
mov eax, dword [esi + 0x409ac]
mov ebx, 1
add dword [eax + 0x220], ebx
add edx, 4
test edi, edi
jne 0x1007fa60
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x1008a1a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov ebx, ecx
xor ebp, ebp
xor esi, esi
call fcn.10076330
mov ecx, dword [ebx + 0x409b0]
push 4
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0xff
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 1
lea edx, [esp + 0x14]
push edx
call eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call fcn.10076390
cmp eax, 0x80008
jne 0x1008a32a
mov ecx, dword [ebx + 0x409b0]
push 4
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0xff
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 1
lea eax, [esp + 0x14]
push eax
call edx
lea eax, [esp + 0xc]
push eax
mov ecx, ebx
call fcn.10076390
test eax, eax
je 0x1008a32a
mov ecx, ebx
call fcn.10076330
movzx eax, ax
mov dword [esp + 0x1c], eax
cmp eax, 0xa
je 0x1008a24c
cmp eax, 0xc
jne 0x1008a32a
mov ecx, 0x20
sub ecx, eax
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ecx
lea edi, [ebx + 0xcc]
mov dword [esp + 0x1c], 8
lea ebx, [ebx]
mov dword [esp + 0x18], 8
cmp esi, eax
jge 0x1008a2f9
mov ecx, dword [ebx + 0x409b0]
push 2
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xff
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 1
lea eax, [esp + 0x18]
push eax
call edx
movzx cx, byte [esp + 0x11]
mov eax, 0x4949
cmp word [ebx + 0x40a00], ax
jne 0x1008a2c2
movzx dx, byte [esp + 0x10]
shl cx, 8
or cx, dx
movzx ecx, cx
jmp 0x1008a2d2
movzx ax, byte [esp + 0x10]
shl ax, 8
or ax, cx
movzx ecx, ax
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 1
movzx edx, word [edx*2 + 0x10179f9c]
movzx ecx, cx
inc eax
xor edx, ecx
shl ebp, 0x10
or ebp, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add esi, 0x10
mov ecx, 0x20
sub ecx, esi
mov edx, ebp
shl edx, cl
mov ecx, dword [esp + 0x24]
sub esi, eax
add edi, 2
shr edx, cl
sub dword [esp + 0x18], 1
mov word [edi - 2], dx
jne 0x1008a278
sub dword [esp + 0x1c], 1
jne 0x1008a270
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1008d030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
fldz
push ebx
push esi
fst qword [esp + 0x1c]
push edi
fstp qword [esp + 0x28]
mov ebx, ecx
mov ecx, dword [ebx + 0x409b0]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov esi, 2
push esi
push esi
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call eax
sub dword [ebp + 8], esi
je 0x1008d114
jmp 0x1008d078
mov ebx, dword [esp + 0xc]
fstp st(0)
fstp st(0)
mov ecx, dword [ebx + 0x409b0]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
dec dword [ebp + 8]
push 1
push 2
lea edi, [esp + esi*2 + 0x20]
push edi
call eax
movzx edx, byte [edi]
movzx edi, byte [esp + esi*2 + 0x19]
mov eax, esi
xor eax, 2
add eax, eax
movzx ecx, byte [esp + eax + 0x18]
mov dword [esp + 0x14], edx
shl edx, 8
or edi, edx
movzx edx, byte [esp + eax + 0x19]
movzx eax, byte [esp + eax + 0x19]
mov ebx, ecx
shl ebx, 8
or edx, ebx
sub edx, edi
mov dword [esp + 0x10], edx
movzx edx, byte [esp + esi*2 + 0x19]
fild dword [esp + 0x10]
shl edx, 8
or edx, dword [esp + 0x14]
fmul st(0), st(0)
shl eax, 8
or eax, ecx
sub eax, edx
fadd qword [esp + 0x20]
mov dword [esp + 0x14], eax
inc esi
and esi, 3
cmp dword [ebp + 8], 0
fst qword [esp + 0x20]
fild dword [esp + 0x14]
fmul st(0), st(0)
fadd qword [esp + 0x28]
fst qword [esp + 0x28]
jne 0x1008d070
fcompp
fnstsw ax
test ah, 0x41
mov eax, 0x4d4d
je 0x1008d119
mov eax, 0x4949
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100906b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x56c
push ebx
push esi
mov esi, dword [esp + 0x578]
push edi
push esi
push 0xff
mov edi, ecx
call fcn.10152c5d
push esi
push 0xd8
call fcn.10152c5d
mov ebx, dword [esp + 0x590]
add esp, 0x10
mov ecx, str.Exif
lea eax, [ebx + 6]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10090710
test dl, dl
je 0x1009070c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10090710
add eax, 2
add ecx, 2
test dl, dl
jne 0x100906f0
xor eax, eax
jmp 0x10090715
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1009077d
mov eax, dword [0x10178bb8]
mov ecx, dword [0x10178bbc]
mov dx, word [0x10178bc0]
push 0x568
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], dx
call dword [sym.imp.WS2_32.dll_htons]
push esi
push 0xa
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.101504f9
add esp, 0x10
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.1008fb40
push esi
push 0x560
lea edx, [esp + 0x20]
push 1
push edx
call fcn.101504f9
add esp, 0x10
mov eax, dword [esp + 0x584]
push esi
add eax, 0xfffffffe
push eax
push 1
add ebx, 2
push ebx
call fcn.101504f9
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x56c
ret 0xc
Function at 0x1009ddf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov edx, ecx
movzx eax, word [edx + 0xac]
push ebx
movzx ebx, word [edx + 0xae]
push esi
mov esi, 2
sub eax, esi
cmp eax, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
jle 0x1009dfa3
fld qword [0x1023a7b8]
push ebp
fld qword [0x1023a7e0]
push edi
movzx eax, word [edx + 0xae]
mov ebp, dword [edx + 0x98]
imul eax, esi
mov ecx, esi
and ecx, 7
add ecx, ecx
add ecx, ecx
shr ebp, cl
lea ecx, [ebx - 2]
and ebp, 1
add ebp, 2
add eax, ebp
cmp ebp, ecx
jge 0x1009df86
lea edi, [eax + ebx]
mov esi, eax
sub esi, ebx
lea edx, [eax*8]
add ebx, ebx
mov dword [esp + 0x1c], ebx
add ebx, eax
sub eax, dword [esp + 0x1c]
add edi, edi
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov eax, ecx
sub eax, ebp
add esi, esi
add ebx, ebx
dec eax
add edi, edi
add esi, esi
add ebx, ebx
add ebx, ebx
shr eax, 1
add edi, edi
add esi, esi
inc eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x40860]
movzx ebp, word [edi + ecx + 6]
movzx eax, word [edx + ecx + 6]
movzx ebx, word [ebx + ecx + 6]
lea eax, [ebp + eax*2]
movzx ebp, word [esi + ecx + 6]
add eax, ebp
movzx ebp, word [edx + ecx + 0xe]
add eax, ebp
movzx ebp, word [edx + ecx - 2]
add eax, ebp
mov ebp, dword [esp + 0x14]
movzx ebp, word [ecx + ebp + 6]
lea eax, [ebp + eax*2]
movzx ebp, word [edx + ecx - 6]
add eax, ebx
movzx ebx, word [edx + ecx + 0x16]
add eax, ebx
movzx ebx, word [edx + ecx - 0xa]
add eax, ebx
movzx ebx, word [edx + ecx + 0xa]
add ebx, ebp
mov ebp, 0x10
sub ebp, eax
imul ebx, ebp
movzx ebp, word [esi + ecx + 2]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + ecx + 2]
fild dword [esp + 0x10]
add ebx, ebp
imul ebx, eax
fmul st(2)
add dword [esp + 0x14], 0x10
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
add ebx, 0x10
fild dword [esp + 0x10]
add edx, 0x10
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x28], eax
faddp st(1)
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x1c], 1
fmul st(1)
mov dword [esp + 0x18], ebx
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
mov ax, word [esp + 0x28]
mov word [edx + ecx - 0xe], ax
fldcw word [esp + 0x10]
jne 0x1009dea2
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 0xac]
inc esi
sub ecx, 2
cmp esi, ecx
mov dword [esp + 0x24], esi
jl 0x1009de2e
fstp st(1)
pop edi
fstp st(0)
pop ebp
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x100a6540
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100a656f
push esi
call fcn.100ac540
add esp, 4
cmp byte [esi + 0x40], 0
je 0x100a6568
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100a65e9
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x100a65d9
mov eax, dword [esi + 8]
test eax, eax
je 0x100a6594
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x100a65d5
cmp eax, 2
je 0x100a65d9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100a6585
cmp eax, 3
je 0x100a65bc
cmp eax, 1
jne 0x100a6585
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x100a6585
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x100a6585
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.100a6310
pop esi
ret
cmp eax, 0xcc
je 0x100a660b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.100a6310
pop esi
ret
Function at 0x100a7f90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp dword [ecx + 0x4c], eax
mov dword [esp], eax
jle 0x100a814f
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
push edi
lea ecx, [ecx]
mov ebp, dword [ecx + 0x54]
add ebp, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [ebp + 8]
imul eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ebx, eax
imul ebx, dword [esp + 0x48]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], edi
cmp dword [ebp + 0x20], edi
jbe 0x100a8134
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
push 1
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [edx + eax*4]
mov eax, dword [ecx + 0x20]
push edi
push edx
push esi
call eax
add esp, 0x14
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x24], 0
jle 0x100a811e
add ebx, edi
shl ebx, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
nop
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x1c], ebx
jbe 0x100a80fe
nop
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x20]
push 0
push edx
lea edx, [ebx + eax]
mov eax, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + edx*4]
push eax
push esi
call ecx
xor edi, edi
add esp, 0x14
cmp dword [ebp + 8], edi
mov dword [esp + 0x30], eax
jle 0x100a80ea
shl ebx, 7
jmp 0x100a8070
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + edi*4]
add edx, dword [esp + 0x18]
add ecx, ebx
add ecx, 0x20
add edx, 4
mov esi, 8
mov edi, edi
movzx eax, word [edx - 4]
mov word [ecx - 0x20], ax
movzx eax, word [edx - 2]
mov word [ecx - 0x10], ax
movzx eax, word [edx]
mov word [ecx], ax
movzx eax, word [edx + 2]
mov word [ecx + 0x10], ax
movzx eax, word [edx + 4]
mov word [ecx + 0x20], ax
movzx eax, word [edx + 6]
mov word [ecx + 0x30], ax
movzx eax, word [edx + 8]
mov word [ecx + 0x40], ax
movzx eax, word [edx + 0xa]
mov word [ecx + 0x50], ax
add ecx, 2
add edx, 0x10
sub esi, 1
jne 0x100a8090
inc edi
sub ebx, 0xffffff80
cmp edi, dword [ebp + 8]
jl 0x100a8070
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
add ebx, dword [ebp + 8]
mov dword [esp + 0x20], ebx
cmp ebx, dword [ebp + 0x1c]
jb 0x100a8030
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], 4
sub dword [esp + 0x18], 0xffffff80
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
jl 0x100a8020
mov ebx, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
add edi, eax
mov dword [esp + 0x28], edi
cmp edi, dword [ebp + 0x20]
jb 0x100a7fe0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], 0x58
inc eax
cmp eax, dword [ecx + 0x4c]
mov dword [esp + 0x10], eax
jl 0x100a7fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100b8730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x100b8757
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x100b8763
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x100b8876
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x100b87a8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x100b87c9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x100b881f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x100b8800
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x100b8800
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x100b87e6
cmp dword [esp + 0x10], 0
je 0x100b885d
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x100b8840
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x100b87a0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x100fec30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
push edi
push eax
push ecx
mov ebx, 1
xor esi, esi
mov dword [ebp - 8], esi
push ebx
call fcn.10105d80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add esp, 0xc
test edx, edx
je 0x100fedeb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [ecx + 0x278], eax
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
push 0x40
push fcn.101517d8
mov dword [eax + 0x280], esi
push edx
mov dword [ecx + 0x284], esi
call fcn.10107fa0
push esi
push eax
call fcn.101551e4
add esp, 0x14
test eax, eax
je 0x100fecb0
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
push esi
push eax
push edi
push ecx
call fcn.10105e50
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 4]
push eax
push ecx
push edx
call fcn.10107ff0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.10107560
add esp, 0x28
test eax, eax
jne 0x100fecf1
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 8]
test edx, edx
jne 0x100fed33
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov edx, dword [ecx + 0xb4]
mov eax, dword [ebp - 4]
push edx
push eax
call fcn.10105f00
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add esp, 8
mov dword [ecx + 0xb0], eax
cmp dword [edx + 0xb0], 0
jne 0x100fed33
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x98], 0x101061c0
mov eax, dword [ebp - 4]
mov dword [ecx + 0x9c], fcn.10106210
mov ecx, dword [ebp - 8]
mov dword [eax + 0xa0], edx
test ecx, ecx
jne case.0x100fed7e.0
mov edx, dword [ebp - 4]
push 0x38
add edx, 0x78
push str.1.2.7
push edx
call fcn.100f8af0
add eax, 6
add esp, 0xc
cmp eax, 6
ja case.0x100fed7e.5
jmp dword [eax*4 + 0x100fee34]
push str.zlib_memory_error
jmp 0x100feda7
mov ecx, dword [ebp - 4]
push str.zlib_stream_error
push ecx
jmp 0x100fedab
mov edx, dword [ebp - 4]
push str.zlib_version_error
push edx
jmp 0x100fedab
push str.Unknown_zlib_error
mov eax, dword [ebp - 4]
push eax
call fcn.10108010
mov dword [ebp - 8], ebx
add esp, 8
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100fedf4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.10105ed0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
push edi
push esi
push eax
mov dword [edx + 0xb0], 0
call fcn.10105e00
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
mov dword [ecx + 0x84], edx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [ebp - 4]
push 0
push 0
push eax
mov dword [ecx + 0x88], edx
call fcn.10107c30
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10100670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push esi
push edi
push eax
push ecx
mov dword [ebp - 8], 0
push 1
call fcn.10105d80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add esp, 0xc
test edx, edx
je 0x1010079d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [ecx + 0x278], eax
push 0x40
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
push fcn.101517d8
push eax
call fcn.10107fa0
push 0
push eax
call fcn.101551e4
add esp, 0x14
test eax, eax
je 0x101006dd
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
push esi
push ecx
push edi
push edx
call fcn.10105e50
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push ecx
push edx
push eax
call fcn.10107ff0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push edx
call fcn.10107560
add esp, 0x28
test eax, eax
jne 0x10100722
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xb4], 0x2000
test ecx, ecx
jne 0x10100768
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb4]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.10105f00
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 4]
add esp, 8
cmp dword [eax + 0xb0], 0
jne 0x10100768
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x101007a5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.10105ed0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
push edi
push esi
push eax
mov dword [edx + 0xb0], 0
call fcn.10105e00
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push ecx
call fcn.10106040
mov esi, dword [ebp - 4]
add esp, 0x10
call fcn.101005d0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10107fc0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10107fda
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x10107fda
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]