joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51c490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51c674
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.0045fa9c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0051bf00
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045f5e6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x51c542
mov edx, dword [esp + 0x10]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x51c615
mov dword [esp + 0x10], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
sar edx, 3
mov dword [esp + 0x1c], edx
shl edx, 3
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [esp + ecx*8 + 0x58]
mov edi, dword [esi]
mov dword [esp + 0xc], edi
mov esi, dword [esi + 4]
mov ecx, ebx
shl edi, cl
and edi, edx
mov dword [esp + 8], edi
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
lea ebp, [ecx - 0x20]
mov dword [esp + 0x18], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb edi, edi
shl esi, cl
and esi, edx
mov ecx, ebp
mov edx, dword [esp + 0xc]
mov ebx, edx
shr edx, cl
and edx, edi
or edx, esi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov ebp, dword [esp + 0x14]
and ebx, ebp
or ebx, edx
mov edx, dword [esp + 8]
mov ebp, edx
shr edx, 8
mov esi, ebx
shl ebx, 0x18
or edx, ebx
mov byte [esp + 0x21], dl
mov edx, ebp
shr ebp, 0x10
mov ebx, esi
shl esi, 0x10
or esi, ebp
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov ebp, ebx
shl ebx, 8
shr edx, 0x18
or edx, ebx
mov byte [esp + 0x23], dl
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x51c646
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
movzx esi, byte [eax + ebp]
or esi, ebx
xchg esi, ebx
mov byte [eax + ebp], bl
xchg esi, ebx
inc ecx
cmp ecx, 8
jge 0x51c53b
movzx ebx, byte [esp + ecx + 0x28]
lea ebp, [edx + ecx]
cmp ebp, 0x20
jge 0x51c53b
test byte [eax], al
cmp ebp, 0x20
jb 0x51c638
mov eax, ebp
mov ecx, 0x20
call fcn.0045f450
nop
call fcn.0045e000
jmp fcn.0051c490
Function at 0x523fc0
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x524179
sub esp, 0xa8
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0045f5d9
nop
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0044d230
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ebp, [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004d00a0
lea ecx, [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004d02a0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa4], edx
lea ebx, [0x535200]
mov dword [esp], ebx
shl ecx, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447510
mov ecx, dword [esp + 0xc]
nop
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0xa4]
xor eax, eax
xor esi, esi
jmp 0x5240f3
mov byte [esi + ecx + 1], dl
inc eax
add esi, 2
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0xa4]
cmp eax, edx
jge 0x524135
movzx edi, byte [ebp + eax]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
xchg edi, eax
shr al, 4
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
lea ebp, [0x54a82a]
movzx edi, byte [ebp + edi]
cmp esi, ebx
jae 0x52416f
xchg edi, eax
mov byte [ecx + esi], al
xchg edi, eax
lea edi, [esi + 1]
movzx edx, byte [esp + 0x1f]
and edx, 0xf
movzx edx, byte [edx + ebp]
cmp ebx, edi
ja 0x5240e0
jmp 0x524166
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044d0d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa8
ret
mov eax, edi
mov ecx, ebx
call fcn.0045f450
mov eax, esi
mov ecx, ebx
call fcn.0045f450
nop
call fcn.0045e000
jmp fcn.00523fc0
Function at 0x526d40
Capabilities:
Clear windows event logs

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x526e11
sub esp, 0x1c
xor eax, eax
jmp 0x526d7e
mov dword [esp + 0x10], eax
mov eax, dword [0x630768]
mov dword [esp], eax
lea eax, [0x57d72c]
mov dword [esp + 4], eax
call fcn.00404500
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x3e8
jle 0x526d5d
mov eax, dword [0x630768]
mov dword [esp], eax
call fcn.00404cb0
xor eax, eax
jmp 0x526db8
mov dword [esp + 0xc], eax
mov eax, dword [0x63076c]
mov dword [esp], eax
lea eax, [0x57d72c]
mov dword [esp + 4], eax
call fcn.00404500
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x3e8
jle 0x526d97
mov eax, dword [0x63076c]
mov dword [esp], eax
call fcn.00404cb0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea eax, [0x535040]
mov dword [esp + 0x14], eax
lea eax, [0x57d734]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004b5200
add esp, 0x1c
ret
call fcn.0045e000
jmp fcn.00526d40
Function at 0x100027ea
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x100029c1
cmp dword [0x10115890], 0
jne 0x100029ba
push ebx
push ebp
push edi
call fcn.10002d42
mov ebx, eax
test ebx, ebx
jne 0x1000282d
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x1000299b
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x10115890
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x100029ba
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10115890]
jmp 0x100029c3
xor eax, eax
add esp, 0x74
ret
Function at 0x100037c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10110f74]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100e3be4
lea ecx, [ebp - 0x214]
call fcn.100030b0
push 0x1f4
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x1fc], 0
push 0
push eax
call fcn.100af1f0
cmp dword [ebp - 0x200], 0x10
lea eax, [ebp - 0x214]
push 0x1f3
cmovae eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100b85a4
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0x10
jb 0x10003864
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000385a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100038bc
push ecx
push edx
call fcn.100ac5af
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10005b30
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100bc3b1
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x101158d0
push 0x1f8
push eax
push dword [0x10110070]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
call fcn.100b835f
int3
Function at 0x100038d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10110f74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101158ac]
mov ecx, dword [ebp + 0x610]
inc eax
mov dword [0x101158ac], eax
push esi
push edi
cmp eax, 0x9c4
jl 0x10003918
push dword [0x10110be4]
call fcn.100037c0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10003935
cmp byte [ecx], 0
je 0x10003935
push 0x3b
push ecx
lea eax, [ebp + 0x1e8]
push 0x3c
push eax
call fcn.100b85a4
add esp, 0x10
lea eax, [ebp + 0x1e8]
push eax
push dword [0x10110bd8]
call fcn.100037c0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10004f20
mov eax, dword [ebp + 0x190]
add esp, 0x14
test dword [ebp + 0x18c], 0x100
mov ecx, 0xfde9
cmovne eax, ecx
mov dword [ebp + 0x190], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1008b060
add esp, 0x610
cmp dword [eax + 0x14], 8
jb 0x100039a5
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x224]
push 0x1f4
push eax
call fcn.100b83b0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.100035d0
push dword [ebp + 0x614]
imul eax, dword [0x101158ac], 0x6c0
lea esi, [ebp + 8]
sub esp, 0x608
mov ecx, 0x182
mov edi, esp
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x101158a8]
mov ecx, eax
call fcn.10005dd0
test al, al
jne 0x10003a28
push dword [0x10110be0]
call fcn.100037c0
imul ecx, dword [0x101158ac], 0x6c0
add esp, 4
add ecx, dword [0x101158a8]
call fcn.10005b60
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x101158d0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [0x10110070]
mov dword [ebp - 0x14], 4
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
Function at 0x10003ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x10110f74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x610]
push esi
push edi
mov dword [ebp - 0xa18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1008b060
add esp, 0x610
cmp dword [eax + 0x14], 8
jb 0x10003d31
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x224]
push 0x1f4
push eax
call fcn.100b83b0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 8
jb 0x10003d80
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003dfb
push ecx
push edx
call fcn.100ac5af
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xa14], 2
mov ecx, 0x182
lea esi, [ebp + 8]
lea edi, [ebp - 0xa0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100af1f0
push 0x1f3
push dword [ebp - 0xa18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100b84e2
add esp, 0x1c
lea eax, [ebp - 0xa14]
push 0
push 0x101158d0
push 0x9f8
push eax
push dword [0x10110070]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
call fcn.100b835f
int3

Function at 0x10003e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x10003e2c
push eax
push dword [0x10110bdc]
call fcn.100037c0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x101158d0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x10110070]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x10005240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x2c]
test esi, esi
js 0x10005253
cmp esi, 0xc330
jbe 0x10005267
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push str.something_went_very_wrong__invalid_length__d_at_hook_address__I64d_
call fcn.100037c0
add esp, 0x10
mov ecx, dword [ebp + 0x28]
lea eax, [esi + 0x20]
movups xmm0, xmmword [ebp + 8]
push 0
push 0x101158d0
movups xmmword [ecx], xmm0
push eax
movups xmm0, xmmword [ebp + 0x18]
push ecx
movups xmmword [ecx + 0x10], xmm0
push dword [0x10110070]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebp
ret
Function at 0x10005930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d859d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10110f74]
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 + 0xc]
mov ebx, dword [ebp + 8]
sub eax, 0
je 0x10005ae3
sub eax, 1
jne 0x10005b03
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100057e0
add esp, 8
push 0x10115938
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.10002f40
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.10003320
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0x101158a4
je 0x100059e0
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x101158a4]
mov byte [ebp - 4], 1
mov dword [0x101158a4], ecx
test eax, eax
je 0x100059e0
cmp eax, 0xffffffff
je 0x100059e0
push eax
call esi
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
test eax, eax
je 0x100059f3
cmp eax, 0xffffffff
je 0x100059f3
push eax
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100035d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10005a16
xor eax, eax
jmp 0x10005b08
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100057e0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push str.LUNA_VNR_SECTION_
push eax
call fcn.10002f40
add esp, 0x14
push eax
push 0x41eb00
push 0x101158a8
push 0x10110074
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 4
call fcn.100036c0
lea ecx, [ebp - 0x28]
call fcn.100035d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.100035d0
call edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100057e0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push str.EMBED_SHARED_MEM
push eax
call fcn.10002f40
add esp, 0x14
push eax
push 0x9f8
push 0x1011589c
push 0x10110078
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 6
call fcn.100036c0
lea ecx, [ebp - 0x58]
call fcn.100035d0
lea ecx, [ebp - 0x70]
call fcn.100035d0
call fcn.1008e8c0
push 0
push 0
push 0
push fcn.10003e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
jmp 0x10005b01
call fcn.1008eb70
call fcn.10082340
push dword [0x101158a8]
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call esi
push dword [0x1011589c]
call esi
mov eax, 1
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.100ac5bd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007980
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d869d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10110f74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100079d8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 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
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100079af
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x100079af
mov eax, dword [eax + edi + 0x78]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100079af
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ebx
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [eax + edi + 0x18], esi
jbe 0x10007a66
mov eax, dword [eax + edi + 0x24]
lea ecx, [edi + esi*2]
movzx ecx, word [ecx + eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi + 0x1c]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov eax, dword [eax + edi]
add eax, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp edx, ebx
je 0x10007a46
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov dword [ebp - 0x20], edx
jmp 0x10007a59
lea eax, [ebp - 0x18]
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.100066b0
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [eax + edi + 0x18]
jb 0x10007a13
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 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

