joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ef58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470be0]
cmp dword [eax + 0x30], 0
je 0x45f002
cmp dword [ebx + 0x94], 0
jne 0x45effc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45eee8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45effc
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 0x45efc2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45effc
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.004196d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45efd1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45fb60
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 0x45fb95
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.00404694
jmp 0x45fba2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460d6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460dad
mov eax, esi
call fcn.004470bc
test al, al
je 0x460dad
mov eax, dword [ebx + 0x84]
call fcn.00446db8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460dad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446db8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4617cc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404a54
xor eax, eax
push ebp
push 0x46187a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x14], 0
jne 0x4617fe
mov byte [ebx + 0xd], 0
mov ebx, 2
jmp 0x461864
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46180b
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebx + 0x10]
push eax
push 0
push 0
push 0xf001f
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 0x18]
add eax, 4
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x18], 0
jne 0x46184c
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, 3
jmp 0x461864
mov byte [ebx + 0xd], 1
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004045f8
mov eax, ebx
call fcn.00461888
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461881
lea eax, [ebp - 4]
call fcn.004045a4
ret
Function at 0x465108
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x46519c
push 0
mov eax, ebx
call fcn.00404a64
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x465177
mov eax, esi
call fcn.00404864
inc eax
push eax
mov eax, esi
call fcn.00404a64
push eax
push 1
push 0
mov eax, edi
call fcn.00404a64
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x465192
mov ecx, dword [0x46f190]
mov dl, 1
mov eax, dword [0x46385c]
call fcn.0040d1bc
call fcn.00403fb8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x466200
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebp, eax
mov eax, ebp
call fcn.00404864
mov edx, eax
mov eax, dword [esp]
call fcn.00404bf0
mov eax, ebp
call fcn.00404864
test al, al
jbe 0x46626b
mov byte [esp + 4], al
mov bl, 1
mov eax, dword [esp]
call fcn.00404abc
mov edi, ebx
and edi, 0xff
mov dl, byte [ebp + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
xor eax, eax
mov al, byte [ebp + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec byte [esp + 4]
jne 0x466230
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46d88c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x46d62c
call fcn.004067c0
xor eax, eax
push ebp
push 0x46d9e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46f340]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x46f340]
mov eax, dword [eax]
call fcn.0045ffc4
mov eax, dword [0x46f340]
mov eax, dword [eax]
mov edx, 0x46d9fc
call fcn.0045fbac
push 0x46da08
push 0
push 0
call fcn.004069d8
mov edi, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x46d983
mov bl, 1
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetTopWindow
mov esi, eax
jmp 0x46d96d
push 0x104
push 0x470ca8
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, 0x470ca8
mov ecx, 0x105
call fcn.00404814
mov edx, dword [ebp - 0x14]
mov eax, 0x46d9fc
call fcn.00404ba8
dec eax
jne 0x46d963
push 0xffffffffffffffeb
push esi
call sub.user32.dll_GetWindowLongA
cmp eax, 0x2766
jne 0x46d963
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push 0
push 0x7e8
push esi
call sub.user32.dll_SendMessageA
xor ebx, ebx
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test bl, bl
je 0x46d975
test esi, esi
ja 0x46d90b
mov eax, dword [0x46f340]
mov eax, dword [eax]
call fcn.00460148
jmp 0x46d9c6
mov ecx, dword [0x46f16c]
mov eax, dword [0x46f340]
mov eax, dword [eax]
mov edx, dword [0x4623b4]
call fcn.0045ffdc
push 0x2766
push 0xffffffffffffffeb
mov eax, dword [0x46f16c]
mov eax, dword [eax]
call fcn.00446db8
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [0x46f340]
mov eax, dword [eax]
call fcn.0046005c
push edi
call sub.kernel32.dll_ReleaseMutex
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d9e9
lea eax, [ebp - 0x14]
call fcn.004045a4
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10005cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
push esi
push dword [ebp + 8]
call fcn.10005a02
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10005d2b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10005a3d
push esi
mov cl, 0x64
stc
lea eax, [ebp - 0x40]
push eax
call fcn.10005a4d
push eax
push esi
push dword [ebp + 8]
call fcn.10005a02
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10005a3d
invalid
Function at 0x100078f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10005a4d
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.100059ae
add esp, 0xc
jmp 0x100079b5
Function at 0x10014650
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10059084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x5c], 0
jne 0x10014694
xor eax, eax
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, dword [edi + 8]
push dword [edi + 0x18]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push 1
lea eax, [ebp - 0x20]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x100146c9
cmp eax, 0xffffffff
jne 0x100146de
push 0x1234
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x10], 0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x630]
lea ebx, [edi + 0x630]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 1
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x624]
test eax, eax
jne 0x10014723
mov dword [ebp - 4], 1
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
jmp 0x10014817
xor esi, esi
test eax, eax
jle 0x1001474b
nop dword [eax]
mov eax, dword [edi + 0x620]
mov eax, dword [eax + esi*4]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
inc esi
cmp esi, dword [edi + 0x624]
jl 0x10014730
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
xor esi, esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 0x14], 1
call dword [eax + 4]
cmp dword [edi + 0x624], 0
je 0x10014809
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
add esi, 0x64
mov byte [ebp - 0x14], 0
cmp esi, 0x1388
jl 0x10014754
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
cmp dword [edi + 0x624], 0
jle 0x100147cd
xor ebx, ebx
mov eax, dword [edi + 0x620]
push 0
mov esi, dword [eax + ebx*4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ecx
mov ecx, esi
call fcn.1000eb20
inc ebx
cmp ebx, dword [edi + 0x624]
jl 0x100147a3
lea ebx, [edi + 0x630]
push dword [edi + 0x620]
call fcn.1002ba5e
add esp, 4
mov dword [edi + 0x620], 0
mov dword [edi + 0x628], 0
mov dword [edi + 0x624], 0
mov dword [ebp - 4], 4
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
jmp 0x10014817
mov dword [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 8]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x5c], 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 0x1001cfa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043805
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10059084]
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 dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1001cfe1
lock inc dword [eax]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001cff7
lock inc dword [eax]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001c0a0
mov esi, dword [ebp - 0x14]
or ebx, 0xffffffff
test al, al
jne 0x1001d019
or edi, ebx
jmp 0x1001d0b1
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push 1
push edx
or edi, 0xffffffff
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1001d0b1
mov edi, 1
test esi, esi
je 0x1001d08d
mov eax, dword [esi + 8]
test eax, eax
je 0x1001d049
cmp word [eax], 0
jne 0x1001d092
test esi, esi
je 0x1001d08d
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d08d
cmp byte [eax], 0
je 0x1001d08d
cmp dword [esi + 8], 0
jne 0x1001d07e
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [esi + 8], eax
mov ecx, esi
call fcn.1001e290
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x14]
jmp 0x1001d092
mov eax, 0x10052714
push 1
push dword [ebp - 0x20]
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1001d0e8
mov eax, ebx
lock xadd dword [esi], eax
jne 0x1001d0e8
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d0cd
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1001d0dd
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001d128
lock xadd dword [eax], ebx
dec ebx
jne 0x1001d128
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1001d128
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d10d
push eax
call fcn.1002ba5e
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001d11d
push ecx
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov eax, edi
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.10025a94
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10020350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043be5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10059084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x1002038a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x100203ab
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10020397
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10020190
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100203dc
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 [ebx + 8], 0x6666666
je 0x10020541
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.10025ad3
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.100037f0
xorps xmm0, xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x24], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10052cb0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10052cb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100204df
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.1002ec50
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100266e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100204c3
cmp eax, 0x200
jae 0x100204c1
shl eax, 3
cmp eax, ecx
jae 0x100204c3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10023500
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10020190
mov edx, dword [eax]
jmp 0x100204e2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1002050e
mov dword [ecx + eax*8], edi
jmp 0x10020520
cmp esi, edx
jne 0x10020517
mov dword [ecx + eax*8], edi
jmp 0x10020524
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10020524
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
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.10024490
int3
Function at 0x10022590
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044120
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10059084]
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
push 0x31
xor eax, eax
mov dword [ebp - 0x234], 0
push str.SOFTWARESeagull_ScientificDriversDebugLogMasks
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.100077a0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ecx
push 0x2001f
push 0
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0
call esi
test eax, eax
je 0x10022666
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x238]
push ecx
push 0x20019
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0
push eax
push reloc.WS2_32.dll_bind
call esi
mov edi, dword [ebp - 0x238]
test edi, edi
je 0x100226e7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x23c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x23c], 0x105
push eax
push 0
push edi
mov esi, 1
call ebx
test eax, eax
jne 0x100226de
lea eax, [ebp - 0x21c]
push eax
call fcn.10021720
add esp, 4
mov dword [ebp - 0x23c], 0x105
lea ecx, [ebp - 0x23c]
mov eax, esi
inc esi
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x100226a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100226f2
push str.Logger::PopulateEventSourceRegKeys__Cannot_open_registry_key__HKEY_LOCAL_MACHINE:SOFTWARESeagull_ScientificDriversDebugLogMasks_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x1002272e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10022724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002274a
push edx
push ecx
call fcn.10025ac5
add esp, 8
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.10025a94
mov esp, ebp
pop ebp
ret
call fcn.1002a52f
int3

Function at 0x10023200
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 0x80000000
je 0x10023229
cmp eax, 0x40000000
je 0x10023229
mov eax, dword [ebp + 8]
push 0x8000000
mov ecx, dword [eax]
call fcn.100222c0
test al, al
je 0x1002323b
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x10023234
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
ret 0xc
Function at 0x10023240
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100441f6
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10059084]
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]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 0
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov edi, dword [ecx + 4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], 0
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1005ac28
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10020260
mov eax, dword [eax + 4]
test eax, eax
je 0x10023301
cmp eax, dword [0x1005ac2c]
je 0x10023301
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x100232f3
mov eax, dword [eax]
push ecx
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10006c30
add esp, 0xc
push ebx
mov ecx, edi
call fcn.100078f0
mov dword [ebp - 0x14], 8
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.10008610
and dword [edi + 0x54], 0xffffffdf
xor edx, edx
mov dword [edi + 0x50], 0
mov eax, dword [edi]
mov byte [ebp - 4], 0
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + edi + 0x38], edx
cmovne eax, edx
mov dword [ecx + edi + 0xc], eax
test dword [ecx + edi + 0x10], eax
jne 0x1002336b
mov eax, ebx
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.10025a94
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10007560
add esp, 8
lea ecx, [ebp - 0x3c]
push eax
push str.ios_base::badbit_set
call fcn.100073c0
push 0x10057948
lea eax, [ebp - 0x3c]
push eax
call fcn.100278ab
int3
Function at 0x100233a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x38
push ebx
push esi
mov esi, dword [eax]
mov ebx, ecx
mov eax, dword [ebp + 8]
push edi
cmp dword [ebx + 4], 0
mov edi, dword [eax]
je 0x100234e9
cmp esi, 0x80000000
je 0x100233df
cmp esi, 0x40000000
je 0x100233df
push esi
mov ecx, edi
call fcn.100222c0
test al, al
je 0x100234e9
push edi
call fcn.1002557e
add esp, 4
test eax, eax
jne 0x100234f2
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x100233fb
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], 0
push eax
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test esi, esi
jns 0x1002346b
mov eax, 1
jmp 0x1002347c
mov eax, esi
and eax, 0x40000000
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 4
mov ecx, dword [edi + 0x54]
mov edx, esi
and edx, 0x40000000
cmp ecx, 1
jne 0x100234a8
test esi, esi
jns 0x10023497
mov ecx, 0xc0ff0600
jmp 0x100234c5
test edx, edx
mov ecx, 0x40ff0400
mov esi, 0x80ff0500
cmovne ecx, esi
jmp 0x100234c5
test ecx, ecx
jne 0x100234c0
test esi, esi
jns 0x100234b7
mov ecx, 0xcfff0300
jmp 0x100234c5
mov ecx, 0x8fff0200
test edx, edx
jne 0x100234c5
mov ecx, 0x4fff0100
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp + 0xc]
push edx
push 0x38
push 1
push 0
push ecx
push 0
push eax
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call fcn.1002558f
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.10025607
int3