joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43e058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4099cc
cmp byte [esi + 0x3d], 0
je 0x4099cc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4099ba
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x409982
sub eax, 1
je 0x409986
sub eax, 2
jne 0x4099ba
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e264
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4099a3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00414f58
add esp, 0x10
cmp edi, eax
jne 0x4099ba
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e264
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e264
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040e264
mov esp, ebp
pop ebp
ret

Function at 0x409e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d810
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43e058]
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.0040e275
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040d3b5
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 0x41ee64
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ecda
Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x412290
pop dword [ebp - 0x14]
mov eax, 0x412290
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x392b2
push 0
mov eax, 0x8a731ca
add eax, 0xf79b5e62
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x1c71115f
sub ecx, 0x1c70c8e2
mov ebx, eax
mov edi, 0xa50e18c
add edi, 0xf5f28c74
add edi, dword [ebp - 0x14]
mov edx, 0xaa6202b9
add dword [ebp - 0x10], edi
mov esi, dword [edi]
xor dword [ebp - 4], ebx
xor esi, edx
add dword [ebp - 0xc], 0x25a96a2a
mov dword [ebx], esi
mov dword [ebp - 0xc], 0x7537feb6
add ebx, 0xd3c29f50
sub ebx, 0xd3c29f4c
add edi, 0xd693f161
sub edi, 0xd693f15d
loop 0x4122e4
add eax, 0x114c7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe554775d
sub ecx, 0xe514775d
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10025e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10025e4f
pop dword [ebp - 0x2c]
mov eax, 0xb5f99436
add eax, 0x5a08ca19
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x1b4c71cc
add dword [ebp - 0x3c], 0x3305d37f
mov dword [ebp - 0x38], 0xe22e9681
sub dword [ebp - 0x38], 0xaffb4a3c
mov dword [ebp - 0x34], 0x760f4fd5
add dword [ebp - 0x34], 0xd63cf459
mov dword [ebp - 0x30], 0xf9038fd7
add dword [ebp - 0x30], 0x6fc7029
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x72ba17d4
add eax, 0x9d4a0860
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xf82de153
add dword [ebp - 0x3c], 0x7c448803
mov dword [ebp - 0x38], 0xecfbde8b
sub dword [ebp - 0x38], 0xab8f7d16
mov dword [ebp - 0x34], 0xc970c46d
add dword [ebp - 0x34], 0x99fea7ff
mov dword [ebp - 0x30], 0xdc7639ea
add dword [ebp - 0x30], 0x2389c616
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x17573183
add eax, 0xf8aceec9
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x4885a
push 0
call eax
mov ecx, 0x4ad7
xor ebx, ebx
add ebx, eax
mov edx, 0x71574b2a
sub edx, 0x6151cd2a
add edx, dword [ebp - 0x2c]
mov edi, 0x129a5f8b
add edi, 0xd6a18417
xor dword [ebp - 4], ebx
mov esi, dword [edx]
add dword [ebp - 0x28], ebx
sub esi, edi
add dword [ebp - 0x1c], esi
mov dword [ebx], esi
sub dword [ebp - 0xc], esi
add ebx, 0xb15db85d
sub ebx, 0xb15db859
add edx, 4
loop 0x10025f6d
add eax, 0x11e2f
mov ebx, eax
add eax, 0xfdfd97f0
sub eax, 0xfdfd97eb
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x100346a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100346d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10034700
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10034700
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100347fa
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10034729
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 0x1003475d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
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.1003af70
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
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 [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x100347fa
cmp eax, 1
jle 0x100347bb
cmp eax, 3
jne 0x100347fa
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10025e40
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.1003af70
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100347d9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100347fa
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100347fa
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.10025e40
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10025e40
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700
Function at 0x452c00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
push edi
jmp 0x452c1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x452c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x452c10
mov eax, 1
add ebx, ebx
jne 0x452c33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x452c28
jne 0x452c44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x452c28
xor ecx, ecx
sub eax, 3
jb 0x452c58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x452cca
mov ebp, eax
add ebx, ebx
jne 0x452c63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x452c70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x452c94
inc ecx
add ebx, ebx
jne 0x452c80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x452c75
jne 0x452c91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x452c75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x452cb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x452ca5
jmp 0x452c16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x452cb4
add edi, ecx
jmp 0x452c16
pop esi
mov edi, esi
mov ecx, 0x24d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x452cd2
cmp byte [edi], 6
jne 0x452cd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x452cd7
lea edi, [esi + 0x50000]
mov eax, dword [edi]
or eax, eax
je 0x452d4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x58e84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x58f50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x452d04
mov ecx, edi
jns 0x452d33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x58f58]
or eax, eax
je 0x452d49
mov dword [ebx], eax
add ebx, 4
jmp 0x452d21
call dword [esi + 0x58f54]
mov ebp, dword [esi + 0x58f5c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x452d83
sub esp, 0xffffff80
jmp 0x403229
Function at 0x4674d0
Capabilities:
Packed with generic packer

Disassembly:
aaa
push ebx
jb 0x4674d3
invalid
sti
aas
jno 0x467515
or dl, bh
mov dword [0x64020970], eax
cmp ebx, edi
mov eax, dword [0x4fffff85]
lea edx, [edi - 0xa7ced92]
aas
ret
mov esp, 0xd5e57a42
call [edi + 0x2d]
add esi, dword [edi + 0x3f]
ret 0xfdfd
Function at 0x54ed40
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0xb71968b0
sbb al, byte [edi - 0x40fb9206]
fcomp dword [esi - 0x33]
in eax, dx
stc
mov edx, 0x3b540be6
add al, 0xb0
cmp eax, dword [eax + esi*4]
xor al, cl
inc esi
jb 0x54ed54
wait
and eax, 0xb5324d3
adc eax, 0xe4aeac3f
mov eax, dword [0xde336ac0]
salc
inc eax
sti
fmul st(0), st(0)
inc eax
ljmp 0x547c

Function at 0x58de21
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
pop ebp
call dword [esp + eax*8 + 0x3b4e533d]
lcall 0xf3fd, 0x609054b8
cmp cl, byte [edi + esi + 0x5f]
pop esi
rcl bl, 0xce
xor byte [ecx], bl
and ch, byte [eax + eax + 0x2c]
xor dh, cl
cmp dh, bl
loop 0x58de31
fdiv st(5), st(0)
xchg esi, eax
mov edi, 0x81504ef6
dec edi
ror dword [ecx + 0x25527e14], cl
inc ecx
dec ebx
inc esp
and al, 0x59
aam 0xc4
push ds
outsd dx, dword [esi]
adc ecx, dword [edi - 0x2ce37b9f]
and dword [ebp - 0x7d], edi
invalid

Function at 0x5ab1a0
Capabilities:
Encode data using xor

Disassembly:
push es
and al, byte [esi]
outsb dx, byte cs:[esi]
scasd eax, dword es:[edi]
mov byte [eax + edi*8 + 0x4968023c], ch
mov esp, 0x8c873f79
out dx, al
nop
lodsb al, byte [esi]
stc
pop ebp
or al, 0x82
adc byte [edx], 0xe0
and dword [esi], ebp
cmp bh, byte [eax + ebx - 0x40c47cbc]
pop esp
inc ecx
inc eax
inc edx
lodsb al, byte [esi]
push eax
cmp al, 0xa0
mov eax, dword [0xa9202edc]
pop ecx
stosd dword es:[edi], eax
push esp
jo 0x5ab13d
xor dword [esi], ebp
inc edx
xor esp, eax
ret
jge 0x5ab154
push ds
test al, 0x73
js 0x5ab1df
dec ebp
insd dword es:[edi], dx
fidiv dword [ecx - 0x2f]
leave
push 0x7e9ccc5e
iretd
and al, 0x94
cdq
sal byte [esi - 0x1a], 1
ja 0x5ab181
frstor dword [eax - 0x615ffb53]
mov esi, 0x53c30aa0
push ds
mov al, byte [0x7d3b6293]
ret
psubsw mm4, qword [ebx + 0x6d]
arpl word [ebp + 0x70030435], sp
pmaxsw mm5, qword [ebp + eax*4 + 0x2c]
int3
out dx, al
insb byte es:[edi], dx
test dword [esp + ecx*8], ebp
sub al, 0xcc
adc al, 0x9f
xor edi, ebp
test esp, ebp
pop ebp
pop eax
dec ebx
nop
imul byte [edx + edi*2 - 0x71335b53]
pop ebp
inc esp
push edx
xchg edi, eax
stc
and dword [edi + 0x74], esi
xchg edx, eax
cmp dword [ebp + 0x12], edi
inc ebx
js 0x5ab1dc
xchg byte [esp + edx*2 - 0x20724673], ch
scasb al, byte es:[edi]
push es
cdq
enter 0xffffffffffff801f, 0xffffffffffffffb4
out 0xcf, al
add al, 0x4c
pop edx
push 0xffffffffffffffa8
xor eax, 0xada81ce1
pop ecx
adc eax, 0xf3dc1219
push esi
fst dword [esi]
pushal
neg dword [ebp - 0x40fef33b]
and al, 0xac
sar ch, 0x32
dec esi
dec ecx
int 0x56
pop ds
xor dword [ebx + 0x49691338], ebp
mov dword [0xafca733d], eax
fnstsw word [ebx - 0xf51673e]
leave
mov al, byte [0xf8d9a4a9]
movsb byte es:[edi], byte [esi]
fprem
jp 0x5ab1d1
push ebp
push cs
jno 0x5ab2b4
in eax, dx
adc eax, esp
inc ebx
xor ebp, dword [ebp + 0x20]
lodsd eax, dword [esi]
add bh, byte [esi]
or eax, 0xe20c73c6
pop eax
rcr byte [ebp - 0x6e], 1
pushfd
xchg byte [eax + 0x7afac1a9], al
loope 0x5ab1ff
add byte [edx + esi*8 - 0x1b], bh
js 0x5ab24b
loopne 0x5ab208
push dword [ecx]
dec ebp
pop esp
adc dword [esp + ebx*2 - 0x7e], ebx
invalid
dec edx
jns 0x5ab2b8
pop es
and eax, 0xa261841f
jmp dword [eax]
Function at 0x621c50
Capabilities:
Check for software breakpoints

Disassembly:
pop eax
nop
outsd dx, dword [esi]
cmp al, bh
jnp 0x621c52
out 0xda, al
push edi
sub al, 0x37
inc esp
pop esi
or al, 0xe8
int3
jl 0x621ccf
pop edx
push eax
je 0x621c16
cmpsd dword [esi], dword es:[edi]
cwde
xlatb
call 0xa8d36a9f
push edx
cmpsb byte [esi], byte es:[edi]
add dh, byte [ebp + 0x5a]
push 0xffffffffffffffd1
int3
push esp
inc ebx
xchg ecx, eax
push es
mov ah, 0x89
daa
cli
add esi, esp
push edx
push ebx
mov dh, 0x6d
cmpsb byte [esi], byte es:[edi]
cmpsd dword [esi], dword es:[edi]
jae 0x621d19
ficom dword [edi + ebp*2 - 0x6628d73b]
shl dword [ecx + 0x13543944], cl
dec ebx
pop ss
mov bl, 0x6a
fcmovb st(0), st(4)
add dword [ebx - 0x3d1f0a31], 0x6a
lds eax, [edx + 0x16101332]
pavgb mm3, qword [ebx]
jbe 0x621d6f
leave
jae 0x621cda
pushal
add dh, byte [edx - 0x2bc18c5a]
invalid
invalid
inc esp
push eax
mov al, 0xc6
sal dword [edi + 0x6cc1eae0], 0x35
xor byte [ebx + 9], 0x9a
dec ch
push eax
xor al, 0x94
and al, byte [ecx + 0x15456633]
and eax, 0xdc36412f
imul eax, dword es:[esi], 0xead208f5
movsd dword es:[edi], dword [esi]
inc esp
invalid
Function at 0x10001470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100014c8
cmp byte [esi + ebx - 1], 0xa
je 0x1000149c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10006084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10001a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x10006094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x10001c30
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x10006094]
movzx eax, al
bt eax, esi
jae 0x10001c90
mov ecx, dword [0x10006084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x10001b35
test byte [0x10002030], 8
jne 0x10001bd0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10002040], 8
jne 0x10001b80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10001b04
cmp esi, 3
jbe 0x10001b40
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100040f0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10001b04
mov ecx, dword [0x10006094]
test ecx, ecx
je 0x10001c70
mov dword [esp], 0x10002040
call dword [0x10006094]
test al, 8
je 0x10001adb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10001adb
mov ebx, dword [0x10006094]
test ebx, ebx
je 0x10001c50
mov dword [esp], 0x10002030
call dword [0x10006094]
test al, 8
je 0x10001ac6
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10001ace
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x10001a8d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x10001bda
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x10001b8e
mov eax, 0xffffffff
jmp 0x10001b35