joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1001953a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c4
mov edi, ecx
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x10032600
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
mov dword [ecx], vtable.CClientSocket.0
add ecx, 4
mov dword [ebp - 0x30], ecx
call section..text
mov dword [ebp - 0x20], edi
lea ecx, [edi + 0x14]
mov dword [esi + 8], 0
mov dword [ebp - 0x2c], ecx
call section..text
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x24]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x28], ecx
call section..text
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x34]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x24], ecx
call section..text
mov dword [ebp - 0x10], 3
lea eax, [ebp - 0x1c0]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
movaps xmm0, xmmword [0x1017f090]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
sub esp, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x48], 0xffffffff
mov dword [ecx + 0x50], 0x20504f
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x1c4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b152e
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x101047d0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov dword [ecx], vtable.CKernelManager.0
cmp dword [ecx + 0xfc8], 0
je 0x100b15a4
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + eax*4 + 0x24]
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push dword [ecx + eax*4 + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 0xfc8]
jb 0x100b156e
call fcn.101050e6
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10135254
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x148
lea ebx, [ebp - 0x1c]
mov dword [ebx - 8], esp
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 8], 0x10190f14
mov dword [ebx + 4], 0x1014bc18
mov eax, dword fs:[0]
mov dword [ebx], eax
mov dword fs:[0], ebx
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x28], eax
movups xmm0, xmmword [str.GetThreadDesktop]
lea ecx, [ebp - 0x54]
movups xmmword [ecx], xmm0
mov byte [ecx + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push eax
call esi
mov edi, eax
push str.GetUserObjectInformationA
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x38], eax
push str.SetThreadDesktop
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x34], eax
push str.CloseDesktop
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x30], eax
push 0x1018315a
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x3c], eax
push 0x10183621
push eax
call esi
call eax
push eax
call edi
mov dword [ebp - 0x2c], eax
mov dword [ebx + 0xc], 0
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x154]
push eax
push 0x100
push ecx
push 2
push dword [ebp + 8]
call dword [ebp - 0x38]
xor esi, esi
test eax, eax
je 0x10135337
push dword [ebp + 8]
call dword [ebp - 0x34]
test eax, eax
mov esi, 0
je 0x10135337
push dword [ebp - 0x2c]
call dword [ebp - 0x30]
xor esi, esi
inc esi
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebp
call fcn.1013536e
mov eax, dword [ebp - 0x1c]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x148
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10164120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.10164690
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1016414c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call dword [section..00cfg]
call dword [ebp - 8]
jmp 0x10164156
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x10167730
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10168390
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10167764
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [section..00cfg]
call dword [ebp - 8]
jmp 0x1016776a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x101677c0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.101683d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101677f4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [section..00cfg]
call dword [ebp - 8]
jmp 0x101677fe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x10167810
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.101683f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10167848
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [section..00cfg]
call dword [ebp - 8]
jmp 0x10167856
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8
Function at 0x1016eb20
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.1014e2b0
lea ecx, [ebp - 4]
call fcn.1016ed50
movzx eax, al
test eax, eax
jne 0x1016eb5d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.1016ecf0
mov eax, dword [ebp - 0x18]
jmp 0x1016ec85
lea ecx, [ebp - 4]
call fcn.1014e300
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1016ecb0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.1014e300
push eax
push 0
push 0
call fcn.1016e9b0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1016ebc3
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.1016ecf0
mov eax, dword [ebp - 0x20]
jmp 0x1016ec85
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1015ba60
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.1014b680
lea ecx, [ebp - 8]
call fcn.1014b750
movzx edx, al
test edx, edx
jne 0x1016ec0c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.1014ba90
lea ecx, [ebp - 4]
call fcn.1016ecf0
mov eax, dword [ebp - 0x24]
jmp 0x1016ec85
lea ecx, [ebp - 8]
call fcn.1014b030
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.1014e300
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.1016e9b0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1016ec67
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.1014ba90
lea ecx, [ebp - 4]
call fcn.1016ecf0
mov eax, dword [ebp - 0x34]
jmp 0x1016ec85
lea ecx, [ebp - 8]
call fcn.101597d0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.1014ba90
lea ecx, [ebp - 4]
call fcn.1016ecf0
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x10178bb0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10148010
mov eax, dword [0x101920f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x101942e8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x10178d88
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x10178cd7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x10178cd7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x10178cb5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x10178c39
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10178d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x10178da8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x10178d83
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10178da8
jmp 0x10178c12
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10149c10
mov esp, ebp
pop ebp
ret
Function at 0x10178dc0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10148010
mov eax, dword [0x101920f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x101942e8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x10178fab
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x10178ef6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x10178ef6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x10178ed2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x10178e49
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10178f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10178fcb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x10178fa6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x10178fcb
jmp 0x10178e22
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10149c10
mov esp, ebp
pop ebp
ret
Function at 0x404ce0
Capabilities:
Encode data using xor

Disassembly:
inc eax
and byte [edi], ah
sal byte [ebx + eax*2 + 0x6a], 0x40
call eax
xor dword [edi + 0x665e5f04], 0xffffffb5
pop ebx
mov edx, dword [ebp + 0x8c25d]
nop
nop
nop
nop
nop
dec ecx
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
popfd
mov edi, dword [ebp - 0x61]
lds esi, [edi + 0x3d]
push esi
call fcn.004056f0
mov eax, dword [edi + 4]
xor ebp, edx
loope 0x404cc0
pop ebp
cmp ebx, eax
mov ecx, ebp
mov dword [edi + 0x3c], ebx
je 0x404d13
push eax
call 0xba4e00
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x404d06
add esi, dword [edi + 0x10]
call fcn.0040beee
add byte [esi - 0x75], dh
xchg ecx, eax
sbb al, 0x89
push ds
push eax
mov dword [edi + 0x64], ebx
call 0x983c30
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov dword [edi - 0x24], ebx
mov dword [ebx], ebx
jb 0x404cc0
inc edi
ror byte [ecx + 0x88b9048], 1
add esp, 8
cmp eax, 0xf44589c8
pcmpeqw mm5, qword [ecx - 0x74ff3000]
push eax
cdq
mov dword [edx], ebx
mov edi, dword [edi + 0x18]
mov esi, dword [eax]
mov ebp, dword [ebp + 0x7466850c]
push es
fucomp st(0)
insd dword es:[edi], dx
push ebp
add byte [eax], al
nop
pop es
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [edi], ebx
or byte [ecx + 0x68bf84d], cl
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2f], eax
mov eax, dword [esi + 8]
test ecx, ecx
je 0x404d8a
cmp eax, edx
pushal
push es
ficomp word [esi]
in eax, dx
fsubp st(3)
das
cmp eax, 0x14
jae 0x404d71
mov ecx, dword [edi + eax*4 + 0x14]
test ecx, ecx
xor byte [ebx + 0x75], bh
or byte [ebx], bh
inc ebp
or byte [esi + 3], dh
mov dword [ebp + 8], eax
mov esi, dword [edi + eax*4 + 0x14]
in al, 8
mov ecx, dword [edi + 0x14]
xchg ecx, eax
pop edx
mov dword [edi + 0x14], esi
cmp edx, dword [esi - 0x2fd4fb8e]
jmp 0x404db9
mov edx, dword [ebp - 8]
test esi, esi
jne 0x404d71
aaa
fsub st(1), st(0)
mov dword [edi + 0x24], edx
jns 0x404dcf
mov ebp, esp
or al, 0x85
push dword [eax + eax*4 + 0x57]
push edi
call 0x13ca340
fstp st(3)
je 0x404d76
mov edi, dword [ebx]
xor cl, al
inc eax
add byte [edi - 0x3d], cl
mov ebx, dword [ebx]
and edi, edi
salc
add esp, 4
test ebx, ebx
jne 0x404d9a
jp 0x404e34
hlt
add al, 0x68
sal byte [ebp + 0x3a], 0x4b
inc ebx
adc al, dh
call 0x12856cd
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.00405730
mov eax, dword [ebx]
sbb eax, 8
out 0xc0, al
je 0x404e89
mov eax, dword [0xe8521850]
mov bl, 0xc9
dec dword es:[ebx + 0x74f685f0]
push es
push esi
call 0x3640a31d
mov eax, dword [ebx + 0xc]
inc edx
dec ebx
or byte [esi + 8], cl
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0x2c
je 0x404e7f
push ss
push ebx
mov dl, 0xc2
aas
or al, 0x16
push ss
div byte [esi + eax + 0x7a]
call 0x40f540
jge 0x404efe
xor byte [ebx - 0x74a8e7a0], cl
inc esi
add al, 0xc7
pop ebx
int 0
add byte [ebx - 0x18], al
xchg edx, eax
cli
invalid
retf 0x598b
dec edi
adc al, 0x89
add eax, dword [ebx]
mov esi, 0x7b7d3b14
add al, 0x2b
shr bl, 1
add dh, byte [ebx]
ror byte [ebx - 0x97a30b8], cl
jne 0x404ea9
mov eax, dword [ebp - 4]
mov dword [edi + 0x2c], edx
mov dword [edi], eax
push eax
inc edi
or al, 0x85
sal byte [esi + eax + 0x50], 0xe8
adc eax, 0x85000054
invalid
Function at 0x40a4c1
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40a4c3
ret
Function at 0x10003240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004edc5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10063040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edx, ebx
cmp dword [ebx + 0x14], 0xf
mov edi, dword [ebx + 0x10]
jbe 0x10003278
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x10003294
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10003283
push esi
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.10003ce0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100032c3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [0x100db398], 0x6666666
jne 0x100032da
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x100db394
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x18], 0
call fcn.1004ae64
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea ecx, [edi + 8]
push ebx
call fcn.100038d0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov dword [ebp - 4], 1
mov ecx, dword [0x100db398]
mov ebx, dword [0x100db3ac]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x1005f110]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1005f110]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x100db390]
comiss xmm2, xmm1
jbe 0x100033ba
divss xmm0, xmm1
call fcn.100013e0
call fcn.1004e910
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000339c
cmp ebx, 0x200
jae 0x1000339a
shl ebx, 3
cmp ebx, ecx
jae 0x1000339c
mov ebx, ecx
push ebx
call fcn.100039e0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10003ce0
mov ecx, dword [0x100db398]
mov edx, dword [eax]
jmp 0x100033bd
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x100db398], ecx
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x100db3a8]
mov ecx, dword [0x100db39c]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x100db394]
jne 0x100033ee
mov dword [ecx + eax*8], edi
jmp 0x100033fd
cmp esi, edx
jne 0x100033f7
mov dword [ecx + eax*8], edi
jmp 0x10003401
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10003401
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8