joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5364f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d922d
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 0x53669d
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 0x1c
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0054d20e
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x5365de
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x5365a0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x53668d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x53668d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x5365f0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x5365f3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x53668d
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 0x1c
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0054d20e
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x536671
cmp edi, esi
je 0x536688
mov eax, dword [ebp + 0xc]
jmp 0x536647
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x53668d
mov edx, dword [ebp - 0x10]
jmp 0x536600
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 0x5368d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d92aa
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8594c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7e4c30]
cmp eax, dword [ecx + 0x480]
jg 0x53691d
mov ecx, dword [ebp - 0xc]
mov eax, 0x7df2a8
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x7e4c30
call fcn.0054d6c1
add esp, 4
cmp dword [0x7e4c30], 0xffffffff
jne 0x53690a
mov dword [ebp - 4], 0
push 0x531660
push 0x531420
push 0x26
push 0x38
mov dword [0x7df2a8], 0x73e9fc
push 0x7df6b0
mov dword [0x7df2a8], 0x73eaf8
mov dword [ebp - 0x10], 0x7df2b0
call fcn.0054e245
mov byte [ebp - 4], 1
mov dword [0x7dff00], 0x824c98
mov byte [ebp - 4], 2
push 0x531660
push 0x531420
push 0x3a
push 0x38
push 0x7e3f08
mov dword [ebp - 0x14], 0x7dff08
call fcn.0054e245
mov byte [ebp - 4], 3
mov dword [0x7e4bb8], 0x7e4c88
mov byte [ebp - 4], 4
mov ecx, 0x7e4be0
mov dword [0x7e4bc0], 4
mov dword [0x7e4bc4], 0
mov dword [0x7e4bc8], 0
mov dword [0x7e4bd0], 0x450da0
mov dword [0x7e4bd4], 0
mov dword [0x7e4bd8], 0
mov dword [ebp - 0x18], 0x7e4bd8
mov dword [0x7e4bdc], 0
call fcn.0053cd00
mov byte [ebp - 4], 6
mov byte [0x7e4bf8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x536a64
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00540b60
lea eax, [ebp - 0x218]
push eax
call fcn.0056ba82
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.0054ecd0
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x536a64
push 8
push 8
mov dword [0x7e4bfc], 0
mov dword [0x7e4c00], 0
mov dword [0x7e4c04], 0
mov dword [0x7e4c08], 0
mov dword [0x7e4c0c], 0
mov dword [0x7e4c10], 0
mov dword [0x7e4c14], 0
mov dword [0x7e4c18], 0
mov dword [0x7e4c1c], 0
mov dword [0x7e4c24], 0
mov dword [0x7e4c28], 0
call fcn.0056b8b1
add esp, 8
mov dword [0x7e4bcc], eax
test al, 7
je 0x536b05
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x536b05
int3
mov eax, dword [0x7e4bcc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x6e1ff0
call fcn.0054d474
mov dword [ebp - 4], 0xffffffff
push 0x7e4c30
call fcn.0054d677
add esp, 8
jmp 0x53690a

Function at 0x536d10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00536e70
Function at 0x53c280
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0054f8a0
add esp, 0xc
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x53c2bb
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
shrd ecx, eax, 0x14
mov eax, ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x53c6c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x828284], 0
jne 0x53c7ec
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x53c7eb
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x53c73c
jmp 0x53c710
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + esi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov ecx, 1
cmovg ecx, eax
inc esi
add edi, ecx
cmp esi, dword [ebp - 4]
jl 0x53c710
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [eax], ecx
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea esi, [ecx + 1]
lea esi, [eax + esi*4]
test ecx, ecx
jle 0x53c7c9
mov edx, ebx
mov dword [ebp - 0xc], eax
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp - 0x14], edx
mov ebx, eax
lea esp, [esp]
cmp esi, ecx
jae 0x53c7c6
push 0
push 0
sub eax, esi
add eax, edi
push eax
push esi
push 0xffffffffffffffff
push dword [edx + ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 8]
test eax, eax
mov ecx, 1
mov dword [ebx], esi
cmovg ecx, eax
mov eax, dword [ebp - 0x10]
inc edx
add esi, ecx
add ebx, 4
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edi]
jl 0x53c780
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x828284
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x53c7e9
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x828284]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x828284]
add eax, 4
mov esp, ebp
pop ebp
ret
Function at 0x53c970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0054d540
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.00450110
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0055c87a
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jg 0x53c9d0
push str.len___0
push 0x2be
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53c9d0
int3
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret

Function at 0x53ca00
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d9881
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8594c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x8282a4]
cmp eax, dword [ecx + 0x480]
jg 0x53ca73
mov eax, dword [0x8282a0]
test eax, eax
je 0x53ca49
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
cmp al, 1
je 0x53ca65
push str.bRtlGenRandomOK
push 0x8000035b
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53ca65
int3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x8282a4
call fcn.0054d6c1
add esp, 4
cmp dword [0x8282a4], 0xffffffff
jne 0x53ca34
mov dword [ebp - 4], 0
push str.SystemFunction036
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8282a0], eax
mov dword [ebp - 4], 0xffffffff
push 0x8282a4
call fcn.0054d677
add esp, 4
jmp 0x53ca34

