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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x55e837
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x55e808
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x55e81e
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
je 0x55e7e3
cmp ax, 0x303
jae 0x55e757
cmp cl, 0xe3
jne 0x55e721
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0045e53e
call fcn.0055e360
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004bbc70
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
je 0x55e6a8
jmp 0x55e6b4
lea eax, [0x5db180]
mov dword [esp], eax
lea eax, [0x65bd48]
mov dword [esp + 4], eax
call fcn.00431a30
nop
call fcn.0045c8b0
jmp fcn.0055e680
Function at 0x590710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x590868
sub esp, 0x6c
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x24], ebx
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0045e0a4
lea ecx, [0x605100]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0040d640
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x590787
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0040d8b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x590810
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [eax + 1]
cmp ecx, esi
jb 0x5907cd
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
lea ecx, [edx + eax*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x7a0970]
lea ebx, [edx + eax*8]
test ecx, ecx
jne 0x5907c2
mov dword [ebx], ebp
jmp 0x59076f
mov edi, ebx
mov eax, ebp
call fcn.0045de10
jmp 0x59076f
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebx
lea ebx, [0x5db180]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00445150
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
jmp 0x59079f
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x59085f
mov dword [edi], edx
lea eax, [0x6603b8]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00486380
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
mov eax, edx
call fcn.0045de10
jmp 0x59082e
call fcn.0045c8b0
jmp fcn.00590710
Function at 0x1000a1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x1000a2d6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x1000a2c5
jg 0x1000a230
test edx, edx
je 0x1000a2c5
nop dword [eax]
call fcn.1000b840
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000a284
jg 0x1000a247
test esi, esi
je 0x1000a284
cmp ebx, eax
jg 0x1000a257
jl 0x1000a251
cmp edi, esi
jae 0x1000a257
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.10022040
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x1000a2a9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x1000a2bf
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x1000a230
jl 0x1000a2bf
test edi, edi
jne 0x1000a230
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000a2f8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1000a2fa
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x1000a378
jg 0x1000a30d
test esi, esi
je 0x1000a378
test eax, eax
jl 0x1000a35c
jg 0x1000a317
test ebx, ebx
je 0x1000a35c
cmp edi, eax
jg 0x1000a327
jl 0x1000a321
cmp esi, ebx
jae 0x1000a327
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10022040
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x1000a378
jg 0x1000a35f
test esi, esi
je 0x1000a378
jmp 0x1000a35f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1000a378
push eax
push esi
push 1
push edx
call fcn.10028433
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1000a3c2
jl 0x1000a3b5
test ecx, ecx
jne 0x1000a3c2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000a482
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1000b860
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000a42e
jg 0x1000a3ed
test esi, esi
je 0x1000a42e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1000a405
mov eax, dword [esp + 0x10]
jl 0x1000a3ff
cmp eax, esi
jae 0x1000a405
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10022040
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000a44f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000a46b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1000a3d4
jl 0x1000a46b
test ecx, ecx
jne 0x1000a3d4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1000a4c1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x1000a4c1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10022040
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x1000a530
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x1000a4e7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x1000a519
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10028826
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1000a544
cmp edi, eax
ja 0x1000a4f5
test ecx, ecx
je 0x1000a530
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10028826
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000a8b0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a8ec
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000a8ec
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1000a9d2
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000a914
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000a947
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1002d4de
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x1000a9a5
sub eax, 1
je 0x1000a9a5
sub eax, 2
jne 0x1000a9d2
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.100098d0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000a9c2
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10028433
add esp, 0x10
cmp edi, eax
jne 0x1000a9d2
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1000a8d7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e883
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000b62a
cmp byte [esi + 0x3d], 0
je 0x1000b62a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000b618
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000b5e0
sub eax, 1
je 0x1000b5e4
sub eax, 2
jne 0x1000b618
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000b601
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10028433
add esp, 0x10
cmp edi, eax
jne 0x1000b618
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1001e883
mov esp, ebp
pop ebp
ret

Function at 0x1000bee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3d90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x102a000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001f148
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1001feca
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1000f041
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000f030
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10039e89
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10039cff

