joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4650
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4d4697
mov edi, dword [esp + 0x10]
push edi
call fcn.0050d3bb
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.004f3745
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4d46cb
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4d46cb
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x4d46b5
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x4d46cb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004d4790
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x4d46fe
cmp edi, 0x5a
jle 0x4d46fe
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x4d46fe
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x4d472d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x4d4773
cmp ebx, 1
jge 0x4d4773
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x4d4773
mov al, byte [esi + 0x1d]
test al, al
jne 0x4d4773
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x4d4773
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x4d4773
mov al, byte [esi + 0x1d]
test al, al
je 0x4d4753
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004d4790
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x4d5950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x4d5977
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.004f3745
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004f3be6
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.004f3745
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x4d59ab
push esi
push ebx
push edi
mov ecx, ebp
call fcn.004d5b70
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4d59c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x64f9cc]
xor edx, edx
cmp eax, edx
jne 0x4d59e6
xor eax, eax
mov byte [eax + 0x64f8cc], al
inc eax
cmp eax, 0x100
jl 0x4d59ce
mov dword [0x64f9cc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x64f8cc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d5a77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d5a4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d5a18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d5af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d5b43
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d5b2a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dc4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51f77e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004dcde0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5ec54c
call fcn.0050d3bb
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4dc553
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050d3bb
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4dc54c
push 0
mov ecx, eax
call fcn.004d3600
mov dword [esi + 0xc], eax
jmp 0x4dc555
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4dc555
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f3fb9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4f3fea
call fcn.004f30c9
mov dword [eax], esi
call fcn.004f30b6
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004fcf60
add esp, 0x14
push 0x16
pop eax
jmp 0x4f403f
test dword [ebp + 0xc], 0xfffffff9
jne 0x4f3fc6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4f4017
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f30dc
pop ecx
call fcn.004f30b6
mov eax, dword [eax]
jmp 0x4f403f
test al, 0x10
jne 0x4f403d
test al, 1
je 0x4f403d
test byte [ebp + 0xc], 2
je 0x4f403d
call fcn.004f30c9
mov dword [eax], 5
call fcn.004f30b6
mov dword [eax], 0xd
jmp 0x4f400e
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4fe43a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x61b07c]
jne 0x4fe444
repz ret
jmp fcn.005067b2

Function at 0x50583b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004f89bd
and dword [ebp - 4], 0
cmp dword [0x661f74], 0
mov ebx, eax
jne 0x5058ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x50599d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5f4d5c
push edi
call esi
test eax, eax
je 0x50599d
push eax
call fcn.004f894b
mov dword [esp], 0x5f4d4c
push edi
mov dword [0x661f74], eax
call esi
push eax
call fcn.004f894b
mov dword [esp], 0x5f4d38
push edi
mov dword [0x661f78], eax
call esi
push eax
call fcn.004f894b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x661f7c], eax
call esi
push eax
call fcn.004f894b
pop ecx
mov dword [0x661f84], eax
test eax, eax
je 0x5058ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f894b
pop ecx
mov dword [0x661f80], eax
mov eax, dword [0x661f80]
cmp eax, ebx
je 0x505944
cmp dword [0x661f84], ebx
je 0x505944
push eax
call fcn.004f89c6
push dword [0x661f84]
mov esi, eax
call fcn.004f89c6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x505944
test edi, edi
je 0x505944
call esi
test eax, eax
je 0x50593b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x50593b
test byte [ebp - 0xc], 1
jne 0x505944
or dword [ebp + 0x10], 0x200000
jmp 0x50597d
mov eax, dword [0x661f78]
cmp eax, ebx
je 0x50597d
push eax
call fcn.004f89c6
pop ecx
test eax, eax
je 0x50597d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x50597d
mov eax, dword [0x661f7c]
cmp eax, ebx
je 0x50597d
push eax
call fcn.004f89c6
pop ecx
test eax, eax
je 0x50597d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x661f74]
call fcn.004f89c6
pop ecx
test eax, eax
je 0x50599d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x50599f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50fb1c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50fb54
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0050db21
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0050daf9
jmp 0x50fb60
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x511317
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x511359
call fcn.0051789d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x511359
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x511350
xor eax, eax
jmp 0x511361
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00511367
pop edi
pop esi
pop ebx
ret 4

Function at 0x512e85
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x51fb64
call fcn.004f5078
push ecx
push ecx
push esi
push 0x14
call fcn.0050d3bb
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x512ed8
mov ecx, esi
call fcn.0050dbed
mov eax, dword [0x618f58]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.0050d803
jmp 0x512eda
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x5fed60
push eax
mov dword [ebp - 0x10], esi
call fcn.004f6c4c
pop esi

Function at 0x517dcd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x517dfb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x517e19
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00517d33
jmp 0x517e19
mov eax, dword [esi + 0x14]
test eax, eax
je 0x517e19
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00517d33
test edi, edi
mov eax, edi
jne 0x517e03
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401a80
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401ad0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401af0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401b47
xor ecx, ecx
xor edx, edx
jmp 0x401b29
cmp ax, 0x5c
jne 0x401bb8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401b47
cmp ax, 9
je 0x401b35
cmp ax, 0x20
jne 0x401b10
test ecx, ecx
je 0x401ba3
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401b29
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x401bd8
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401080
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401ba0
cmp ax, 0x20
je 0x401ba0
jmp 0x401b47
cmp ax, 0x22
jne 0x401b39
and edx, 1
jne 0x401b39
xor ecx, 1
jmp 0x401b1d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x401b60
Function at 0x401af0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401ad0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401af0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401b47
xor ecx, ecx
xor edx, edx
jmp 0x401b29
cmp ax, 0x5c
jne 0x401bb8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401b47
cmp ax, 9
je 0x401b35
cmp ax, 0x20
jne 0x401b10
test ecx, ecx
je 0x401ba3
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401b29
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x401bd8
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401080
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x401ba0
cmp ax, 0x20
je 0x401ba0
jmp 0x401b47
cmp ax, 0x22
jne 0x401b39
and edx, 1
jne 0x401b39
xor ecx, 1
jmp 0x401b1d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x401b60
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x11f44c94
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x7837226a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40a200
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a21e
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40a25f
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x401071
Capabilities:
Execute anti-debugging instructions

Disassembly:
push str.BLUELIV_GULOADER_ANTIVM_CHECKER_n
call sub.msvcrt.dll_printf
jmp 0x40100c
fnop
xor edi, edi
nop
mov ecx, 0x186a0
cld
nop
jmp 0x40101a
push ecx
call 0x401071
pop ecx
cmp edx, 0x32
jl 0x40101a
add edi, edx
dec ecx
cmp ecx, 0
jne 0x40101a
cmp edi, 0
jl 0x40100c
cmp edi, 0x68e7780
jge 0x40103d
jmp 0x40104a
push edi
push str.DETECTED__0x_X___0x068E7780_n
call sub.msvcrt.dll_printf
jmp 0x40100c
push edi
push str.NOT_DETECTED__0x_X___0x068E7780_n
call sub.msvcrt.dll_printf
jmp 0x401057
push 0
push str.BLUELIV_GULOADER_ANTIVM_CHECKER
push str.CORRECT___NOT_DETECTED
push 0
call sub.USER32.dll_MessageBoxA
push 0
call sub.KERNEL32.dll_ExitProcess
lfence
rdtsc
lfence
shl edx, 0x20
or edx, eax
mov esi, edx
pushal
mov eax, 1
cpuid
bt ecx, 0x1f
jb 0x40108e
popal
lfence
rdtsc
lfence
shl edx, 0x20
or edx, eax
sub edx, esi
cmp edx, 0
jle 0x401071
ret
Function at 0x46ccd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46000]
mov dword [edi + 0x540e4], 0x17e8e595
push edi
or ebp, 0xffffffff
jmp 0x46ccfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46cd01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ccf0
mov eax, 1
add ebx, ebx
jne 0x46cd13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46cd24
jne 0x46cd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46cd34
dec eax
add ebx, ebx
jne 0x46cd30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46cd08
xor ecx, ecx
sub eax, 3
jb 0x46cd4c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46cdbe
sar eax, 1
mov ebp, eax
jmp 0x46cd57
add ebx, ebx
jne 0x46cd57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x46cd64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x46cd88
inc ecx
add ebx, ebx
jne 0x46cd74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46cd69
jne 0x46cd85
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46cd69
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46cda8
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46cd99
jmp 0x46ccf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46cda8
add edi, ecx
jmp 0x46ccf6
pop esi
mov edi, esi
mov ecx, 0x2667
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46cdc6
cmp byte [edi], 0xd
jne 0x46cdc6
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 eax, ebx
loop 0x46cdcb
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x46ce3a
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6ccb4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6cd68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46cdf8
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6cd6c]
or eax, eax
je 0x46ce34
mov dword [ebx], eax
add ebx, 4
jmp 0x46ce15
call dword [esi + 0x6cd70]
popal
jmp section.UPX0
Function at 0x10008290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021865
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1002b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100088a0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000831c
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 [0x1002c5a0], 0xfffffff
je 0x10008487
mov dword [ebp - 0x20], 0x1002c59c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.1000b1fc
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1002c5a0]
mov edi, dword [0x1002c5b4]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10028630]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10028630]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1002c598]
comiss xmm1, xmm0
jbe 0x10008423
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1001dae0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10021090
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10008405
cmp edi, 0x200
jae 0x10008403
shl edi, 3
cmp edi, ecx
jae 0x10008405
mov edi, ecx
push edi
call fcn.10008710
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100088a0
mov ecx, dword [0x1002c5a0]
mov edx, dword [eax]
jmp 0x10008426
mov edx, dword [ebp - 0x18]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1002c5a0], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1002c5b0]
mov ecx, dword [0x1002c5a4]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1002c59c]
jne 0x10008457
mov dword [ecx + eax*8], esi
jmp 0x10008466
cmp ebx, edx
jne 0x10008460
mov dword [ecx + eax*8], esi
jmp 0x1000846a
cmp dword [ecx + eax*8 + 4], edi
jne 0x1000846a
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
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
push str.unordered_map_set_too_long
call fcn.1000c036
int3