Function at 0x10007bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d86db
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x10110f74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x9e
lea esi, [ebp + 8]
lea edi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
push 0x278
call fcn.100ac57f
add esp, 4
test eax, eax
je 0x10007c1f
mov ecx, 0x9e
lea esi, [ebp - 0x288]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x10007c21
xor eax, eax
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10006790
push 0
push 0
call fcn.100bc60c
add esp, 0x18
mov dword [ebp - 0x294], eax
test eax, eax
je 0x10007c9a
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10007c8d
push ecx
push eax
call fcn.1009505e
add esp, 8
test eax, eax
jne 0x10007c94
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ac5bd
mov esp, ebp
pop ebp
ret
push 1
call fcn.100955b6
push eax
call fcn.10095589
push 6
mov dword [ebp - 0x290], 0
call fcn.100955b6
int3
Function at 0x1000f9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1000f9e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000f9d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10010090
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8c85
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10110f74]
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.10010020
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10010123
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], 0xfffffff
je 0x10010278
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100ac57f
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
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 + 0x100e3e50]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e3e50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001021a
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100bc740
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100ac810
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100101fc
cmp ebx, 0x200
jae 0x100101fa
shl ebx, 3
cmp ebx, ecx
jae 0x100101fc
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10010890
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10010020
mov edx, dword [eax]
jmp 0x1001021d
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 0x10010248
mov dword [ecx + eax*8], esi
jmp 0x10010257
cmp edi, edx
jne 0x10010251
mov dword [ecx + eax*8], esi
jmp 0x1001025b
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001025b
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.10094d5b
int3