joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c90
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5912e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x10], edi
push 0xf003f
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x460d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x50], 0xff0fffff
xor ecx, ecx
push eax
push str.Failed_to_open_service_control_manager__GLE__u_
lea eax, [ebp - 0x54]
mov byte [ebp - 0x4d], 0
and dword [ebp - 0x50], 0xfff00000
push eax
push 1
push 1
push 1
push 4
push ecx
push ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
call fcn.0045e650
add esp, 0x24
xor bl, bl
jmp 0x460dea
lea ecx, [ebx + 4]
mov dword [ebp - 0x20], 0
test ecx, ecx
mov dword [ebp - 0x1c], 0
mov eax, 0x593554
mov dword [ebp - 0x18], 0x4000000
cmovne eax, ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004599c0
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp byte [ebp - 0x18], 0
mov edi, eax
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0
je 0x460d85
push dword [ebp - 0x24]
call fcn.0056be44
add esp, 4
cmp byte [ebp - 0x17], 0
je 0x460d96
push dword [ebp - 0x20]
call fcn.0056be44
add esp, 4
cmp byte [ebp - 0x16], 0
je 0x460da7
push dword [ebp - 0x1c]
call fcn.0056be44
add esp, 4
test edi, edi
je 0x460de8
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x460de8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0045ac90
push esi
push str.Failed_to_delete_service__GLE__u_
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045e650
mov esi, dword [ebp - 0x14]
add esp, 0x24
xor bl, bl
jmp 0x460dea
mov bl, 1
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x460dfb
push edi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x460e02
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461ee0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5913d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x5b2e18
push 1
push 0
push 0x5b2e08
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x461f82
cmp dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x14]
push edi
mov eax, dword [esi]
mov edi, dword [eax + 0x1c]
je 0x461f5d
push 0x5b2e6c
push 0xc0
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1_smartptr.h
call fcn.00477620
add esp, 0xc
test al, al
jne 0x461f5d
int3
lea eax, [ebp - 0x10]
push eax
push esi
call edi
pop edi
test eax, eax
js 0x461f82
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x461f82
cmp dword [esi], 0
setne bl
jmp 0x461f84
xor bl, bl
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x461f9c
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 5
test eax, eax
je 0x461fb7
mov dword [ebp - 0x14], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x462790
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push 0x103
lea eax, [ebp - 0x23b]
mov byte [ebp - 0x23c], 0
push 0
push eax
call fcn.0056d800
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0xc], 0
xor bl, bl
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x46292a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x462921
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x462921
push edi
xor edi, edi
test eax, eax
je 0x462920
mov edi, edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x138]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x462902
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 8
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4628ec
push eax
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.SymbolicLinkValue
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4628e6
cmp dword [ebp - 0x10], 6
je 0x46291e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 4]
call fcn.00462790
add esp, 8
test al, al
jne 0x46291e
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x462870
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462ea0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5914ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x11], 0xf
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esi, eax
test esi, esi
jg 0x462f0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.string_expansion_failed__1__res__d_GLE__d
push 0xecb
push str.C:_buildworker_steam_rel_client_win32_build_srccommonwindowshelper.cpp
call fcn.00477630
add esp, 0x14
test al, al
jne 0x463000
int3
mov al, byte [ebp - 0x11]
push edi
mov edi, 0xf
test al, al
jns 0x462f1d
mov ecx, dword [ebp - 0x1c]
jmp 0x462f24
movzx eax, al
mov ecx, edi
sub ecx, eax
push esi
push 1
push ecx
lea ecx, [ebp - 0x20]
call fcn.00463f30
mov al, byte [ebp - 0x11]
mov esi, edi
test al, al
cmovs esi, dword [ebp - 0x18]
jns 0x462f76
test al, 0x40
je 0x462f60
push str._m_data.HasError__
push 0x39d
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlstring.h
call fcn.00477620
add esp, 0xc
test al, al
jne 0x462f5d
int3
mov al, byte [ebp - 0x11]
test al, al
jns 0x462f76
test al, 0x40
jne 0x462f72
test al, al
jns 0x462f76
cmp dword [ebp - 0x18], 0
jne 0x462f76
xor ecx, ecx
jmp 0x462f7f
test al, al
lea ecx, [ebp - 0x20]
cmovs ecx, dword [ebp - 0x20]
push esi
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esi, eax
test esi, esi
jle 0x462faa
cmp byte [ebp - 0x11], 0
cmovl edi, dword [ebp - 0x18]
cmp esi, edi
ja 0x462faa
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x20]
call fcn.0046b440
jmp 0x462fff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.string_expansion_failed__2__res__d_GLE__d
push 0xed7
push str.C:_buildworker_steam_rel_client_win32_build_srccommonwindowshelper.cpp
call fcn.00477630
add esp, 0x14
test al, al
jne 0x462fce
int3
mov al, byte [ebp - 0x11]
test al, al
jns 0x462ff0
test al, 0x40
jne 0x462fff
test al, al
jns 0x462ff0
call fcn.004802a0
push 0
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x11], 0xf
pop edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
call fcn.0046ac10
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 1
jge 0x46302a
call fcn.004802a0
push 0
push dword [ebp - 0x20]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x463040
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x463061
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push edi
xor esi, esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4630bc
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00579dc1
add esp, 8
test eax, eax
jne 0x4630a6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x120]
mov dword [ecx + esi*4], eax
inc esi
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4630bb
cmp esi, ebx
jl 0x463083
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x463ee0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x90
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0056d800
add esp, 0xc
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
seta al
mov esp, ebp
pop ebp
ret

Function at 0x463fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x404
test eax, eax
jne 0x46408e
mov word [ebp - 0x404], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp + 0xc], 0
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x464108
mov eax, dword [ebp - 4]
push esi
push edi
cmp eax, 1
je 0x464010
cmp eax, 2
jne 0x4640c1
mov esi, dword [ebp + 0xc]
and esi, 0xfffffffe
mov dword [ebp + 0xc], esi
cmp esi, 0xbebc200
jae 0x464101
mov eax, esi
mov ecx, 2
shr eax, 1
or edi, 0xffffffff
inc eax
mul ecx
cmovb eax, edi
push eax
call fcn.0056be3b
add esp, 4
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
xor edx, edx
shr ecx, 1
mov word [edi + ecx*2], dx
mov ecx, dword [ebp - 4]
cmp ecx, 1
je 0x464075
cmp ecx, 2
jne 0x4640b8
cmp eax, 0xea
jne 0x4640cc
push edi
call fcn.0056be44
add esp, 4
lea esi, [esi*2 + 0xfa0]
jmp 0x464016
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x463fcb
mov eax, 0x57
mov esp, ebp
pop ebp
ret
push edi
call fcn.0056be44
add esp, 4
pop edi
mov eax, 0xd
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0046dc00
push edi
mov esi, eax
call fcn.0056be44
add esp, 0x14
test esi, esi
jne 0x4640ee
cmp word [edi], si
jne 0x4640c1
xor eax, eax
mov ecx, 0xea
cmp esi, dword [ebp + 0x14]
pop edi
cmovg eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x464110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590b0d
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
test eax, eax
jne 0x4641f0
mov word [ebp - 0x41c], ax
mov eax, dword [ebp + 0x10]
mov edi, 0x593554
test eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmovne edi, eax
mov dword [ebp - 0x10], 0x4000100
mov dword [ebp - 0x1c], edi
push 4
push 0
push 0
push edi
mov dword [ebp - 4], 0
call fcn.0046ddc0
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0056be3b
push 0
mov ebx, eax
push esi
push ebx
push edi
call fcn.0046ddc0
mov ecx, ebx
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4641a6
sub ecx, edx
lea eax, [ebp - 0x41c]
sar ecx, 1
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push 1
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov esi, eax
call fcn.0056be44
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x200
lea ecx, [ebp - 0x41c]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x464143
mov ecx, dword [ebp - 0xc]
mov eax, 0x57
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4642c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4642d0
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
not eax
test edi, edi
je 0x464312
lea ecx, [ecx]
mov cl, byte [esi]
lea esi, [esi + 1]
movzx edx, cl
mov ecx, edx
shr edx, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [ecx*4 + 0x5b37d8]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor edx, ecx
xor eax, dword [edx*4 + 0x5b37d8]
sub edi, 1
jne 0x4642e0
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x464ab0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x464b90
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x464b90
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ecx + 0x10]
jae 0x464b90
cmp dword [ecx + 0x14], 1
jne 0x464b90
mov eax, dword [edx + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [edx]
je 0x464b90
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x464b90
mov dword [esi], ebx
mov eax, dword [ecx + 0x38]
push 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
movzx eax, word [edi + 4]
mov word [esi + 8], ax
movzx eax, word [edi + 6]
mov word [esi + 0xa], ax
movzx eax, word [edi + 8]
mov word [esi + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [esi + 0xe], ax
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
push eax
call fcn.00464320
mov dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
movzx eax, word [edi + 0x24]
mov word [esi + 0x28], ax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x2a]
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
mov dword [esi + 0x34], 0
mov byte [esi + 0x3c], 0
mov byte [esi + 0x140], 0
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x467f40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov edi, 5
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x467f77
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x467ff1
cmp esi, dword [ebp + 0xc]
ja 0x467ff1
call fcn.004802a0
mov ecx, eax
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x467ff1
xor edi, edi
test esi, esi
je 0x467fe2
lea esp, [esp]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, 0x100000
cmp esi, eax
cmovb eax, esi
push eax
lea eax, [edi + ecx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468001
add edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub esi, dword [ebp - 8]
jne 0x467fb0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edi
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004802a0
mov esi, dword [ebp - 4]
mov ecx, eax
push 0
push esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, 5
mov esp, ebp
pop ebp
ret

Function at 0x46ccf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x62eff0], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
je 0x46cd2c
cmp esi, 0xc0
jl 0x46cd2c
mov edi, dword [ebp + 0xc]
mov eax, esi
shr eax, 6
dec eax
push eax
push edi
push dword [ebp + 8]
call fcn.0046cd50
mov eax, esi
add esp, 0xc
and eax, 0x3f
sub esi, eax
add edi, esi
mov esi, eax
jmp 0x46cd2f
mov edi, dword [ebp + 0xc]
push 0x5b5798
push esi
push edi
push dword [ebp + 8]
call fcn.0046cea0
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x46cd50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x40
mov eax, dword [ebp + 8]
movaps xmm3, xmmword [0x5b77b0]
movups xmm4, xmmword [edx]
push esi
movups xmm5, xmmword [edx + 0x10]
mov esi, dword [eax]
movups xmm6, xmmword [edx + 0x20]
push edi
movups xmm7, xmmword [edx + 0x30]
add edx, 0x40
cmp esi, 0xffffffff
jne 0x46cd87
movaps xmm2, xmmword [0x5b77a0]
jmp 0x46cdca
xor edi, edi
mov ecx, 0x5b358fd3
test esi, esi
je 0x46cdaf
mov eax, esi
sar eax, 0x1f
and eax, ecx
xor edi, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
add esi, esi
jne 0x46cd92
xor eax, eax
movd xmm0, edi
xorps xmm2, xmm2
movd xmm1, eax
punpckldq xmm1, xmm0
punpckldq xmm2, xmm1
pclmulqdq xmm2, xmm3, 0x11
mov eax, dword [ebp + 0x10]
xorps xmm2, xmm7
test eax, eax
jle 0x46ce40
lea edx, [edx + 0x40]
movaps xmm1, xmm4
movups xmm0, xmmword [edx - 0x40]
pclmulqdq xmm1, xmm3, 0x11
pclmulqdq xmm4, xmm3, 0
xorps xmm4, xmm1
movaps xmm1, xmm5
xorps xmm4, xmm0
movups xmm0, xmmword [edx - 0x30]
pclmulqdq xmm1, xmm3, 0x11
pclmulqdq xmm5, xmm3, 0
xorps xmm5, xmm1
movaps xmm1, xmm6
xorps xmm5, xmm0
movups xmm0, xmmword [edx - 0x20]
pclmulqdq xmm1, xmm3, 0x11
pclmulqdq xmm6, xmm3, 0
xorps xmm6, xmm1
movaps xmm1, xmm2
xorps xmm6, xmm0
movups xmm0, xmmword [edx - 0x10]
pclmulqdq xmm2, xmm3, 0
pclmulqdq xmm1, xmm3, 0x11
xorps xmm2, xmm1
xorps xmm2, xmm0
sub eax, 1
jne 0x46cdd4
xor eax, eax
xor edi, edi
movups xmmword [ebp - 0x40], xmm4
movups xmmword [ebp - 0x30], xmm5
movups xmmword [ebp - 0x20], xmm6
movups xmmword [ebp - 0x10], xmm2
xor eax, dword [ebp + edi*4 - 0x40]
inc edi
movzx ecx, al
shr eax, 8
mov esi, dword [ecx*4 + 0x5b6398]
movzx ecx, al
shr eax, 8
mov edx, eax
shr edx, 8
xor esi, dword [ecx*4 + 0x5b5f98]
movzx ecx, al
mov eax, dword [edx*4 + 0x5b5798]
xor eax, dword [ecx*4 + 0x5b5b98]
xor eax, esi
cmp edi, 0x10
jl 0x46ce54
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x46cea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 7
jle 0x46cf69
test bl, 3
je 0x46ced8
movzx edx, byte [ebx]
dec edi
movzx ecx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [esi + edx*4]
test bl, 3
jne 0x46cec3
mov ecx, edi
and ecx, 0xfffffff8
add ebx, ecx
sub edi, ecx
neg ecx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], ecx
je 0x46cf66
mov edi, dword [ebp + 0x14]
xor eax, dword [ebx + ecx]
lea esi, [ebx + ecx]
movzx ecx, al
shr eax, 8
mov edx, dword [edi + ecx*4 + 0xc00]
movzx ecx, al
shr eax, 8
xor edx, dword [edi + ecx*4 + 0x800]
movzx ecx, al
shr eax, 8
mov ebx, dword [edi + ecx*4 + 0x400]
xor ebx, dword [edi + eax*4]
xor ebx, dword [esi + 4]
xor ebx, edx
movzx eax, bl
shr ebx, 8
mov ecx, dword [edi + eax*4 + 0xc00]
movzx eax, bl
shr ebx, 8
xor ecx, dword [edi + eax*4 + 0x800]
movzx eax, bl
shr ebx, 8
mov eax, dword [edi + eax*4 + 0x400]
xor eax, dword [edi + ebx*4]
mov ebx, dword [ebp + 0xc]
xor eax, ecx
mov ecx, dword [ebp - 4]
add ecx, 8
mov dword [ebp - 4], ecx
jne 0x46cef1
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
test edi, edi
jle 0x46cf89
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
dec edi
xor edx, ecx
shr eax, 8
xor eax, dword [esi + edx*4]
test edi, edi
jg 0x46cf70
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470b80
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x90], 0
mov dword [esi], vtable.CFileWriterThread.0
jne 0x470bad
push 1
call fcn.00473040
mov ecx, esi
call fcn.00481d70
test al, al
je 0x470bad
push 0
mov ecx, esi
call fcn.00482250
lea ecx, [esi + 0x80]
call fcn.00470a20
lea ecx, [esi + 0x70]
call fcn.00481c70
lea ecx, [esi + 0x50]
call fcn.00470940
lea ecx, [esi + 0x38]
call fcn.00481c30
mov ecx, esi
pop esi
jmp fcn.004819c0