joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x592e55
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x48103c
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x48103c
cmp dword [ebp - 0x14], 0x103
jne 0x48103c
push str.Tried_to_create_a_thread_that_has_already_been_created_
push 0xe5f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x481029
int3
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.00480970
mov dword [ebp - 4], 0
lea ebx, [esi + 8]
mov eax, dword [ebp + 8]
neg eax
push 0xc
sbb edi, edi
and edi, 0x10000
call fcn.0056b455
add esp, 4
test eax, eax
je 0x481081
lea ecx, [ebp - 0x1c]
mov dword [eax], esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xd]
mov dword [eax + 8], ecx
jmp 0x481083
xor eax, eax
push ebx
push edi
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], eax
test eax, eax
jne 0x4810d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_thread__error_0x_x_
push 0xe71
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.00476d40
add esp, 0x10
test al, al
jne 0x481153
int3
cmp dword [ebp - 0x1c], 0
jne 0x4810f6
push str.Thread_synchronization_object_is_unuseable
push 0x70a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x4810f6
int3
push 0xea60
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48112d
cmp eax, 0x80
je 0x48112d
push str.Probably_deadlock_or_failure_waiting_for_thread_to_initialize.
push 0x101a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x481133
int3
cmp byte [ebp - 0xd], 0
jne 0x481157
push str.Thread_failed_to_initialize_n
call fcn.00477670
mov eax, dword [esi + 4]
add esp, 4
mov dword [esi + 4], 0
push eax
call edi
mov dword [ebx], 0
xor bl, bl
jmp 0x481173
mov eax, dword [esi + 4]
test eax, eax
jne 0x481170
push str.Thread_exited_immediately_n
call fcn.00477670
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4811aa
cmp byte [ebp - 0x18], 0
je 0x4811aa
push eax
call edi
test eax, eax
jne 0x4811aa
push 0x5b4ba8
push 0x6e4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x4811aa
int3
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4811c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
push edi
lea edi, [esi + 0x10]
jne 0x4811eb
push dword [esi + 8]
push dword [esi + 4]
push esi
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push edi
call fcn.004640f0
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.WARNING__CThread::Terminate:__s_n
call fcn.00477670
add esp, 8
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x481211
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x481910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
call fcn.00481770
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
cmp eax, ecx
je 0x48196e
push eax
call fcn.0056b524
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x481b50
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
call fcn.00481770
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
cmp eax, ecx
je 0x481bae
push eax
call fcn.0056b524
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x482660
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.004765c0
add esp, 4
test al, al
jne 0x482833
push str._nocrashdialog
call fcn.004765c0
add esp, 4
test al, al
jne 0x482833
call fcn.004815f0
test al, al
jne 0x4826ab
call fcn.00477690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.004765c0
add esp, 4
test al, al
je 0x4826c5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x629534], 0
je 0x482833
mov esi, dword [0x6a9cb0]
mov dword [ebp - 4], 0x6a9cb0
test esi, esi
je 0x482779
jmp 0x4826f0
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.0057dce6
add esp, 8
test eax, eax
jne 0x48276c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x482727
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x482736
cmp edx, dword [esi + 0x204]
jle 0x48273a
test al, al
jne 0x48276c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x482833
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x482833
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0056b485
add esp, 8
jmp 0x48276f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x4826f0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x6a9cb4], ebx
mov dword [0x6a9cb8], esi
mov dword [0x6a9cbc], edi
mov byte [0x6a9caa], 0
mov dword [0x6a9cc0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x482620
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6a9cc0]
test eax, eax
jne 0x482811
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_OK_to_dismiss_or_Cancel_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.004640f0
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x2001
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x482827
mov al, byte [0x6a9caa]
pop edi
pop esi
mov byte [0x629534], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x482290
push eax
push 0x65
push dword [0x6a9cac]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6a9caa]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.00483800
test al, al
je 0x483b0c
push ebx
push esi
push edi
call fcn.004837e0
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0056ce40
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6a9f48
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x483a9a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x6a9f80]
lea eax, [ebp - 0x118]
push dword [0x6a9f7c]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6a9f64]
test eax, eax
je 0x483a9a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x483a9a
cmp edi, ebx
jle 0x483a94
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x483a94
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x483a30
push 0x6a9f48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x483b09
jmp 0x483ad0
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x483ad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484420
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x593053
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x6acca8]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6a9fb4]
cmp eax, dword [edx + 4]
jg 0x484584
mov dword [ebp - 0x10], 0x6a9f94
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6a9f94
cmp edx, dword [0x6a9f94]
je 0x484493
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x484493
pause
push edx
mov ecx, esi
call fcn.00480e30
jmp 0x48449a
lock inc dword [0x6a9f98]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x484553
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00479360
mov eax, dword [eax + 4]
test eax, eax
je 0x484513
cmp eax, dword [edi + 4]
je 0x484513
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x484556
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x484518
sub esi, ecx
inc esi
push esi
call fcn.0057ac59
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0056d160
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484020
mov esi, 0x6a9f94
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6a9f98]
cmp dword [0x6a9f98], 0
pop ebx
jne 0x484572
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6a9fb4
call fcn.0056b8ad
add esp, 4
cmp dword [0x6a9fb4], 0xffffffff
jne 0x48445f
mov dword [ebp - 4], 0
mov ecx, 0x6a9f9c
mov dword [0x6a9f94], 0
mov dword [0x6a9f98], 0
call fcn.00480a30
mov byte [ebp - 4], 0
push 0x593960
call fcn.0056b765
mov dword [ebp - 4], 0xffffffff
push 0x6a9fb4
call fcn.0056b863
add esp, 8
jmp 0x48445f
Function at 0x4845f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59306d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x48477f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0047ead0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x48473c
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4846c1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x48472f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4846f8
mov eax, dword [eax]
cmp eax, ecx
je 0x4846f0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x48472f
cmp ebx, eax
je 0x48470c
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x48475d
cmp ebx, eax
jne 0x484700
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x484670
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x48472f
push str.invalid_hash_bucket_count
call fcn.0056b3b8
int3
Function at 0x484790
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592d2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x48493d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056b485
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x48487e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x484840
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x48492d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x48492d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x484890
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x484893
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x48492d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056b485
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x484911
cmp edi, esi
je 0x484928
mov eax, dword [ebp + 0xc]
jmp 0x4848e7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x48492d
mov edx, dword [ebp - 0x10]
jmp 0x4848a0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4866c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x4866dc
xor al, al
mov esp, ebp
pop ebp
ret
push 0x5bb304
call fcn.00486790
add esp, 4
test eax, eax
jne 0x486706
push str.AuthenticAMD
call fcn.00486790
add esp, 4
test eax, eax
jne 0x486706
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x486786
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x486751
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x48674e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x486785
cmp eax, 1
jbe 0x486785
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x486783
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x486da0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5931e1
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x486dce
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], 0
cmp esi, 4
jne 0x486e2d
call fcn.004864e0
test eax, eax
jne case.0x486e36.2
call fcn.004866c0
test al, al
je case.0x486e36.0
push 0x34
call fcn.0056b455
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x486e77
mov ecx, eax
call fcn.00485660
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp esi, 3
ja case.0x486e36.0
jmp dword [esi*4 + 0x486fe4]
push 0x1c
call fcn.0056b455
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x486e77
mov ecx, eax
call fcn.00485a20
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x14
call fcn.0056b455
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x486fc7
mov dword [esi], vtable.ICpuTopology.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.GlpiImpl.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004864e0
test eax, eax
jne 0x486ef5
push str.IsSupported__
push 0x292
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x486ef5
int3
push ebx
call fcn.004864e0
mov ebx, eax
test ebx, ebx
jne 0x486f1d
push str.pGlpi
push 0x295
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x486f1d
int3
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
call ebx
push dword [ebp + 8]
call fcn.0057ac59
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
push ecx
push eax
call ebx
mov eax, 0xaaaaaaab
mov dword [esi + 0x10], 0
mul dword [ebp + 8]
pop ebx
shr edx, 4
mov dword [esi + 8], edx
test edx, edx
je 0x486f71
mov eax, dword [esi + 4]
add eax, 4
cmp dword [eax], 0
jne 0x486f69
inc dword [esi + 0x10]
add eax, 0x18
sub edx, 1
jne 0x486f61
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 1
jmp 0x486fc9
push 8
call fcn.0056b455
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x486fc7
mov dword [esi], vtable.ICpuTopology.0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
push eax
mov dword [esi], vtable.DefaultImpl.0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
jmp 0x486fc9
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x487000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x48701b
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x487030
test al, cl
jne 0x48703a
dec dl
shr cl, 1
jne 0x487030
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x487050
dec cl
shr al, 1
jne 0x487046
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x586a40
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005868b6

Function at 0x58a28b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00589dde

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x140912d1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5d190c78
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219