Function at 0x53ccd0
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 0x53ccfc
push str.Out_of_thread_local_storage__n
push 0xb81
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53ccfc
int3
mov eax, esi
pop esi
ret
Function at 0x53cd40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d4f90
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 0x53ced5
cmp dword [esi + 0xc], 0xffffffff
mov edi, 0x32
sete bl
lea esp, [esp]
test bl, bl
je 0x53cddd
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0xffffffff
sete bl
sub edi, 1
jne 0x53cd80
test bl, bl
je 0x53cddd
cmp byte [esi + 0x10], 0
lea edi, [esi + 0x10]
jne 0x53cdc0
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.00450120
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.Illegal_termination_of_worker_thread__s
push 0xe7a
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d20
add esp, 0x10
test al, al
jne 0x53cddd
int3
mov eax, dword [0x8282b8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x53ce15
push eax
call edi
cmp eax, esi
jne 0x53ce10
push str.Deleting_thread_object_from_the_thread__this_is_bad
push 0xe7b
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53ce10
int3
mov eax, dword [0x8282b8]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x53cebd
cmp eax, 0xffffffff
je 0x53ce38
push eax
call edi
cmp eax, esi
je 0x53cebd
mov eax, dword [0x8282b8]
cmp dword [esi + 4], 0
je 0x53cebd
cmp eax, 0xffffffff
je 0x53ce66
push eax
call edi
cmp eax, esi
jne 0x53ce66
push str.Thread_cannot_be_joined_with_self
push 0xf6a
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53ce66
int3
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x53cebd
test eax, eax
je 0x53cea9
cmp eax, 0xffffffff
je 0x53cea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x53cea9
push 0x6e3bb0
push 0xf73
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53cebd
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 0x53cece
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 0x53d090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d9904
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
lea esi, [ebp - 0x10]
push 0xc
cmovne esi, eax
call fcn.0054d1de
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x53d0dd
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
jmp 0x53d0df
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push esi
push 0
push eax
push 0x53da10
push dword [ebp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x53d110
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x53d11f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
push str.Bad_thread_local_n
push 0xbb6
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53d13b
int3
xor eax, eax
ret

Function at 0x53d1b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x53d256
mov eax, dword [0x8282b8]
cmp eax, 0xffffffff
je 0x53d1d3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x53d1d5
xor eax, eax
cmp eax, esi
jne 0x53d1f5
push str.Thread_cannot_be_joined_with_self
push 0xf6a
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53d1f5
int3
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x53d237
test eax, eax
je 0x53d23e
cmp eax, 0xffffffff
je 0x53d23e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x53d23e
push 0x6e3bb0
push 0xf73
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53d237
int3
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]
mov dword [esi + 8], 0
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x53d3c0
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x53d410
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x53d428
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
push str.Bad_thread_local_n
push 0xbc9
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x53d444
int3
pop ebp
ret 4
Function at 0x53d710
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x53d720
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 0x53d74b
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.00450120
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.WARNING__CThread::Terminate:__s_n
call fcn.00537430
add esp, 8
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x53d771
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 0x53df10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d999c
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push esi
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x53df3b
mov eax, dword [esi + 8]
jmp 0x53df3d
xor eax, eax
push eax
lea ecx, [ebp - 0x468]
call fcn.0053de40
mov dword [ebp - 4], 0
test esi, esi
je 0x53df59
mov eax, dword [esi + 0xc]
jmp 0x53df5b
xor eax, eax
push ebx
push edi
push eax
lea ecx, [ebp - 0x25c]
call fcn.0053de40
mov byte [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x53dfed
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x1a], ax
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa8c]
call fcn.0053de40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x880]
push dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0053de40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push dword [ebp + 8]
mov edi, dword [eax]
call fcn.0053de40
mov byte [ebp - 4], 4
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x670]
pop edi
pop ebx
cmp eax, ecx
je 0x53e065
push eax
call fcn.0054d225
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
cmp eax, ecx
je 0x53e082
push eax
call fcn.0054d225
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa88]
mov eax, dword [ebp - 0xa8c]
cmp eax, ecx
je 0x53e09f
push eax
call fcn.0054d225
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
je 0x53e0bc
push eax
call fcn.0054d225
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
mov eax, dword [ebp - 0x468]
cmp eax, ecx
je 0x53e0dc
push eax
call fcn.0054d225
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 0x540660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.005404f0
test al, al
je 0x5407fc
push ebx
push esi
push edi
call fcn.005404d0
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.0054f8a0
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 0x828688
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 0x54078a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x8286c0]
lea eax, [ebp - 0x118]
push dword [0x8286bc]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x8286a4]
test eax, eax
je 0x54078a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x54078a
cmp edi, ebx
jle 0x540784
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x540784
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 0x540720
push 0x828688
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 0x5407f9
jmp 0x5407c0
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 0x5407c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540f90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d9b53
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x8594c8]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x8286ec]
cmp eax, dword [edx + 0x480]
jg 0x5410f4
mov dword [ebp - 0x10], 0x8286cc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x8286cc
cmp edx, dword [0x8286cc]
je 0x541003
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x541003
pause
push edx
mov ecx, esi
call fcn.0053d260
jmp 0x54100a
lock inc dword [0x8286d0]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x5410c3
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.00530500
mov eax, dword [eax + 4]
test eax, eax
je 0x541083
cmp eax, dword [edi + 4]
je 0x541083
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x5410c6
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x541088
sub esi, ecx
inc esi
push esi
call fcn.00569b22
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0054f320
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.00540b90
mov esi, 0x8286cc
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x8286d0]
cmp dword [0x8286d0], 0
pop ebx
jne 0x5410e2
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 0x8286ec
call fcn.0054d6c1
add esp, 4
cmp dword [0x8286ec], 0xffffffff
jne 0x540fcf
mov dword [ebp - 4], 0
mov ecx, 0x8286d4
mov dword [0x8286cc], 0
mov dword [0x8286d0], 0
call fcn.0053cd00
mov byte [ebp - 4], 0
push 0x6e2300
call fcn.0054d474
mov dword [ebp - 4], 0xffffffff
push 0x8286ec
call fcn.0054d677
add esp, 8
jmp 0x540fcf