Function at 0x1003cd5b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003c9d8
Function at 0x1004d520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1004c100
Function at 0x100679c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c51e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102a000c]
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 eax, ecx
mov dword [ebp - 0x2c], eax
mov esi, dword [0x102a0b70]
mov dword [esi + 0x28d4], 0
test eax, eax
je 0x10067ad4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x28d4], 0
call fcn.10003fe0
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [esi + 0x28e4], ebx
jle 0x10067a75
xor edi, edi
mov eax, dword [esi + 0x28ec]
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov eax, dword [edi + eax + 0x10]
call eax
inc ebx
lea edi, [edi + 0x14]
add esp, 8
cmp ebx, dword [esi + 0x28e4]
jl 0x10067a55
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ebx
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x2c]
mov edx, 0x100d7b88
mov byte [ebp - 4], 0
call fcn.1006b990
mov edi, eax
test edi, edi
je 0x10067ab2
push edi
push ebx
push 1
push esi
call fcn.10028433
push edi
call fcn.1002591d
add esp, 0x14
mov dword [ebp - 4], 4
test esi, esi
je 0x10067ad4
mov eax, dword [0x102a0b70]
push esi
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
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.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x1006b8c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov edx, 0x100d7b84
call fcn.1006b990
mov esi, eax
test esi, esi
jne 0x1006b8d3
pop esi
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.10025c78
add esp, 0xc
test eax, eax
jne 0x1006b972
push esi
call fcn.10024f96
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1006b972
push 0
push 0
push esi
call fcn.10025c78
add esp, 0xc
test eax, eax
jne 0x1006b972
mov ecx, dword [0x102a0b70]
lea eax, [edi + 1]
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1006b972
push esi
push edi
push 1
push ebx
call fcn.10028826
add esp, 0x10
push esi
cmp eax, edi
je 0x1006b960
call fcn.1002591d
mov eax, dword [0x102a0b70]
push ebx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
ret
mov byte [ebx + edi], 0
call fcn.1002591d
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
ret
push esi
call fcn.1002591d
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x102a70f4], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1006c98a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x102a70f0], eax
inc ebx
cmp ebx, 0x100
jb 0x1006c8f0
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1006c9b6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102a70f0]
sub edi, 1
jne 0x1006c995
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1006c9e8
nop dword [eax]
cmp cl, 0x23
jne 0x1006c9cf
cmp byte [esi], cl
jne 0x1006c9cf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x102a70f0]
test cl, cl
jne 0x1006c9c0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1007e770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0xc], edx
jle 0x1007e95d
mov esi, dword [ebx + 8]
mov eax, 0x100
add esi, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movss xmm1, dword [esi - 0x14]
comiss xmm1, xmm0
jbe 0x1007e803
mov esi, dword [ebp - 8]
mov edi, dword [edi + 0x1c]
cwde
mov esi, dword [esi + 4]
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov esi, dword [ebp - 0x14]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x1007e823
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 4]
xorps xmm1, xmmword [0x102948c0]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov ecx, dword [ebp - 0x10]
xor edi, edi
cvtdq2ps xmm0, xmm0
movzx eax, byte [ecx + 0x18]
mov byte [esi], al
movzx eax, byte [ecx + 0x1c]
divss xmm1, xmm0
mov byte [esi + 1], al
movss dword [ebp - 0x18], xmm1
cmp dword [esi - 8], edi
jle 0x1007e93f
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x10]
shl eax, 4
add edx, 6
add eax, edx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov edx, dword [esi - 0xc]
test edx, edx
jne 0x1007e86e
mov edx, dword [esi - 0x10]
add edx, edi
jmp 0x1007e871
mov edx, dword [edx + edi*4]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ecx + 0x1c]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 4], 0
mov dword [esp], 0
addsd xmm0, qword [eax*8 + 0x102947f0]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 8]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x102947f0]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.10084990
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.10081dc0
mov edx, dword [ebp - 0x10]
inc edi
mov esi, dword [ebp - 0xc]
add esp, 0x18
movss xmm1, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
sub ax, word [ebp - 0x1c]
movzx ecx, word [edx + 0x14]
dec ax
add ax, cx
dec cx
add ax, word [ebp - 0x20]
mov word [esi - 2], ax
movzx eax, word [edx + 0x1c]
sub ax, word [ebp - 0x24]
mov edx, dword [ebp - 4]
add ax, cx
add ax, word [ebp - 0x28]
mov ecx, esi
mov esi, dword [ebp - 0x14]
inc edx
mov dword [ebp - 4], edx
mov word [ecx], ax
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, dword [esi - 8]
jl 0x1007e860
jmp 0x1007e942
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esi, 0x18
sub dword [ebx + 0xc], 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
mov eax, 0x100
jne 0x1007e7b2
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret