joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474ca8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x474e53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x474e34
mov dl, 1
mov eax, dword [0x41bd44]
call fcn.004038ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040480c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x474e23
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00461c88
test al, al
je 0x474e16
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x474e64
lea eax, [ebp - 0x254]
call fcn.0040a3b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x474e16
xor eax, eax
push ebp
push 0x474e0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x474e9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x474df8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a7c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x474df8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x474d19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420138
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e5a
lea eax, [ebp - 0x260]
call fcn.0040480c
ret

Function at 0x47579c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d2c10]
cmp byte [eax + 0xa5], 0
jne 0x47580d
cmp dword [0x4d2c28], 0
jne 0x4757ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x475758
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d2c28], eax
cmp dword [0x4d2c24], 0
jne 0x4757e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d2c24], eax
cmp dword [0x4d2c2c], 0
jne 0x47580d
push esp
push 0
push 0
push 0x4756fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d2c2c], eax
pop edx
ret
Function at 0x475ed0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d2c10]
cmp dword [eax + 0x30], 0
je 0x475f7a
cmp dword [ebx + 0x94], 0
jne 0x475f74
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x475e60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x475f74
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x475f3a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x475f74
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041dd98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x475f49
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x476ad8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x476b0d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048fc
jmp 0x476b1a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404860
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x477cd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x477d15
mov eax, esi
call fcn.0045d250
test al, al
je 0x477d15
mov eax, dword [ebx + 0x84]
call fcn.0045cf4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477d15
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045cf4c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x48280c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482946
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041ea4c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x482888
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x482888
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408eb4
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4d08e8]
mov ebx, dword [ebx]
mov eax, 0x48295c
call ebx
dec eax
jne 0x482888
mov ebx, 1
jmp 0x48288a
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x48292b
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0048231c
test al, al
jne 0x48291f
mov eax, dword [ebp - 4]
call fcn.00482800
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404860
xor edx, edx
push ebp
push 0x48290d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x482903
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00482c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48291f
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4828a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48294d
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404830
ret

Function at 0x4a2d40
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4a2d65
cmp dword [esp + 4], 5
jb 0x4a2d65
mov al, 1
jmp 0x4a2d67
xor eax, eax
add esp, 0x94
ret
Function at 0x4b6208
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b6236
mov eax, ebx
call fcn.004b6cbc
cmp dword [ebx + 0x40], 0
je 0x4b622f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b62a7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b6299
cmp dword [ebx + 8], 0
je 0x4b6258
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b626a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b6299
cmp dword [ebx + 8], 0
je 0x4b624b
cmp eax, 3
je 0x4b627d
dec eax
jne 0x4b624b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b624b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b624b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b62c5
cmp dword [ebx + 0x14], 0xcc
je 0x4b62c5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b62d0
pop ebx
ret

Function at 0x4c9c1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cbc
mov eax, dword [ebp - 8]
call fcn.00404cbc
mov eax, dword [ebp + 8]
call fcn.00404cbc
xor eax, eax
push ebp
push 0x4c9ceb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4c9d04
call fcn.00404b18
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.0040912c
cmp dword [ebp - 0x10], 0
je 0x4c9c8f
push dword [ebp - 0xc]
push 0x4c9d18
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b8c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040912c
cmp dword [ebp - 0x14], 0
je 0x4c9cb8
push dword [ebp - 0xc]
push 0x4c9d24
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b8c
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ccc
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9cf2
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404830
lea eax, [ebp + 8]
call fcn.0040480c
ret

Function at 0x4c9d2c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cbc
xor eax, eax
push ebp
push 0x4c9da3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.004097d0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov ecx, eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, ebx
call fcn.004098e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9daa
lea eax, [ebp - 4]
call fcn.0040480c
ret
Function at 0x10002c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10049100]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x28]
push 0x28
mov byte [ebp - 0xc], al
call fcn.1001dc96
add esp, 4
test eax, eax
je 0x10002c4f
movups xmm0, xmmword [ebp + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp + 0x18]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
jmp 0x10002c51
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push 0x10001540
push 0
push 0
call fcn.100265ff
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10002c9a
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10002c93
push ecx
push eax
call fcn.1001c68b
add esp, 8
test eax, eax
jne 0x10002c93
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dfed
mov esp, ebp
pop ebp
ret
push 1
call fcn.1001cd91
push 6
mov dword [ebp - 0x30], 0
call fcn.1001cd91
int3

Function at 0x10002ce0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10049100]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm1, xmmword [ebp + 8]
push esi
movups xmm0, xmmword [ebp + 0x18]
mov esi, dword [ebp + 0x28]
movd eax, xmm1
push edi
mov edi, dword [ebp + 0x2c]
push eax
movups xmmword [ebp - 0x404], xmm0
mov dword [ebp - 0x3f0], esi
mov dword [ebp - 0x3f4], eax
call fcn.10014410
add esp, 4
test eax, eax
je 0x10002dc9
push 0x3e8
add eax, 0x10
push edi
push eax
call fcn.10022ad4
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002d42
sub eax, edx
xor edi, edi
sar eax, 1
mov esi, 0x1505
push ebx
lea ebx, [eax + eax]
test ebx, ebx
je 0x10002d89
mov eax, esi
mov ecx, edi
shld edi, esi, 5
shl esi, 5
add esi, eax
adc edi, ecx
mov ecx, dword [ebp - 0x3f0]
movzx eax, byte [ecx]
cdq
add esi, eax
adc edi, edx
inc ecx
mov dword [ebp - 0x3f0], ecx
sub ebx, 1
jne 0x10002d60
push edi
push esi
push dword [ebp - 0x3f4]
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.10002ee0
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001dfed
mov esp, ebp
pop ebp
ret
Function at 0x10005380
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038ba3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10049100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x1000547a
test dl, 0x10
jne 0x1000547a
mov al, 1
jmp 0x1000547c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x100054a0
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x100054d3
jbe 0x100054d3
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x100054b8
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.100046e0
jmp 0x100054d3
sub esi, edx
je 0x100054d0
shl esi, 3
push esi
push 0
push ebx
call fcn.1001fc20
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
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 0x1c
Function at 0x1000d3b0
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
sar esi, 1
add esi, esi
je 0x1000d3e1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000d3d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10010980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039535
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10049100]
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.10010560
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10010a13
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 0x10
cmp dword [edi + 8], 0x38e38e3
je 0x10010b73
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.1001dc96
mov edx, dword [ebp + 0x14]
mov esi, eax
mov ecx, dword [ebx]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push dword [edx]
push dword [eax]
call fcn.100113d0
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 + 0x1003c330]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003c330]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10010b15
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100278d0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001e490
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10010af7
cmp ebx, 0x200
jae 0x10010af5
shl ebx, 3
cmp ebx, ecx
jae 0x10010af7
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100187d0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10010560
mov edx, dword [eax]
jmp 0x10010b18
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 0x10010b43
mov dword [ecx + eax*8], esi
jmp 0x10010b52
cmp edi, edx
jne 0x10010b4c
mov dword [ecx + eax*8], esi
jmp 0x10010b56
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10010b56
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 0x10
push str.unordered_map_set_too_long
call fcn.1001c605
int3
Function at 0x10010b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003956d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10049100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.10017430
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x10010c36
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.10017740
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x10010c18
cmp dword [ebp + 8], eax
je 0x10010c36
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.100175c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x10010c9c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x10010c65
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.10013ed0
jmp 0x10010c75
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x10010c9c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10010cc9
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x10010d22
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.100175c0
mov edx, dword [ebp + 8]
jmp 0x10010d24
cmp dword [esi + 0x18], 0
je 0x10010cff
cmp dword [esi + 0x10], 0
je 0x10010cff
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.10015e40
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x10010ca2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x10010ca2
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10010d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003956d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10049100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffff8
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.10017430
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x10010df6
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.10017740
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x10010dd8
cmp dword [ebp + 8], eax
je 0x10010df6
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.100175c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x10010e5c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x10010e25
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.10013ed0
jmp 0x10010e35
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x10010e5c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10010e89
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x10010ee2
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.100175c0
mov edx, dword [ebp + 8]
jmp 0x10010ee4
cmp dword [esi + 0x18], 0
je 0x10010ebf
cmp dword [esi + 0x10], 0
je 0x10010ebf
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.10015e40
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x10010e62
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x10010e62
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4