joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3fe1384b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push 0xa0
xor esi, esi
lea eax, [ebp - 0xac]
push esi
push eax
xor ebx, ebx
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, 0x1000
mov word [ebp - 0x14], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x80], eax
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x7c], 0xc
call sub.KERNEL32.dll_GetNextVDMCommand
test eax, eax
je 0x3fe138de
push edi
push dword [ebp - 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x3fe138dd
lea eax, [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [ebp - 4]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x3fe138da
push eax
inc ebx
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x3fe18451
Capabilities:
Encode data using xor

Disassembly:
call 0x3fe183ca
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x3fe183fa
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x3fe18416
xor edx, 0
jmp 0x3fe18421
xor edx, edx
jmp 0x3fe18438
jmp 0x3fe18444
xor eax, eax
push 0x8427d7c0
call 0x3fe18451
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x3fe1848d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x3fe18466
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x3fe184a4
add eax, 0
jno 0x3fe184a9
add esi, 0
ret 0x10
Function at 0x3fe19212
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x3fe19234
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x3fe193d6
cmp edi, dword [ebp + 0x10]
jb 0x3fe193d6
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.3fe18cfe
inc edi
jmp 0x3fe192bd
jmp 0x3fe192ca
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.3fe18cfe
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.3fe18cfe
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x3fe1931e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x3fe19302
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.3fe1934c
add dword [eax], 0x39
jle 0x3fe19328
sub al, 0xf5
mov ch, al
call fcn.3fe19361
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x3fe1b039
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x3fe1b04f
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x3fe1b060
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.3fe1b0a1
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x3fe1d40d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x3fe1d356
add ebx, 0
push ecx
call 0x3fe1d36b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1fa203
sub ebx, dword [0x219a42]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x219a32
call fcn.3fe18e35
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.3fe18343
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x3fe1d4c9
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x3fe1d4c9
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x3fe1d480
mov eax, 1
lock xchg dword [0x219a3e], eax
push 0x3dd1fc71
call 0x3fe1d40d
push esi
add esp, 8
cmp eax, 0
jne 0x3fe1d3f6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x3fe1d41c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x3fe1d431
cmp ecx, edx
cmp eax, 0
je 0x3fe1d456
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x3fe1d440
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.3fe1d46f
dec eax
loope 0x3fe1d472
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x219a3e], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x3fe1d4a6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x3fe1d4bb
jmp 0x3fe1d4c6
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x3fe1d3b4
Function at 0x3fe2452e
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x3fe24804
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x2066b6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1fd67c
push 0xffffffffffffffff
call fcn.3fe1b72e
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x3fe24598
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.3fe245b0
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x3fe247f8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x3fe247cc
Function at 0x3fe33ffe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x3fe34020
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x3fe34020
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x3fe34020
ret
cmp word [ebx + 4], 0x14c
jne 0x3fe34020
test word [ebx + 0x16], 2
je 0x3fe34020
test word [ebx + 0x16], 0x100
je 0x3fe34020
cmp word [ebx + 0x18], 0x10b
jne 0x3fe34020
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x3fe34020
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x3fe340ac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x3fe34040
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.3fe1af8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x3fe34020
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x3fe340ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x3fe34020
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x3fe34020
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x3fe34020
ret
cmp word [ebx + 4], 0x14c
jne 0x3fe34020
test word [ebx + 0x16], 2
je 0x3fe34020
test word [ebx + 0x16], 0x100
je 0x3fe34020
cmp word [ebx + 0x18], 0x10b
jne 0x3fe34020
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x3fe34020
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x3fe340ac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x3fe34040
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.3fe1af8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x3fe34020
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x3fe34163
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x3fe341bc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x3fe34163
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x3fe34172
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40239e15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x3fe341c3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.3fe1b039
cmp eax, dword [ebp + 0xc]
pop eax
je 0x3fe34262
add edi, 4
add eax, 2
dec ecx
jne 0x3fe341a8
call 0x3fe3420f
loope 0x3fe34205
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x3fe3425f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x3fe34270
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x3fe34223
cmp eax, ecx
ja 0x3fe34223
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x3fe342ad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x3fe342a3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.3fe1b518
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x3fe34172
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x3fe341bc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x3fe34163
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x3fe34172
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40239e15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x3fe341c3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.3fe1b039
cmp eax, dword [ebp + 0xc]
pop eax
je 0x3fe34262
add edi, 4
add eax, 2
dec ecx
jne 0x3fe341a8
call 0x3fe3420f
loope 0x3fe34205
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x3fe3425f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x3fe34270
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x3fe34223
cmp eax, ecx
ja 0x3fe34223
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x3fe342ad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x3fe342a3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.3fe1b518
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403fa0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c18b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x464780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
mov dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x404170
lea eax, [ebp - 0x234]
push eax
push 4
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x404170
mov eax, dword [ebp - 0x234]
mov ecx, 4
shr eax, 2
mul ecx
mov esi, eax
mov eax, 0xffffffff
cmovb esi, eax
push esi
call fcn.00439314
mov edi, eax
add esp, 4
test edi, edi
je 0x404051
push esi
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x404053
xor edi, edi
mov dword [ebp - 0x240], edi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x234]
push edi
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x404163
xor esi, esi
test dword [ebp - 0x234], 0xfffffffc
jbe 0x404163
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [edi + esi*4]
push ebx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402000
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
push 0
mov byte [ebp - 4], 1
lea ecx, [eax + eax]
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.00404bb0
mov ecx, dword [ebp - 0x238]
push 0
push 2
push 0x44f660
call fcn.00404bb0
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x404151
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40418c
push ecx
push edx
call fcn.00439306
add esp, 8
mov eax, dword [ebp - 0x234]
inc esi
shr eax, 2
cmp esi, eax
jb 0x404090
test edi, edi
je 0x404170
push edi
call fcn.0043931d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004391ae
mov esp, ebp
pop ebp
ret
call fcn.0043a4d0
int3
Function at 0x40b370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c9a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x464780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00408cf0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40b403
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 [edi + 8], 0x15555555
je 0x40b551
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004392d6
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x451940]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x451940]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40b4f3
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004395b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x40b4d5
cmp ebx, 0x200
jae 0x40b4d3
shl ebx, 3
cmp ebx, ecx
jae 0x40b4d5
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00414610
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00408cf0
mov edx, dword [eax]
jmp 0x40b4f6
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x40b521
mov dword [ecx + eax*8], esi
jmp 0x40b530
cmp edi, edx
jne 0x40b52a
mov dword [ecx + eax*8], esi
jmp 0x40b534
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40b534
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 0x4517f0
call fcn.004377fa
int3
Function at 0x40f100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cf90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x464780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004392d6
mov edi, eax
add esp, 4
test edi, edi
je 0x40f1ad
push 1
mov dword [ebp - 4], 0
call fcn.00437a18
add esp, 4
mov dword [edi + 4], eax
jmp 0x40f1af
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.004031c0
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x465168]
mov ecx, dword [0x46516c]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4100e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d19d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x464780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.00406e90
mov edi, eax
cmp edi, 0x4651b0
je 0x410177
mov esi, dword [0x4651b0]
mov ecx, 0x4651b0
push dword [esi + 4]
push 0x4651b0
call fcn.004087a0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov ecx, dword [0x4651b0]
mov dword [0x4651b4], 0
mov eax, dword [edi]
mov dword [0x4651b0], eax
mov eax, dword [edi + 4]
mov dword [edi], ecx
mov ecx, dword [0x4651b4]
mov dword [0x4651b4], eax
mov dword [edi + 4], ecx
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.004087a0
push 0x40
push dword [ebp - 0x18]
call fcn.00439306
add esp, 8
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
call fcn.0040f250
mov cl, byte [0x4651a0]
mov al, byte [ebp - 0x20]
mov edx, dword [0x4651a8]
mov esi, dword [0x4651ac]
mov byte [ebp - 0x10], cl
mov byte [0x4651a0], al
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x14]
mov dword [0x4651a8], eax
mov dword [0x4651ac], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00416250
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
mov byte [ebp - 4], 0
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.Luna_Start
push edi
call esi
push str.Luna_EmbedSettings
push edi
mov dword [0x465180], eax
call esi
push str.Luna_Inject
push edi
mov dword [0x465188], eax
call esi
push str.Luna_useembed
push edi
mov dword [0x465184], eax
call esi
push str.Luna_checkisusingembed
push edi
mov dword [0x46518c], eax
call esi
push str.Luna_embedcallback
push edi
mov dword [0x465190], eax
call esi
push 0
push 0x64
push 0
push 0
mov dword [0x465194], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0x406a50
push 0x406aa0
push fcn.004034b0
push fcn.004034b0
push fcn.004034b0
push fcn.004034b0
push 0x406a90
push 0x406a80
mov dword [0x465198], eax
call dword [0x465180]
mov ecx, dword [ebp + 0x1c]
add esp, 0x20
cmp ecx, 7
jbe 0x4102cc
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4102c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102e2
push ecx
push edx
call fcn.00439306
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.0043a4d0
int3