joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401a50
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x401a83
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x401a6b
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x4488b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d1f8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov eax, 1
mov dword [ebp - 0x10], edi
mov ecx, 0xffff
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov word [edi], cx
lea ecx, [edi + 0x18]
mov dword [ebp - 0x18], ecx
push dword [ebp + 0xc]
mov dword [edi + 2], 0xffffffff
push dword [ebp + 8]
mov word [edi + 6], ax
push 0xc
call fcn.004997e0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x1c]
mov dword [edi + 8], eax
mov dword [ebp - 4], 3
lea esi, [edi + 0x30]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x10]
mov ecx, esi
push 0x100
mov dword [ebp + 0x10], esi
push 4
mov byte [edi + 0x28], al
mov dword [ebp + 0xc], esi
call fcn.004997e0
mov byte [ebp - 4], 5
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44bd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x44bd7c
xor al, al
pop esi
pop ebp
ret 8
push 0x5c
push esi
call fcn.005430f0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bd90
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
jne 0x44bda4
mov byte [ecx + esi - 1], al
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x44c050
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d4
push esi
push edi
push 0x200
lea eax, [ebp - 0x6d4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push 0x2b4
push eax
mov word [ebp - 0x2d6], ax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0054caf0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x2d4]
mov edi, dword [ebp + 0xc]
add esp, 0xc
shr esi, 1
push 0x400
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44c0e5
push esi
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.00555da6
add esp, 0xc
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x20
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00542f60
lea eax, [ebp - 0x20]
push eax
push 0x6e1cec
lea eax, [esi - 1]
push eax
push edi
call fcn.004501b0
add esp, 0x1c
xor eax, eax
mov word [edi + esi*2 - 2], ax
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44de50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x44de68
cmp dword [ebp + 0xc], 0
jne 0x44de84
push str.pOldPath__pNewPath
push 0x9e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x44de84
int3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x44deac
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00544870
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044cd70
cmp dword [ebp - 4], 0
jne 0x44dee4
push str.pOldPathId
push 0x9ef
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x44dee4
int3
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044cd70
cmp dword [ebp + 0x10], 0
jne 0x44df1c
push str.pathID
push 0x9f4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00533fe0
add esp, 0xc
test al, al
jne 0x44df1c
int3
push dword [ebp - 4]
mov ecx, esi
push dword [ebp + 8]
push 0x104
push 0x7d51e0
call fcn.0044a770
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
mov ecx, esi
push dword [ebp + 0xc]
push 0x104
push eax
call fcn.0044a770
lea eax, [ebp - 0x108]
push eax
push 0x7d51e0
call fcn.0055a0fa
add esp, 8
test eax, eax
je 0x44df80
lea eax, [ebp - 0x108]
push eax
push 0x7d51e0
push str.Unable_to_rename__s_to__s__n
push 0xffffffffffffffff
push esi
call fcn.0044f120
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44f120
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0054a790
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0xb4]
jg 0x44f18b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.005449f0
lea eax, [ebp - 0x1000]
push eax
call fcn.00559e86
mov eax, dword [esi + 0xb8]
add esp, 0x14
test eax, eax
je 0x44f17e
lea ecx, [ebp - 0x1000]
push ecx
call eax
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4514c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0055b2d6
add esp, 0x10
pop ebp
ret 0xc

Function at 0x451520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0055be89
add esp, 0x10
pop ebp
ret 0xc
Function at 0x454630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d2abd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00454010
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jle 0x454689
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x454689
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00541b90
inc esi
add esp, 8
cmp esi, edi
jl 0x454670
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x70], 0x44
call fcn.004542a0
push eax
push 0
call fcn.0053b170
add esp, 0x28
test eax, eax
je 0x454749
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
push 0x2a
call fcn.0055c3d1
int3
Function at 0x460160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d408d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004a8f50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp + 8]
push 0
push 1
push eax
call fcn.004a85f0
mov ebx, dword [ebp + 0xc]
push fcn.00559d9e
push 0x6e4218
push ebx
call fcn.0053b3d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4601ea
push edi
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.0055be89
push edi
mov esi, eax
call fcn.00559bad
add esp, 0x14
cmp esi, 1
je 0x46021c
push ecx
mov eax, esp
mov dword [eax], ebx
call fcn.0049a910
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00499910
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 8
mov bl, 1
jmp 0x4601ec
Function at 0x465d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d4355
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ebx, 0x6e0a80
test edi, edi
jne 0x465dce
call fcn.00539c20
test al, al
je 0x465dbf
mov edi, str.steamdeck_stable
jmp 0x465dce
call fcn.00539b00
test al, al
mov edi, str.chromeos_public_88ac3843c888c7adb9cd406fbac4ff7a7d2cde9b
cmove edi, ebx
mov ecx, dword [esi + 0xa8]
mov eax, ebx
test ecx, ecx
mov dword [ebp + 8], ecx
cmovne eax, ecx
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x465e00
test dl, dl
je 0x465dfc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x465e00
add ecx, 2
add eax, 2
test dl, dl
jne 0x465de0
xor eax, eax
jmp 0x465e05
sbb eax, eax
or eax, 1
test eax, eax
je 0x465e3a
push 1
push esi
lea eax, [ebp - 0x634]
push 0x30a
push eax
call fcn.004617e0
add esp, 0xc
lea ecx, [ebp - 0x634]
mov eax, esp
mov dword [eax], ecx
call fcn.0049a910
mov ecx, dword [esi + 0xa8]
add esp, 4
jmp 0x465e3d
mov ecx, dword [ebp + 8]
test ecx, ecx
mov eax, ebx
push edi
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1c]
push str.Beta_changed_from__s_to__s_n
push eax
call fcn.0049eb40
add esp, 0x10
mov dword [ebp - 4], 0
cmp byte [eax + 0xf], 0
jge 0x465e66
mov eax, dword [eax]
test eax, eax
lea ecx, [esi + 0xd8]
cmovne ebx, eax
push ebx
call fcn.00464b20
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], 0
jge 0x465e95
call fcn.00533ba0
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push edi
lea ecx, [esi + 0xa8]
call fcn.0049f6a0
push edi
lea ecx, [esi + 0xac]
call fcn.0049f6a0
push str.package
push str._s_beta
lea eax, [ebp - 0x328]
push 0x30a
push eax
call fcn.005443b0
lea eax, [ebp - 0x328]
push 0x5c
push eax
call fcn.005430f0
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0x465f3e
cmp byte [eax], 0
je 0x465f3e
push fcn.00559d9e
lea eax, [ebp - 0x328]
push 0x6e0c38
push eax
call fcn.0053b3d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x465f51
mov edx, dword [esi + 0xa8]
test edx, edx
jne 0x465f1a
xor ecx, ecx
mov edx, 0x6e0a80
jmp 0x465f29
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465f20
sub ecx, ebx
push edi
push 1
push ecx
push edx
call fcn.0055be89
push edi
call fcn.00559bad
add esp, 0x14
jmp 0x465f51
push ecx
mov eax, esp
lea ecx, [ebp - 0x328]
mov dword [eax], ecx
call fcn.0049a910
add esp, 4
call fcn.0052d160
fld qword [esi + 0x88]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x465f80
call fcn.0052d160
fadd qword [0x6e5818]
fstp qword [esi + 0x88]
call fcn.00547350
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x90]
call fcn.0053a6b0
mov ecx, esi
call fcn.0053a460
test al, al
jne 0x465fa4
cmp byte [esi + 0x57], al
jne 0x465fa4
push 0
mov ecx, esi
call fcn.0053a730
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x467b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0x467c0c
push ebx
mov eax, dword [edi]
mov dword [esi + 0x20], eax
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x467bf9
mov ecx, esi
call fcn.00468850
push ebx
push 1
call dword [0x7d6ca0]
push 0xc
push ebx
call fcn.0054a45d
add esp, 8
cmp dword [esi + 0xc], 0
je 0x467bf9
dec dword [esi + 0xf4]
cmp dword [esi + 0xf4], 0
jg 0x467bf9
push 0
push 0
call dword [0x7d6c4c]
push dword [esi + 0xfc]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esi + 0xfc], 0
lea eax, [esi + 0xf8]
xor ecx, ecx
xchg dword [eax], ecx
push 0x1c
push edi
call fcn.0054a45d
mov edi, dword [esi + 0x20]
add esp, 8
test edi, edi
jne 0x467b90
pop ebx
xor eax, eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x467c8a
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa0], 0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x467ca6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x467cbb
push eax
call dword [0x7d6c50]
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0x46a290
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x16c]
mov dword [esi + 0x28], 0
push dword [esi + 0x168]
mov byte [esi + 0x34], 0
push dword [esi + 0x164]
push dword [esi + 0x160]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret

Function at 0x46b510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e6b6c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x6e6b70]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6e6b74]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6e6b78]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x46b578
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00546960
add esp, 0x10
test eax, eax
je 0x46b578
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x46c350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x404
test eax, eax
jne 0x46c431
mov word [ebp - 0x404], ax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x404]
mov dword [ebp + 0xc], 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46c4ad
mov eax, dword [ebp - 4]
push esi
push edi
cmp eax, 1
je 0x46c3b2
cmp eax, 2
jne 0x46c464
mov esi, dword [ebp + 0xc]
and esi, 0xfffffffe
mov dword [ebp + 0xc], esi
cmp esi, 0xbebc200
jae 0x46c4a6
mov eax, esi
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054a46b
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 ebx
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 0x46c418
cmp ecx, 2
jne 0x46c45b
cmp eax, 0xea
jne 0x46c470
push edi
call fcn.0054a474
add esp, 4
lea esi, [esi*2 + 0xfa0]
jmp 0x46c3b8
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 0x46c36b
mov eax, 0x57
mov esp, ebp
pop ebp
ret
push edi
call fcn.0054a474
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
push 0xa
push esi
push dword [ebp + 0x10]
push edi
call fcn.00546960
push edi
mov ebx, eax
call fcn.0054a474
add esp, 0x14
test ebx, ebx
jne 0x46c493
cmp word [edi], bx
jne 0x46c464
xor eax, eax
mov ecx, 0xea
cmp ebx, esi
pop edi
pop esi
cmovg eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d4b3d
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 0x46c5fd
mov word [ebp - 0x41c], ax
mov eax, dword [ebp + 0x10]
mov edi, 0x6e0a80
test eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0x4000000
mov dword [ebp - 0x1c], 0
cmovne edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x4000000
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
push 4
push 0
push 0
push edi
mov byte [ebp - 0xf], 1
call fcn.00546b20
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054a46b
push 0
mov ebx, eax
push esi
push ebx
push edi
mov dword [ebp - 0x18], ebx
call fcn.00546b20
mov ecx, ebx
add esp, 0x24
lea edx, [ecx + 2]
jmp 0x46c590
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c590
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ebx
call fcn.0054a474
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x4000000
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 0x46c4f3
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 0x477d80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul edx, ecx, 0x1000193
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
pop ebp
ret 4
Function at 0x489bb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x4c], 1
mov ebx, dword [esi + 0x1b8]
mov dword [ebp - 0x14], ebx
jne 0x489bd6
mov eax, 0x1fe
mov byte [ebx + 0x1c], 1
jmp 0x489bdb
xor eax, eax
mov byte [ebx + 0x1c], al
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
add eax, 0x100
push eax
push 1
mov eax, dword [ecx + 8]
push esi
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0x489cc3
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
je 0x489c23
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.00489f50
add esp, 0x10
mov edx, eax
xor esi, esi
cmp esi, edx
jle 0x489c5e
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.00489f50
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0x489c45
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0x489c41
cmp dword [ebp - 4], 0
je 0x489cb0
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
lea esp, [esp]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x489c90
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0x489c06
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a500
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x94], 0
mov dword [edi], vtable.CFileWriterThread.0
jne 0x49a52e
push 1
call fcn.0049d670
mov ecx, edi
call fcn.0053a460
test al, al
je 0x49a52e
push 0
mov ecx, edi
call fcn.0053a9e0
lea ecx, [edi + 0x80]
mov dword [edi + 0x90], 0
call fcn.00499910
lea ecx, [edi + 0x80]
call fcn.00499910
lea ecx, [edi + 0x70]
call fcn.0053a270
lea ecx, [edi + 0x50]
call fcn.0049a320
lea ecx, [edi + 0x38]
call fcn.0053a230
mov ecx, edi
pop edi
pop esi
jmp fcn.0053a030