joyce8/EMBER2024-capa huggingface dataset:
Function at 0x574930
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x574996
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x574996
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x574977
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x57a9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x57aae1
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x57aac5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x57aa17
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x57a9f5
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x57b529
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x57b580
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x57b580
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x57b580
xor eax, eax
inc eax
jmp 0x57b582
xor eax, eax
leave
ret 0x10

Function at 0x57b5ab
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x57b619
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0xa1fdac
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x57b610
cmp dword [ebp - 0xc], 4
jne 0x57b610
cmp dword [ebp - 0x10], edi
je 0x57b610
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0xa49550], edi
xor eax, eax
jmp 0x57b658
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0xa49550], edi
jge 0x57b653
lea eax, [ebp - 0x34]
push eax
mov dword [0xa49550], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x57b653
cmp word [ebp - 0x14], 5
jb 0x57b653
call fcn.0057b586
test eax, eax
je 0x57b653
emms
mov dword [0xa49550], 1
mov eax, dword [0xa49550]
pop edi
leave
ret

Function at 0x5a0e04
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5a0e3c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0059eeae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0059ee86
jmp 0x5a0e48
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5a24f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5a2538
call fcn.005a849b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a2538
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a252f
xor eax, eax
jmp 0x5a2540
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a2546
pop edi
pop esi
pop ebx
ret 4
Function at 0x5b1640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xa8b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5b16d8
push getpeername
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x5b16b8
xor eax, eax
push ebp
push 0x5b16b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5b16f4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b16b8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0xa8b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xa8b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x5b2404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xa9c044], 0
je 0x5b2465
cmp word [0xa9c218], 0xd7b2
jne 0x5b242d
cmp dword [0xa9c220], 0
jbe 0x5b242d
mov eax, 0xa9c214
call dword [0xa9c230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xa8b090
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x5b248c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0xa8b030], 0
jne 0x5b2481
push 0
push 0xa8b088
push 0xa8b090
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x5bad84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xa8b33c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x5bae48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x5badbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x5bae5f
dec edx
je 0x5baea0
jmp 0x5baefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x5baefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5baf60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x5baf7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x5bb08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x5bafb0
je 0x5baffc
sub ecx, 0x2b
je 0x5baff2
sub ecx, 4
je 0x5baff7
dec ecx
sub ecx, 0xa
jb 0x5bafe1
jmp 0x5bafff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5bafc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5bafd0
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5bafff
mov byte [eax], 0x3e
jmp 0x5bafff
mov byte [eax], 0x3f
jmp 0x5bafff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5baf8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x5bb04f
cmp byte [esp + 3], 0xff
jne 0x5bb04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x5bb087
cmp dl, 0xff
je 0x5bb087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x5baf88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x5bb11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0xa9c7a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x5bb138
shr eax, 1
xor eax, 0xedb88320
jmp 0x5bb13a
shr eax, 1
dec edx
jne 0x5bb12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5bb124
pop ebx
ret
Function at 0x5bb150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5bb159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005b2a38
xor eax, eax
push ebp
push 0x5bb239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005bb11c
mov eax, dword [0xa9be0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.005b0e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.005b1218
call fcn.005b0ba8
test eax, eax
jne 0x5bb216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.005b0fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x5bb210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0xa9c7a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5bb1ec
cmp dword [ebp - 8], 0
jne 0x5bb1c3
lea eax, [ebp - 0x154]
call fcn.005b0fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb240
lea eax, [ebp - 4]
call fcn.005b2588
ret

Function at 0x5c6718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5c6738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5c6726
pop edi
pop esi
pop ebx
ret
Function at 0x5cefd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0xa9ccb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0xa91670]
mov eax, dword [esi*4 + 0xa916b0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005cefac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0xa91680]
mov eax, dword [esi*4 + 0xa916c0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0xa91690]
mov eax, dword [esi*4 + 0xa916d0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0xa916a0]
mov eax, dword [esi*4 + 0xa916e0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5cefe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5cf138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5cf16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5cf193
inc ebx
cmp ebx, 0xf
jne 0x5cf17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5cf14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d8ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0xa960f4
mov ebx, 0xaa0ce4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.005d7e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005d7e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5d8ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401786
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b044]
jne 0x401790
repz ret
jmp fcn.0040205d

Function at 0x404e28
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021d5
and dword [ebp - 4], 0
cmp dword [0x40c664], 0
mov ebx, eax
jne 0x404ed9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404f8a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404f8a
push eax
call fcn.00402163
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40c664], eax
call esi
push eax
call fcn.00402163
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40c668], eax
call esi
push eax
call fcn.00402163
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40c66c], eax
call esi
push eax
call fcn.00402163
pop ecx
mov dword [0x40c674], eax
test eax, eax
je 0x404ed9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402163
pop ecx
mov dword [0x40c670], eax
mov eax, dword [0x40c670]
cmp eax, ebx
je 0x404f31
cmp dword [0x40c674], ebx
je 0x404f31
push eax
call fcn.004021de
push dword [0x40c674]
mov esi, eax
call fcn.004021de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404f31
test edi, edi
je 0x404f31
call esi
test eax, eax
je 0x404f28
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404f28
test byte [ebp - 0xc], 1
jne 0x404f31
or dword [ebp + 0x10], 0x200000
jmp 0x404f6a
mov eax, dword [0x40c668]
cmp eax, ebx
je 0x404f6a
push eax
call fcn.004021de
pop ecx
test eax, eax
je 0x404f6a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404f6a
mov eax, dword [0x40c66c]
cmp eax, ebx
je 0x404f6a
push eax
call fcn.004021de
pop ecx
test eax, eax
je 0x404f6a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40c664]
call fcn.004021de
pop ecx
test eax, eax
je 0x404f8a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404f8c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004f40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048745
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10059040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.100066d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10004fc3
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10005100
cmp dword [0x1005b158], 0xfffffff
je 0x10005116
mov dword [ebp - 0x28], 0x1005b154
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.1002965b
mov ecx, dword [ebx]
mov esi, eax
lea edi, [esi + 8]
add esp, 4
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x1005b158]
mov ebx, dword [0x1005b16c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10054220]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x10054220]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x1005b150]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x100050af
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10001450
call fcn.10048220
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10005092
cmp ebx, 0x200
jae 0x10005090
shl ebx, 3
cmp ebx, ecx
jae 0x10005092
mov ebx, ecx
push ebx
call fcn.10006520
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.100066d0
mov ecx, dword [0x1005b158]
mov edx, dword [eax]
jmp 0x100050b2
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x1005b158], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x1005b168]
and eax, dword [ebp - 0x14]
mov ecx, dword [0x1005b15c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x1005b154]
jne 0x100050e4
mov dword [ecx + eax*8], esi
jmp 0x100050f3
cmp edi, edx
jne 0x100050ed
mov dword [ecx + eax*8], esi
jmp 0x100050f7
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100050f7
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov byte [edi + 4], 1
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 0xc
push str.unordered_map_set_too_long
call fcn.10028306
int3