joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017f73
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edx, dword [ebp]
mov ecx, dword [ebx + 0xc]
add eax, dword [ebp + 4]
add esi, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
add edx, dword [ebx]
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x20], edi
jbe 0x10018063
mov ebp, edx
mov cl, al
mov edx, edi
and edx, 3
shl eax, 4
and cl, 0x1f
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
add esi, eax
mov eax, dword [esp + 0x10]
mov ecx, eax
shr eax, 5
shr ecx, 0x1b
rol edx, cl
add edx, eax
mov eax, dword [esp + 0x28]
add eax, edi
xor esi, edx
xor esi, eax
sub edi, 0x61c88647
mov eax, dword [esp + 0x28]
mov edx, edi
shr edx, 0xb
mov cl, al
and edx, 3
shl eax, 4
add ebp, esi
mov dword [esp + 0x14], edi
and cl, 0x1f
mov edi, ebp
mov ebp, dword [esp + 0x10]
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
mov ecx, dword [esp + 0x28]
add esi, eax
shr ecx, 0x1b
rol edx, cl
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 5
add edx, eax
mov eax, ebp
add eax, dword [esp + 0x14]
xor esi, edx
xor eax, esi
mov esi, ecx
add eax, dword [esp + 0x18]
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], ecx
mov ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
jne 0x10017fb3
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
xor eax, edx
mov dword [ebp], eax
mov eax, dword [ebx + 0x14]
xor eax, dword [esp + 0x10]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 0x18]
xor eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x1c]
pop edi
xor eax, ecx
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x10021a46
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10021a85
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10021a85
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10021a85
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10021a85
cmp dword [ecx + 0x74], 0xe
jbe 0x10021a85
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002316f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100330d8
push 0x100330d0
push str.FlsAlloc
push 0x1f
call fcn.1002308b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100231a3
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003116c]
call esi
jmp 0x100231a9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100231ed
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100330e8
push 0x100330e0
push str.FlsGetValue
push 0x21
call fcn.1002308b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10023224
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003116c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002322c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100330f0
push 0x100330e8
push str.FlsSetValue
push 0x22
call fcn.1002308b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10023266
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003116c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10026d94
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10026e31
push ebx
push esi
call fcn.10026d5d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10026cf1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10026dde
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10026e30
push edi
push eax
call fcn.1002391e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10026dfe
call fcn.10022f38
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10026e2f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10026cf1
add esp, 0x20
test eax, eax
jne 0x10026e1d
push edi
call fcn.10022f38
jmp 0x10026e25
push ebx
call fcn.10022f38
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1002c69f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1006f270]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002c6df
cmp byte [ebx], 0xa
jne 0x1002c6df
or byte [edi + eax + 0x28], 4
jmp 0x1002c6e4
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1002c7e3
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1002c7c6
inc eax
cmp dl, 0xd
je 0x1002c710
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1002c736
cmp eax, ecx
jae 0x1002c744
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1002c6f8
jmp 0x1002c7e3
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002c7c1
cmp dword [ebp - 0x10], 0
je 0x1002c7c1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1006f270]
test byte [eax + edi + 0x28], 0x48
je 0x1002c79b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1002c786
mov byte [esi], dl
jmp 0x1002c797
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1006f270]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1002c7e3
cmp byte [ebp - 1], 0xa
jne 0x1002c7aa
cmp esi, ebx
jne 0x1002c7aa
mov byte [esi], 0xa
jmp 0x1002c7e2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1002c641
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1002c7e3
mov byte [esi], 0xd
jmp 0x1002c7e2
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1006f270]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1002c7e0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1002c7e3
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002c7ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1006f270]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002c832
cmp word [ebx], dx
jne 0x1002c832
or byte [eax + edi + 0x28], 4
jmp 0x1002c837
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1002c99a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1002c97a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1002c878
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1002c8ae
cmp eax, edx
jae 0x1002c8bc
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1002c853
jmp 0x1002c99a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002c975
cmp dword [ebp - 0x18], 0
je 0x1002c975
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1006f270]
test byte [eax + edi + 0x28], 0x48
je 0x1002c94b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1002c90f
mov word [esi], cx
jmp 0x1002c946
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1006f270]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1006f270]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1006f270]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1002c99a
pop eax
cmp word [ebp - 4], ax
jne 0x1002c95b
cmp esi, ebx
jne 0x1002c95b
mov word [esi], ax
jmp 0x1002c997
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1002c641
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1002c99a
push 0xd
pop eax
jmp 0x1002c956
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1006f270]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1002c994
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1002c99a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002dc11
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1002db8d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1002dd80
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1002dd80
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1002dd35
jg 0x1002dc6d
test eax, eax
je 0x1002dd2b
push 1
push 0x1000
call fcn.10022edb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1002dc90
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002dd22
push 0x8000
push ebx
call fcn.1002dabe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1002dcb9
jg 0x1002dcb4
cmp ecx, 0x1000
jb 0x1002dcb9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10027ebd
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002dcfe
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1002dcb4
jl 0x1002dce5
test ecx, ecx
jne 0x1002dca6
push dword [ebp - 0xc]
push ebx
call fcn.1002dabe
push esi
call fcn.10022f38
add esp, 0xc
xor ebx, ebx
jmp 0x1002dd8e
cmp byte [edi + 0x24], 0
je 0x1002dd15
cmp dword [edi + 0x20], 5
jne 0x1002dd15
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1002dd20
mov ebx, dword [edi + 0x18]
jmp 0x1002dd22
xor ebx, ebx
push esi
call fcn.10022f38
pop ecx
jmp 0x1002dd8e
test ecx, ecx
jg 0x1002dcf7
jl 0x1002dd35
test eax, eax
jae 0x1002dcf7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1002c641
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1002dd55
cmp byte [edi + 0x1c], 0
je 0x1002dcf7
jmp 0x1002dd86
push ebx
call fcn.100284a3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1002dcf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002dd8e
cmp byte [edi + 0x1c], 0
je 0x1002dd8b
mov ebx, dword [edi + 0x18]
jmp 0x1002dd8e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1002c641
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002fdc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002fded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407000
Capabilities:
Encode data using base64 via winapi
Get file size
Open clipboard
Terminate process
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0
push 0x407030
push 0
push 0x25
push eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x408f08
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
call dword [sym.imp.kernel32.dll_GetProcessHeap]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x1000
push 8
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
xor ebx, ebx
lodsw ax, word [esi]
or al, al
je 0x408fb7
cmp ax, 0x22
je 0x408f98
cmp ebx, 1
je 0x408f62
cmp ax, 0x20
je 0x408f6d
cmp ax, 9
je 0x408f6d
stosw word es:[edi], ax
mov dword [ebp - 4], 1
jmp 0x408f45
mov al, 0
stosw word es:[edi], ax
inc dword [ebp - 8]
mov dword [ebp - 4], 0
lodsw ax, word [esi]
or ax, ax
je 0x408fb7
cmp ax, 0x22
je 0x408f9c
cmp ax, 0x20
je 0x408f7b
cmp ax, 9
je 0x408f7b
dec esi
dec esi
jmp 0x408f45
or ebx, ebx
jne 0x408fab
cmp dword [ebp + 0xc], 1
jne 0x408fa4
stosw word es:[edi], ax
mov ebx, 1
jmp 0x408f45
cmp dword [ebp + 0xc], 1
jne 0x408fb3
stosw word es:[edi], ax
xor ebx, ebx
jmp 0x408f6d
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
mov ecx, edi
sub ecx, dword [ebp - 0xc]
push ecx
push ecx
push 8
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_HeapAlloc]
pop ecx
mov edi, eax
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ebp - 8]
shl eax, 2
push eax
push 8
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov esi, dword [eax + 8]
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
or eax, eax
je 0x40902b
mov dword [edi], esi
add edi, 4
shl eax, 1
add esi, eax
inc esi
inc esi
jmp 0x409013
popal
leave
ret 8
Function at 0x45b5f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
jmp 0x45b60a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b600
mov eax, 1
add ebx, ebx
jne 0x45b623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45b634
jne 0x45b653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b653
dec eax
add ebx, ebx
jne 0x45b640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45b618
add ebx, ebx
jne 0x45b64f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45b6a5
xor ecx, ecx
sub eax, 3
jb 0x45b66b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45b6da
sar eax, 1
mov ebp, eax
jmp 0x45b676
add ebx, ebx
jne 0x45b676
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b644
inc ecx
add ebx, ebx
jne 0x45b684
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b644
add ebx, ebx
jne 0x45b691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45b686
jne 0x45b6a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45b686
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45b6c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45b6b6
jmp 0x45b606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45b6c4
add edi, ecx
jmp 0x45b606
pop esi
mov edi, esi
mov ecx, 0x1b37
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45b6e2
cmp byte [edi], 0x11
jne 0x45b6e2
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 0x45b6e7
lea edi, [esi + 0x57000]
mov eax, dword [edi]
or eax, eax
je 0x45b756
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b22c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45b714
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5b234]
or eax, eax
je 0x45b750
mov dword [ebx], eax
add ebx, 4
jmp 0x45b731
call dword [esi + 0x5b230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45b787
cmp al, 0xef
ja 0x45b77a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45b75c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45b769
mov ebp, dword [esi + 0x5b238]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x45b7bb
sub esp, 0xffffff80
jmp 0x41dd4f
Function at 0x4bbf28
Capabilities:
Encode data using xor

Disassembly:
mov byte [0x57054a5], al
outsb dx, byte [esi]
mov bh, 0x55
or dword [edi - 0xe84efa7], edi
and dword [edx + 0x633460f4], esp
invalid
jne 0x4bbeb8
dec eax
adc byte [ebx + 0x67ac3ff9], bh
and dword fs:[ecx + 0xf], eax
cmp bh, ch
push eax
mov dword [edx + 0x20760786], ebx
mov byte [0x3e4c4cad], al
retf 0xe06a

Function at 0x504fe8
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x64
cld
test al, 0xb4
sub bl, byte [edi]
sbb dword [ebp + 0x2642561c], ecx
inc eax
stc
sbb al, 0xd3
enter 0xffffffffffffb156, 0xffffffffffffffd2
xchg dword [edi + 0xc6ae564], eax
xchg ecx, eax
out dx, eax
mov al, 0xaa
std
dec ebp
or al, 0x8e
xor byte [eax - 0x33a782df], ch
daa
dec ecx
fcmovne st(0), st(2)
cmp ebx, dword [edi - 0x65]
test eax, 0xc69a00f0
jg 0x50501d
int3
lcall 0x75ef, 0x85fc7fc6
dec ebx
test edi, ebp
jne 0x505070
and bl, ch
dec ebp
and ebp, dword ss:[edx + 0x60eb2ea]
xlatb
pop ebp
cli
outsd dx, dword [esi]
loop 0x505076
retf 0x8944
jmp 0x11b5fa5f
adc edx, ecx
sbb ebp, esi
loopne 0x5050a0
and eax, 0xe619e901
sbb esi, esp
xor ebx, 0x4c
inc eax
jbe 0x50507d
jns 0x505012
lodsb al, byte [esi]
pop esi
insb byte es:[edi], dx
sub cl, byte [edi + 0x56ced23a]
adc edx, dword [edi + 0x194b9ad9]
push 0x3c
stosd dword es:[edi], eax
mov bh, 0xa5
in al, 0xfa
aas
enter 0x7d8b, 0x63
mov edi, dword [ebp + 0x63]
pop ebx
sub al, 0xd
mov dl, 0xb0
cli
push cs
cli
jl 0x505035
mov bl, 0x1b
xchg ebx, eax
fsubr st(7), st(0)
pop ebp
int 0xea
popal
cli
add eax, 0xbc45f0f5
popfd
add dh, byte [edi + 0x4c]
jp 0x50512f
pop esi
dec eax
jg 0x50511c
sub eax, 0xa5fbe160
jb 0x505125
adc bl, byte [ebp + 0x2f7f9878]
pop ss
xor ch, ch
fsubr st(4), st(0)
pop edx
jp 0x505073
and dword [ecx - 0x75], ecx
cld
mov byte [0x1eb674c8], al
jne 0x5050ee
insd dword es:[edi], dx
sal byte [esi + 0x131bfcbb], cl
cmp edx, edx
loopne 0x50512b
adc edi, dword [ebx]
shl al, cl
cmp cl, al
int3
ror esp, 0xae
or eax, 0x2fec3f6b
or al, 0xa7
ret
sub al, 0x5b
inc esp
retf 0x38a1
cld
dec esi
dec edx
ficomp word [edx + 0x1a631e08]
push ds
arpl word [edx], bx
mov ds, word [ebp - 0x12c0e289]
popfd
ja 0x50514f
aas
in eax, dx
fmulp st(2)
retf 0xf3aa
retf 0xaaca
cmp edx, dword [esi + 0x12699c]
push ds
pop esp
aas
cmp eax, 0x14bbd5ad
push 0x5b8ec87d
popal
in eax, dx
or eax, 0xb8ca1f25
add edi, ebx
cmp ebx, dword [ecx - 0x23539783]
pop ebp
jb 0x50518f
xor byte [eax], 0x1e
xchg edx, eax
mov gs, word [esi]
arpl word [ebx + edi + 0x4be14a43], di
outsb dx, byte [esi]
out 0x11, al
test byte [edx], ah
jbe 0x505135
pop es
mov edx, 0x8628ac39
fdivr dword [eax + 0x7ef6f046]
dec ebp
iretd
Function at 0x5c4dd8
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
mov cl, 0xf1
test byte [esp + ebp*4 + 0x37c8a4eb], cl
xchg esp, eax
or ch, byte [ebx]
lodsd eax, dword [esi]
dec edi
popal
push es
push ebp
imul edi, dword [ebx], 0x34
pop ss
sbb dword [ebx], ecx
cmp esp, ecx
push ebx
push ecx
stc
pop esp
mov gs, word [edx]
stc
xor ebp, dword [ebx + 0x39ea6bfb]
mov eax, 0x5594d7d4
xchg esp, eax
push ebp
into
sbb edx, dword [edi - 0x78]
insd dword es:[edi], dx
dec ebx
aad 0x34
inc eax
add byte [esi], dl
and eax, dword [edx]
jbe 0x5c4d45
in al, 0xc3
mov ebp, 0xef7de310
inc esp
cli
xchg esp, eax
xor cl, byte [edx + 0x2b]
inc esp
or cl, byte [esi - 0x45e46b28]
jb 0x5c4d6f
imul ecx, dword [edi], 0x726dc8e5
mov ebx, 0xdbc40738
adc al, bh
sub dl, ah
scasd eax, dword es:[edi]
push 0x65
pop esp
mov esi, 0xa88a7197
jle 0xcd66c2fc
cmp esp, dword [edx + edi*2 - 0x13]
pop ebx
sbb ecx, ebp
sub dword [edx], esp
pushal
les eax, [edx]
push 0x9ae8360c
clc
mov ah, al
xchg edi, eax
aam 0xd9
lds ebx, [eax + 0x5a82eb8b]
xor al, 0x47
stc
stosd dword es:[edi], eax
js 0x5c4dc9
inc esp
fild word es:[esi]
inc esp
jnp 0x5c4e37
js 0x5c4d89
invalid
imul eax, dword [ecx], 0xf09f0007
xor bl, byte [ebx]
mov ch, 0xad
mov eax, 0xe7d5d7c0
nop
stosb byte es:[edi], al
cwde
das
push edi
xchg edi, eax
jo 0x5c4e48
fsubr qword [ebx]
into
mov ebx, 0xd0245c85
jns 0x5c4e49
add al, 0xb4
retf