joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426f7f
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
lea eax, [ebp - 0x18]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501470
cmp byte [ebp + 8], 0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
je 0x427026
inc ebx
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x38]
mov dword [eax], ebx
lea ebx, [ebp - 0x68]
mov dword [edx], 0x52db50
mov dword [edx + 4], 3
and dword [edx + 0x10], 0
mov dword [ecx], 1
mov dword [ebx], eax
mov eax, fcn.00428320
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 2
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.0045fd28
mov eax, dword [ebx + 8]
mov ecx, esi
mov esi, dword [ebx + 4]
and dword [ebp - 0x10], 0
mov edx, edi
push eax
mov dword [ebp - 0x20], esi
push esi
call fcn.00426687
pop eax
pop ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00463f4e
jmp 0x427058
mov ecx, edi
call fcn.0042654a
lea edi, [ebp - 0x58]
mov edx, eax
mov ecx, edi
call fcn.00426e18
cmp dword [edi], 0
je 0x427055
and word [ebp - 0x24], 0
mov word [ebp - 0x22], bx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
mov byte [esi], 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42fae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x42fb30
cmp esi, edi
ja 0x42fb9b
cmp edi, dword [ebp + 0x10]
ja 0x42fba9
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x42fb32
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x42fb20
jmp 0x42fb8f
ja 0x42fb39
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x42faf5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x42fb70
mov ebx, esi
sub ecx, edx
jns 0x42fb87
jmp 0x42fb91
cmp esi, edi
je 0x42fbb8
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x42fb91
xor al, 1
cmp ebx, edi
jne 0x42fb50
jmp 0x42fb91
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x52f1ec
call fcn.00526b90
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x52f1ec
call fcn.00526980
mov ecx, 0x52f1dc
call fcn.00526c90
int3
Function at 0x432c7f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x432da6
push 4
pop edi
sub edi, 1
jb 0x432c8e
cmp edx, 0xf
jbe 0x432db6
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x532d3c]
xor ebp, dword [esi*4 + 0x53293c]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x53313c]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x53353c]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x53393c]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x533d3c]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x53413c]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x53453c]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x53493c]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x534d3c]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x53513c]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x53553c]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x53593c]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x535d3c]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x53613c]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x53653c]
push 0x53292c
call fcn.0043320a
pop ecx
mov ebx, ebp
jmp 0x432c9a
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x53293c]
test edx, edx
jne 0x432d93
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x53291c
call fcn.00526920
Function at 0x4397ba
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501540
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x439843
mov dword [esi + 8], edx
mov dword [esi + 0x40], 4
push 0x10
pop ecx
push 4
pop edx
call fcn.004ea8ea
movsd xmm0, qword [0x57fcf8]
movsd xmm1, qword [0x57fcf0]
xor ecx, ecx
mov dword [esi + 4], eax
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov dword [esi + 0x40], 3
call fcn.0046b4c1
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
mov eax, edx
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x40], 2
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm0
push 0x10
pop ecx
push 4
pop edx
call fcn.004ea8ea
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
mov ecx, dword [esi + 4]
mov edx, 0x103e8358
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
push 0x557010
push eax
push 0x91dbc627
push 0x9af946f7
push 0x18433b5a
call fcn.00448248
add esp, 0x14
test eax, eax
je 0x439926
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
push eax
push ecx
mov dword [esi + 8], edx
call dword [edx + 0xc]
add esp, 8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor eax, 0x103e8358
xor ecx, 0x18433b5a
or ecx, eax
jne 0x439913
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
xor ecx, 0x9af946f7
xor eax, 0x91dbc627
or eax, ecx
jne 0x439913
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push 4
pop edx
call fcn.004332a0
jmp 0x43992c
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
call fcn.00404401
mov eax, dword [esi + 0xc]
and dword [eax], 0
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44c4d6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov dword [esi], ecx
lea edi, [esi + 0xc]
lea ebx, [esi + 0x1c]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5019d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [edi - 4], 0
and dword [edi - 8], 0
xor edx, edx
mov ecx, 0x562844
and dword [eax + 8], 0
inc edx
mov dword [edi], ecx
mov dword [edi + 4], edx
and dword [edi + 8], 0
and dword [edi + 0xc], 0
mov dword [ebx], ecx
mov dword [ebx + 4], 0x5a7e4c
mov dword [ebx + 8], edx
and dword [ebx + 0xc], 0
or word [ebx + 0x10], 0xffff
lea ecx, [esi + 0x30]
call fcn.004491f9
mov edi, dword [esi]
mov eax, 0x1010101
lea ecx, [esi + 4]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x40]
push 0x2c
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + 0x84], 2
push 0x40
lea eax, [esi + 0x30]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x78]
and dword [edi + 0x80], 0
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44df96
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501a20
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004eaafb
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 8
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0044e0c6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004eab7c
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4536b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501e30
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
call fcn.0044df7c
mov ecx, dword [esi + 0xc]
xor ebx, ebx
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
or dword [esi + 0x38], 0xffffffff
lea edx, [esi + 0x10]
mov dword [edx + 8], ebx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
mov dword [edx], 1
call fcn.0045018d
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46a29d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
lea eax, [ebp - 0x18]
mov ebx, ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5024b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [0x5c2f38]
test edx, edx
jne 0x46a3df
push 0x577271
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp - 0x2c], ebx
je 0x46a31b
mov esi, eax
push 0x577292
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a31b
mov edi, eax
push 0x5772a0
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a31b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0
jmp 0x46a38f
push 0x57722c
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x46a3f6
mov edi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a3f6
mov esi, eax
push str.NtReleaseKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x46a3f6
push str.NtWaitForKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a3f6
mov edi, eax
lea eax, [ebp - 0x30]
push 0
push 0
push 0xc0000000
push eax
call esi
test eax, eax
jne 0x46a3f6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
and dword [ebp - 0x10], 0
push 0xc
pop ecx
call fcn.00463c15
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 8], eax
xor eax, eax
lock cmpxchg dword [0x5c2f38], edx
je 0x46a3dc
mov ecx, dword [edx]
mov dword [ebp - 0x20], edx
mov edx, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
call fcn.0046a433
mov ecx, dword [ebp - 0x20]
call fcn.00457135
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
and dword [ebx + 4], 0
mov dword [ebx], edx
mov dword fs:[0], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5b
pop edx
mov ecx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users_atkn1.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
push 0x57738c
call fcn.00527b5c
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0046a433
add esp, 0x10
pop ebp
ret
Function at 0x46e754
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
lea eax, [esi + 0xf0]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502810
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
push 2
pop ecx
mov dword [esi + 0x18], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
and dword [esi + 0x28], 0
mov byte [esi + 5], 1
call fcn.00441523
mov edi, eax
lea ebx, [esi + 0x30]
add edi, 0x64
push 0xb8
push dword [esi + 8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 8]
mov byte [esi + 5], 0
mov ecx, edi
push ebx
call fcn.0046e892
pop eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov byte [esi + 5], 0
push eax
call fcn.00441ef7
pop eax
lea ecx, [esi + 0x10]
mov byte [esi + 7], 0
mov dword [esi + 0xf8], 1
call fcn.0043cf83
and dword [esi + 0xf8], 0
lea ecx, [esi + 0x10]
mov byte [esi + 6], 0
call fcn.0043cf0c
mov eax, dword [esi + 0xf0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4741d2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502a80
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
call fcn.00474402
mov ecx, dword [esi + 0xc]
xor ebx, ebx
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
lea edx, [esi + 0x10]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], ebx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.0047452d
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x474420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502ab0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004eaafb
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0047350d
push 0x28
push dword [esi + 0xc]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004eab7c
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4833c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], ecx
mov dword [esi + 4], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502cc0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword fs:[0], eax
mov dword [esi + 0x18], 2
and dword [esi + 0x28], 0
mov dword [eax + 8], 1
call fcn.004414b2
mov al, byte [eax + 0x20]
add al, 0xfa
movzx ecx, al
cmp al, 6
push 6
pop eax
cmovb eax, ecx
cmp al, 6
ja 0x483441
movzx eax, al
push 0x54
pop ecx
bt ecx, eax
jae 0x483441
mov ecx, dword [ebp + 0xc]
call fcn.004414b2
cmp dword [eax + 0xd8], 0
je 0x48348b
mov ecx, dword [ebp + 0xc]
call fcn.00441523
mov edx, dword [esi + 4]
add edx, dword [eax + 0x38]
jno 0x48345e
xor eax, eax
inc eax
mov dword [esi + 4], eax
mov al, 1
mov dword [esi + 8], eax
jmp 0x483499
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x38], edx
mov edx, dword [ebp + 0xc]
add ecx, 8
call fcn.00441fe6
and dword [esi + 0x40], 0
lea ecx, [esi + 0x10]
call fcn.0043cf83
or dword [esi + 0x40], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.0043cf0c
xor eax, eax
jmp 0x4834d9
mov dword [esi + 8], 0
mov dword [esi + 4], 0
and dword [esi + 0x40], 0
lea ecx, [esi + 0x10]
call fcn.0043cf83
or dword [esi + 0x40], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.0043cf0c
cmp byte [esi + 8], 0
mov eax, dword [esi + 4]
je 0x4834d9
push 3
pop edx
mov ecx, dword [esi + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
call fcn.0046e53c
add esp, 0x14
xor eax, eax
inc eax
mov ecx, dword [esi + 0x38]
mov dword fs:[0], ecx
push 3
pop edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x494562
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503070
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004eaafb
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.00493e1c
push 0x68
push dword [esi + 0xc]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004eab7c
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x494be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5030b0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
call fcn.00494e13
mov ecx, dword [esi + 0xc]
xor ebx, ebx
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
lea edx, [esi + 0x10]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], ebx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.0049466f
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4955b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503140
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
call fcn.004957e0
mov ecx, dword [esi + 0xc]
xor ebx, ebx
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
lea edx, [esi + 0x10]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], ebx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004957fa
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x495ff5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5031d0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004eaafb
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.00495117
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
movsd xmm0, qword [eax + 0x18]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004eab7c
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret