joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480870
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x48089c
push str.Out_of_thread_local_storage__n
push 0xa8c
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x48089c
int3
mov eax, esi
pop esi
ret

Function at 0x4808e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590410
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CThread.0
je 0x480a75
cmp dword [esi + 0xc], 0xffffffff
mov edi, 0x32
sete bl
lea esp, [esp]
test bl, bl
je 0x48097d
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0xffffffff
sete bl
sub edi, 1
jne 0x480920
test bl, bl
je 0x48097d
cmp byte [esi + 0x10], 0
lea edi, [esi + 0x10]
jne 0x480960
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.00463b80
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.Illegal_termination_of_worker_thread__s
push 0xd89
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004767f0
add esp, 0x10
test al, al
jne 0x48097d
int3
mov eax, dword [0x6a7b90]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x4809b5
push eax
call edi
cmp eax, esi
jne 0x4809b0
push str.Deleting_thread_object_from_the_thread__this_is_bad
push 0xd8a
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x4809b0
int3
mov eax, dword [0x6a7b90]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x480a5d
cmp eax, 0xffffffff
je 0x4809d8
push eax
call edi
cmp eax, esi
je 0x480a5d
mov eax, dword [0x6a7b90]
cmp dword [esi + 4], 0
je 0x480a5d
cmp eax, 0xffffffff
je 0x480a06
push eax
call edi
cmp eax, esi
jne 0x480a06
push str.Thread_cannot_be_joined_with_self
push 0xe79
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x480a06
int3
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x480a5d
test eax, eax
je 0x480a49
cmp eax, 0xffffffff
je 0x480a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x480a49
push 0x5b2f10
push 0xe82
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x480a5d
int3
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call ebx
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x480a6e
push eax
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480c40
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x480c4f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x6a7b94], 0
jne 0x480c7b
push str.Bad_thread_local:_Get_n
push 0xac1
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x6a7b94], 1
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x480c7b
int3
xor eax, eax
ret

Function at 0x480e50
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x480e68
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x6a7b95], 0
jne 0x480e94
push str.Bad_thread_local:_Set_n
push 0xad8
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x6a7b95], 1
call fcn.004767e0
add esp, 0xc
test al, al
jne 0x480e94
int3
pop ebp
ret 4
Function at 0x481160
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x10], 0
lea eax, [ebx + 0x10]
push esi
push edi
mov dword [ebp - 4], eax
jne 0x481193
push dword [ebx + 8]
push dword [ebx + 4]
push ebx
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push eax
call fcn.00463b80
mov eax, dword [ebp - 4]
add esp, 0x18
mov byte [ebx + 0x2f], 0
push eax
push str.WARNING__CThread::Terminate:__s_n
call fcn.00477170
add esp, 8
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x4811bc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 8], 0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4819a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590f40
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.00481800
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 0x4819fe
push eax
call fcn.0056acf4
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 0x481be0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590f40
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.00481800
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 0x481c3e
push eax
call fcn.0056acf4
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 0x482780
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.00476040
add esp, 4
test al, al
jne 0x48296b
push str._nocrashdialog
call fcn.00476040
add esp, 4
test al, al
jne 0x48296b
call fcn.00481680
test al, al
jne 0x4827cb
call fcn.00477190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.00476040
add esp, 4
test al, al
je 0x4827e5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x627524], 0
je 0x48296b
mov esi, dword [0x6a7bc8]
mov dword [ebp - 4], 0x6a7bc8
test esi, esi
je 0x482899
jmp 0x482810
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.0057cd46
add esp, 8
test eax, eax
jne 0x48288c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x482847
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x482856
cmp edx, dword [esi + 0x204]
jle 0x48285a
test al, al
jne 0x48288c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x48296b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x48296b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0056ac55
add esp, 8
jmp 0x48288f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x482810
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x6a7bcc], ebx
mov dword [0x6a7bd0], esi
mov dword [0x6a7bd4], edi
mov byte [0x6a7bc2], 0
mov dword [0x6a7bd8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x482740
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6a7bd8]
test eax, eax
jne 0x482949
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00463b80
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x482931
pop edi
pop esi
mov byte [0x6a7bc2], 1
mov al, byte [0x6a7bc2]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x48295f
mov al, byte [0x6a7bc2]
pop edi
pop esi
mov byte [0x627524], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x4823b0
push eax
push 0x65
push dword [0x6a7bc4]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6a7bc2]
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 0x483e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.00483a10
test al, al
je 0x483fd2
push ebx
push esi
push edi
call fcn.004839f0
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.0056c620
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 0x6a7ebc
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
test ebx, ebx
jle 0x483f6a
lea esp, [esp]
push 0
push dword [0x6a7ef4]
lea eax, [ebp - 0x118]
push dword [0x6a7ef0]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6a7ed8]
test eax, eax
je 0x483f6a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x483f6a
cmp edi, dword [ebp + 0x10]
jle 0x483f65
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x483f65
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, ebx
jl 0x483f00
push 0x6a7ebc
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 0x483fcf
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x483fa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484410
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5910d3
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x6aac10]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6a7f24]
cmp eax, dword [edx + 4]
jg 0x484583
mov dword [ebp - 0x10], 0x6a7f04
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6a7f04
cmp edx, dword [0x6a7f04]
je 0x484483
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x484483
pause
push edx
mov ecx, esi
call fcn.00480cf0
jmp 0x48448a
lock inc dword [0x6a7f08]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x484552
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
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.004792b0
mov edx, dword [eax + 4]
test edx, edx
je 0x484508
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp edx, dword [edi + 4]
je 0x48450e
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x484555
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x484513
sub esi, ecx
inc esi
push esi
call fcn.00579bc9
mov ecx, dword [ebp + 8]
push esi
push ebx
mov dword [ecx], eax
push dword [edi + 0x24]
call fcn.0056c940
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.00484010
mov esi, 0x6a7f04
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6a7f08]
cmp dword [0x6a7f08], 0
pop ebx
jne 0x484571
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 0x6a7f24
call fcn.0056b07e
add esp, 4
cmp dword [0x6a7f24], 0xffffffff
jne 0x48444f
mov dword [ebp - 4], 0
mov ecx, 0x6a7f0c
mov dword [0x6a7f04], 0
mov dword [0x6a7f08], 0
call fcn.004808a0
mov byte [ebp - 4], 0
push 0x591900
call fcn.0056af35
mov dword [ebp - 4], 0xffffffff
push 0x6a7f24
call fcn.0056b034
add esp, 8
jmp 0x48444f
Function at 0x4845f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5910ed
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.0047e970
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.0056ab88
int3
Function at 0x484790
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590dcd
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 0x48493b
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.0056ac55
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 0x48492b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x48492b
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 0x48492b
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 [ebp - 0x18]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*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.0056ac55
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x48490f
cmp edi, esi
je 0x484926
mov eax, dword [ebp + 0xc]
jmp 0x4848e5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x48492b
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 0x486700
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 0x48671c
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.004867d0
add esp, 4
test eax, eax
jne 0x486746
push str.AuthenticAMD
call fcn.004867d0
add esp, 4
test eax, eax
jne 0x486746
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 0x4867c6
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x486791
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x48678e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x4867c5
cmp eax, 1
jbe 0x4867c5
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 0x4867c3
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 0x487080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, ecx
mov byte [esi], al
mov byte [esi + 1], bl
cmp bl, al
jbe 0x48709b
mov byte [esi + 1], al
mov bl, al
xor edx, edx
movzx eax, al
movzx ecx, bl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x4870b0
test al, cl
jne 0x4870ba
dec dl
shr cl, 1
jne 0x4870b0
mov byte [esi + 2], dl
dec bl
mov cl, 8
mov al, 0x80
test bl, al
jne 0x4870cd
dec cl
shr al, 1
jne 0x4870c3
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 0x58531a
Capabilities:
Read file on windows

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

Function at 0x58f6a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x58f6cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58f6cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40271c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40600c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4027b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402794
xor eax, eax
push ebp
push 0x40278d
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 0x4027d0
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 0x402794
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40600c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40600c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x407034], 0
je 0x402ee5
cmp word [0x407208], 0xd7b2
jne 0x402ead
cmp dword [0x407210], 0
jbe 0x402ead
mov eax, 0x407204
call dword [0x407220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x406054
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 0x402f0c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x406018], 0
jne 0x402f01
push 0
push 0x40604c
push 0x406054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40340c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x403472
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403100
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402610
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40345c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403479
lea eax, [ebp - 0x10]
call fcn.00403000
ret