joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066490
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100a9cc8], eax
je 0x100664ad
mov eax, 0x10dd
jmp 0x10066590
mov eax, dword [0x100a9cd8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006652c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10066508
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10066508
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10065330
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10067d09
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100664b5
mov dword [0x100a9cd8], 0
call fcn.10065c10
mov ecx, dword [0x100a9cd4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1006657a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10067d09
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10066544
mov dword [0x100a9cd4], 0
mov dword [0x100a9cc8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10066a70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a9ccc], 0
je 0x10066a89
mov eax, dword [0x100a9ccc]
jmp 0x10066b28
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10066a9a
xor eax, eax
jmp 0x10066b28
push 8
call fcn.10067966
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10066af2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10066adb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10067d09
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100a9ccc], eax
mov dword [0x100a9cd0], 0
mov eax, dword [ebp - 8]
jmp 0x10066b28
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10066b0a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10066aba
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100a9cd4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100a9cd4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10075def
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10075c6e
Function at 0x10084b00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a59e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a7078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100a79a0]
cmp eax, 0xffffffff
jne 0x10084b36
xor ebx, ebx
jmp 0x10084b3f
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 0x10084b81
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x10084bc0
test esi, esi
jne 0x10084bc4
push 0x10084600
push 0x100aa7f4
call fcn.10084170
mov eax, dword [0x100a79a0]
add esp, 8
cmp eax, 0xffffffff
je 0x10084b81
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10084bae
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10084bae
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 0x10084c06
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10084bef
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 0x10084bc4
cmp dword [ebx + 0x18], 0
je 0x10084b50
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10084c2d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10084c2d
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10084620
cmp dword [ebx + 0x18], 0
jne 0x10084c10
jmp 0x10084b50
Function at 0x526912
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call fcn.004fed08
mov dword [ebp - 0x14], eax
push 0x2c
push 0x5a41dc
call fcn.00477c80
add esp, 8
mov dword [ebp - 4], eax
push 2
push 0x596338
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x52696e
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x526a6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
and edx, 0x80000003
jns 0x52698f
dec edx
or edx, 0xfffffffc
inc edx
test edx, edx
jne 0x526a6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
and edx, 0x80000001
jns 0x5269ac
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x526a6e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
xor eax, eax
mov ax, word [ecx + 0xe]
mov ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx]
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add edx, dword [ecx + 0x14]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
push edx
call fcn.00439980
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
mov edi, dword [ebp - 0x18]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov eax, dword [eax + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov eax, dword [eax + 8]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, dword [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
xor eax, eax
mov ax, word [edx + 0xe]
mov ecx, eax
mov edx, 1
shl edx, cl
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
lea edx, [ecx + edx*4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
jmp 0x526a77
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x541a40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x541a68
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je 0x541a85
mov eax, dword [ebp - 4]
or al, 4
mov dword [ebp - 4], eax
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x541aa6
mov edx, dword [ebp - 4]
or edx, 0x20000
mov dword [ebp - 4], edx
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 1
test eax, eax
je 0x541ac1
mov ecx, dword [ebp - 4]
or ecx, 2
mov dword [ebp - 4], ecx
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 1
test edx, edx
je 0x541ade
mov eax, dword [ebp - 4]
or al, 8
mov dword [ebp - 4], eax
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 1
test ecx, ecx
je 0x541afc
mov edx, dword [ebp - 4]
or edx, 0x20
mov dword [ebp - 4], edx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x541b19
mov ecx, dword [ebp - 4]
or ch, 1
mov dword [ebp - 4], ecx
push 4
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je 0x541b37
mov eax, dword [ebp - 4]
or ah, 2
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x541b55
mov edx, dword [ebp - 4]
or dh, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x543fe8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x34], 0
cmp dword [ebp + 0xc], 0
jne 0x544003
jmp 0x5440bd
mov dword [ebp - 0xc], 0
jmp 0x544015
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x91
jg 0x54403d
mov edx, dword [ebp - 0xc]
mov eax, dword [edx*4 + 0x59ae94]
cmp eax, dword [ebp + 0xc]
jne 0x54403b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x34], edx
jmp 0x5440bd
jmp 0x54400c
cmp dword [ebp + 0xc], 0x20
jb 0x5440bd
mov al, byte [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
cmp ecx, 0xffffffff
je 0x5440bd
movsx edx, word [ebp - 4]
sar edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 1
test eax, eax
je 0x54407d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x30]
or edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 8]
and ecx, 2
test ecx, ecx
je 0x544095
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x30]
or al, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 8]
and edx, 4
test edx, edx
je 0x5440ae
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x30]
or ecx, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x30], ecx
movsx eax, word [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x34], eax
mov esp, ebp
pop ebp
ret

Function at 0x5440c1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
jne 0x5440d1
xor eax, eax
jmp 0x54412c
mov dword [ebp - 8], 0
jmp 0x5440e3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x91
jg 0x544102
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x59ae94]
cmp edx, dword [ebp + 0xc]
jne 0x544100
mov eax, dword [ebp - 8]
jmp 0x54412c
jmp 0x5440da
cmp dword [ebp + 0xc], 0x20
jb 0x54412a
mov al, byte [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov word [ebp - 4], ax
movsx ecx, word [ebp - 4]
cmp ecx, 0xffffffff
je 0x54412a
movsx eax, word [ebp - 4]
and eax, 0xff
jmp 0x54412c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
jmp loc.00409000
Function at 0x411507
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
push 1
push 0x3c
push dword [ebp + 8]
call fcn.00404dbf
mov dword [ebp - 8], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00401cad
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040cedd
mov dword [ebp - 0x10], eax
cmp word [ebp - 0x10], 0x5a4d
jne 0x411597
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00404dbf
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x411597
mov eax, 1
jmp 0x41159c
mov eax, 0
test eax, eax
je 0x4116e3
push 1
push 0x16
push dword [ebp - 4]
call fcn.0040cedd
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x2000
mov eax, dword [ebp - 8]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4116c7
push 1
push 0x28
push dword [ebp - 4]
call fcn.00404dbf
mov dword [ebp - 8], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x20]
call fcn.00401cad
push eax
call fcn.00404d43
push 0x8000
push 0
push dword [ebp + 8]
xor eax, eax
call dword [0x42a078]
nop
nop
jmp 0x4116ed
mov eax, 0
jmp 0x4116ed
mov esp, ebp
pop ebp
ret 4

Function at 0x44f3e9
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 1
mov eax, dword fs:[0x30]
push dword [eax + 8]
push dword [esp + 0xc]
jmp fcn.0045cc25
Function at 0x4512b8
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4512e6
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4512dd
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4512d5
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x451307
mov esp, ebp
pop ebp
ret

Function at 0x45130b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x451377
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4513a4
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x451393
xor ecx, eax
xor edx, ebx
dec edi
jne 0x451384
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4513ca
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x45136b
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4513f6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4519ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x451a31
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x451a37
add eax, 4
pop esi
dec esi
push esi
jne 0x451a19
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x4542e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4542fe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4542f3
pop esi
ret
Function at 0x4578e0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 8
xor eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi]
mov edx, dword [eax + 0x772ca0]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x4578eb
xor eax, eax
mov ecx, 0x100
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x772ce8]
mov dword [eax + edx], edi
add eax, 4
dec ecx
jne 0x457905
cmp eax, 0x1000
jl 0x457900
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
xor ebp, ebp
mov eax, ecx
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x23], al
mov eax, ecx
cdq
idiv edi
inc ecx
mov eax, ecx
mov dl, byte [edx + ebx]
mov byte [esp + 0x22], dl
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x21], al
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi]
inc ecx
add eax, ebp
add ebp, 4
mov dl, byte [edx + ebx]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
cmp ebp, 0x48
jl 0x45792a
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00456f40
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov dword [edi + edx], eax
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x45797a
mov edi, 4
mov ebx, 0x80
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00456f40
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov dword [edi + edx - 4], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx], edx
add edi, 8
dec ebx
jne 0x4579b0
cmp edi, 0x1004
jl 0x4579ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x457d3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov edi, dword [ebp + 8]
mov edx, dword [0x78a060]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [0x78a064]
dec edi
xor eax, eax
add bl, byte [edx + 0x789f61]
mov al, byte [edx + 0x789f61]
mov ch, byte [ebx + 0x789f60]
mov byte [ebx + 0x789f60], al
mov byte [edx + 0x789f61], ch
add al, ch
inc edi
mov al, byte [eax + 0x789f60]
inc dl
xor byte [edi], al
dec cl
jne 0x457d57
mov dword [0x78a060], edx
mov dword [0x78a064], ebx
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x40368e
Capabilities:
Query environment variable

Disassembly:
jmp 0x4f55b7
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4f55cb
xor edi, edi
jmp 0x4f560f
push ebx
push esi
call fcn.004f54b0
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.004053fd
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4f55fc
push ebx
push esi
push edi
call fcn.00405623
add esp, 0xc
push 2
push 0
call fcn.00404dc7
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x404f1b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5101c0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x55cb80], 1
jge 0x51022f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x510205
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x510205
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5101e2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x51021b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x510222
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x51031f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x5102f0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x5102e5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x5102d9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x5102e0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x51031f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x51031a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x510303
mov eax, dword [ebx + 8]
jmp 0x51031f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x510311
xor eax, eax
jmp 0x51031f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x51024f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret