joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000c3ec
cmp byte [esi + 0x3d], 0
je 0x1000c3ec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000c3da
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1000c3a2
sub eax, 1
je 0x1000c3a6
sub eax, 2
jne 0x1000c3da
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000c3c3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100687cc
add esp, 0x10
cmp edi, eax
jne 0x1000c3da
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1005b901
mov esp, ebp
pop ebp
ret

Function at 0x1000d510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083ed0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a5064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.1005bb1d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100467e1
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x1000d5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083ed0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a5064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1005bb1d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100467e1
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x10016790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100167bb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100167a4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x10018360
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084d0d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x100a5064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
add eax, 0x18
push eax
mov dword [ebp - 0x18], edi
call fcn.10018fc0
mov edx, str.https
lea ecx, [ebp - 0x30]
call fcn.100191b0
mov edx, dword [ebp - 0x1c]
mov bl, al
cmp edx, 8
jb 0x100183f1
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100183e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018484
push edx
push ecx
call fcn.1005be67
add esp, 8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
add eax, 0x60
movzx ebx, bl
push eax
shl ebx, 0x17
call fcn.10018fc0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x14], 8
jb 0x10018419
mov esi, dword [esi]
push ebx
push 0
push 0
push 0
push eax
mov eax, dword [ebp - 0x14]
push esi
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
sete bl
cmp edx, 8
jb 0x1001846a
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018489
push edx
push ecx
call fcn.1005be67
add esp, 8
test bl, bl
jne 0x1001848e
mov dword [edi], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10064c03
call fcn.10064c03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Error__WinHttpOpenRequest_
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.10006230
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x70]
call fcn.100170b0
push 0x100a38ec
lea eax, [ebp - 0x70]
push eax
call fcn.1005d5bb
int3
Function at 0x100198e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10019911
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10019900
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1001fcf0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push str.SoftwareGPT_RE_BOOT_UpdateChecker
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001fd47
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareGPT_RE_BOOT_UpdateChecker
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001fe54
cmp dword [0x100a5bf8], 8
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 5]
mov byte [ebp - 5], 0
push ecx
push 0
push 8
mov eax, 0x100a5be4
mov dword [ebp - 0xc], 1
cmovae eax, dword [0x100a5be4]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1001fe78
cmp eax, 0xea
je 0x1001fe54
cmp eax, 2
jne 0x1001fe40
push 0
push 0x41
push 0x100973a4
push str._fT_T_ue
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
cmp eax, 1
jne 0x1001fde8
cmp dword [0x100a5bf8], 8
lea ecx, [ebp - 5]
push 1
push ecx
mov byte [ebp - 5], al
mov eax, 0x100a5be4
cmovae eax, dword [0x100a5be4]
push 3
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001fe68
jmp 0x1001fe54
cmp eax, 2
jne 0x1001fe40
cmp dword [0x100a5bf8], 8
lea ecx, [ebp - 5]
push 1
push ecx
push 3
mov eax, 0x100a5be4
mov byte [ebp - 5], 0
cmovae eax, dword [0x100a5be4]
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001fe7e
push 0x30
push 0x10097390
push 0x10097398
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
push 0x30
push 0x10097390
push 0x10097398
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x30
push 0x10097390
push 0x10097398
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 5], 0
jne 0x1001fe68
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
Function at 0x10021ef0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a0b00
push 0x1005de00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100a5064]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x10021f93
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10021f93
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10021f93
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10021f93
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10021f9c
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
Function at 0x100222c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x1002237c
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10022306
sub edi, 0x8000000
jmp 0x10022374
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1002237c
cmp dword [ebp - 0x10], 0x10000
jne 0x1002235f
cmp dword [ebp - 0x14], 0x10000
jb 0x1002235f
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10022427
sub edi, 0x10000
jmp 0x10022374
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x100222f1
movzx eax, si
test eax, eax
je 0x1002238b
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x10022425
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100223b5
add esi, 0x8000000
jmp 0x1002241d
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call ebx
test eax, eax
je 0x10022425
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x10022408
cmp ecx, 0x10000
jb 0x10022408
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10022427
add esi, 0x10000
jmp 0x1002241d
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1002241d
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x100223a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b901
mov esp, ebp
pop ebp
ret

Function at 0x100224b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100a8674], 0
jne 0x10022539
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x100a8674
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10022539
push esi
mov esi, dword [0x100a8680]
mov dword [0x100a8688], eax
mov dword [0x100a8684], eax
mov dword [0x100a867c], eax
push edi
test esi, esi
je 0x1002251a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x10022531
mov esi, dword [esi + 4]
test esi, esi
jne 0x10022501
xor eax, eax
pop edi
mov dword [0x100a8670], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002251c
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
Function at 0x10022990
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x100a8670]
push esi
mov esi, ecx
test eax, eax
jne 0x100229fe
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x100229aa
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.1005bb1d
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100229eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.1005be67
add esp, 8
mov dword [0x100a8670], esi
mov eax, esi
mov dword [0x100a867c], 0
pop edi
pop esi
ret
mov eax, dword [0x100a8684]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x100a8684], edi
pop edi
pop esi
ret
Function at 0x10022e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a5064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x24], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 8], 0
push 0x1c
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x10022edd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x24]
test byte [ebp - 0xc], 0xf0
mov ecx, 0x40
mov eax, 4
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b901
mov esp, ebp
pop ebp
ret 8

Function at 0x10022f10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a0b20
push 0x1005de00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100a5064]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea esi, [ecx + 0x10000]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10022f91
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005b901
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0x1000
jne 0x10023007
cmp byte [ebp - 0x24], 1
je 0x10023007
test dword [ebp - 0x24], 0x100
jne 0x10023007
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x10022fcb
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x2c]
ja 0x10022fcb
cmp eax, 0x40
jb 0x10022fcb
cmp dword [eax + esi], 0x4550
je 0x10022fda
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x10022f64
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10022f75
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x10022f64
Function at 0x10023020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a0b40
push 0x1005de00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100a5064]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, ecx
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x10023066
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10023081
push 0xc1
jmp 0x1002316b
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x10023098
push 0xbf
jmp 0x1002316b
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x10023166
lea ecx, [ebx + 0x18]
add ecx, eax
mov dword [ebp - 0x24], ecx
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [ebx + 6]
cmp esi, eax
jae 0x10023166
lea eax, [esi + esi*4]
lea edi, [ecx + eax*8]
mov ecx, str..detour
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100230f0
test dl, dl
je 0x100230ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100230f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100230d0
xor eax, eax
jmp 0x100230f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10023147
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10023166
cmp dword [edi + 0x10], 0
je 0x10023166
mov esi, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [esi]
cmp eax, 0x40
jb 0x10023166
cmp dword [esi + 4], 0x727444
jne 0x10023166
cmp dword [esi + 8], 0
jne 0x10023124
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x24]
jmp 0x100230af
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], eax
mov esi, edi
cmp dword [edi + 0x14], 8
jb 0x10026739
mov esi, dword [edi]
mov ebx, dword [edi + 0x10]
mov edx, 0x811c9dc5
mov ecx, 0
add ebx, ebx
je 0x10026764
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10026750
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
mov esi, dword [eax + ecx*8 + 4]
lea ebx, [eax + ecx*8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp esi, eax
je 0x100267b7
mov ebx, dword [ebx]
lea edx, [esi + 8]
mov ecx, edi
call fcn.1001f5b0
test al, al
jne 0x100267a5
cmp esi, ebx
je 0x100267b7
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.1001f5b0
test al, al
je 0x10026790
test esi, esi
je 0x100267b7
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100267d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100858d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100a5064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0x10
jb 0x1002680b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10026829
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10026817
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.100272d0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10026846
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1002698a
cmp dword [0x100a8694], 0x71c71c7
je 0x100269a0
mov dword [ebp - 0x20], 0x100a8690
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.1005bb1d
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.1000b720
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100a8694]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009b740]
mov eax, dword [0x100a86a8]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x1009b740]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x100a868c]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10026937
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10023d70
call fcn.1005c410
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x100a86a8]
cmp eax, ecx
jae 0x10026919
cmp eax, 0x200
jae 0x10026917
shl eax, 3
cmp eax, ecx
jae 0x10026919
mov eax, ecx
push eax
call fcn.10026f40
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100272d0
mov ecx, dword [0x100a8694]
mov edx, dword [eax]
jmp 0x1002693a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x100a8694], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x100a8698]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100a86a4]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x100a8690]
jne 0x1002696e
mov dword [ecx + eax*8], edi
jmp 0x10026980
cmp esi, edx
jne 0x10026977
mov dword [ecx + eax*8], edi
jmp 0x10026984
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10026984
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
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 8
push str.unordered_map_set_too_long
call fcn.10046581
int3