joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4b8ef2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x4b8edc
call fcn.00499510
push dword [esi]
call fcn.004bbc10
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4b8eeb
mov dword [esi], ebx
call fcn.00499510
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x4b8f09
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x4b8f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x4b8f31
call fcn.00499510
mov dword [esi], 0
test edi, edi
je 0x4b8f57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x4b8f8f
cmp ebx, 2
jae 0x4b8faf
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
add eax, 1
cmp eax, 2
jb 0x4b8f83
call fcn.00499510
push dword [edi]
call fcn.004bbc10
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.00499510
push dword [esi]
call fcn.004bbc10
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x4b8f50
mov dword [esi], edi
mov edi, eax
call fcn.00499510
mov eax, edi
jmp 0x4b8f50

Function at 0x4b8ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x4b9012
cmp dword [esi], edi
jne 0x4b901b
jmp 0x4b9037
call fcn.00499510
cmp dword [esi], edi
je 0x4b9037
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x4b906f
cmp ebx, 2
jae 0x4b908f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
add eax, 1
cmp eax, 2
jb 0x4b9063
call fcn.00499510
push dword [edi]
call fcn.004bbc10
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.00499510
push dword [esi]
call fcn.004bbc10
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x4b9030
mov dword [esi], edi
mov edi, eax
call fcn.00499510
mov eax, edi
jmp 0x4b9030
Function at 0x4b9210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x4b9236
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b9238
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4b9258
cmp byte [ebp + 0xc], 0
je 0x4b92a8
cmp byte [esi + 4], 0
je 0x4b929a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b929c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x4b926c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b926e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4b9285
xor ebx, ebx
jmp 0x4b9316
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x4b92d6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b92d8
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x4b92b6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b92b8
mov eax, dword [esi]
push eax
call fcn.004b8e70
add esp, 4
mov ecx, dword [0x7058a4]
mov bl, 1
test ecx, ecx
je 0x4b9316
push edi
push eax
call fcn.00557460
jmp 0x4b9316
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4b92ea
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x4b92f8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4b92fa
mov eax, dword [esi]
push eax
call fcn.004b8e70
add esp, 4
mov ecx, dword [0x7058a4]
test ecx, ecx
je 0x4b9314
push edi
push eax
call fcn.00557460
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4b96f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
push 0
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], 0
test eax, eax
je 0x4b9779
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x4b9749
call fcn.00499510
push dword [esi]
call fcn.004bbc10
add esp, 4
mov dword [esi], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x4b9758
mov dword [esi], edi
call fcn.00499510
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
add eax, 1
cmp eax, 1
jbe 0x4b9776
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
mov byte [esi + 4], 1
int3
Function at 0x4ba0c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
mov ebx, 0x100000
cmovne ebx, ecx
push 0xc
call fcn.0064173e
add esp, 4
mov edi, eax
mov dword [eax], esi
cmp dword [ebp + 8], 0
setne byte [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
push 0
push 0x10000
push edi
push 0x4ba410
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test eax, eax
je 0x4ba122
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ba14d
mov dword [eax], esi
jmp 0x4ba154
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x4ba139
cmp eax, 0x5af
je 0x4ba139
cmp eax, 0xe
jne 0x4ba16d
push ebx
call fcn.00558ee0
add esp, 4
push edi
call fcn.006417be
add esp, 4
jmp 0x4ba154
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], eax
mov eax, dword [0x7051b0]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4ba1cd
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call fcn.004a33b0
add esp, 8
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x4ba1aa
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x7051ac]
call fcn.00494c60
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4ba142
push dword [ebp - 0x1c]
call fcn.006417be
jmp 0x4ba13f
push 0x7051b0
call fcn.00641847
add esp, 4
cmp dword [0x7051b0], 0xffffffff
jne 0x4ba18d
push 0x20
push str.create_thread_last_error
call fcn.00494c40
add esp, 8
mov dword [0x7051ac], eax
push 0x7051b0
call fcn.006418bd
add esp, 4
jmp 0x4ba18d
Function at 0x4babc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [ecx + 4]
lea eax, [ebx + 1]
cmp eax, 1
ja 0x4bac41
sub esp, 0x10
movaps xmm0, xmmword [0x676bd0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp dword [esi + 4], eax
je 0x4bac41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
add eax, 1
cmp eax, 2
jb 0x4bac25
call fcn.00499510
push dword [esi + 4]
call fcn.004bbc10
add esp, 4
mov dword [esi + 4], 0
mov eax, ebx
add eax, 1
cmp eax, 2
jb 0x4bac37
mov dword [esi + 4], ebx
call fcn.00499510
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 4]
lea edi, [ebp + 0xc]
lea eax, [ebx + 1]
cmp eax, 2
jae 0x4bac6b
xor ebx, ebx
mov ecx, edi
call fcn.00491020
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea eax, [ebp + 8]
push 1
push ebx
push 0xf
push 1
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x4baca5
mov eax, dword [esi + 4]
add eax, 1
cmp eax, 2
jb 0x4bac4c
call fcn.00499510
push dword [esi + 4]
call fcn.004bbc10
add esp, 4
mov dword [esi + 4], 0
jmp 0x4bac4c
lea ecx, [esi + 0x34]
push edi
call fcn.00490fb0
lea ebx, [esi + 8]
lea eax, [ebp - 0x20]
push 0x59
push str..._.._base_win_registry.cc
push str.StartWatching
push eax
call fcn.004994e0
add esp, 0x10
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
push esi
push dword [esi + 4]
call fcn.004ba920
mov ebx, eax
jmp 0x4bac4e

Function at 0x4baec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x4bb220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x7024bc]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x4bb288
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4bb288
cmp dword [ebp - 0x14], 4
jne 0x4bb288
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0064180a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x4bb2c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00641d10
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.00645dd0
add esp, 0xc
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x4bb394
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x4bb349
mov edi, 0x3f4
cmp eax, 1
jne 0x4bb394
mov ecx, esi
push ebx
jmp 0x4bb38d
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00645dd0
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x4bb394
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.0048f136
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4bb3d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0065e7c2
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4bb4e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x7024bc]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edx, 0x20019
or edx, dword [ebp + 0x10]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bb574
mov dword [ebp - 0x1c], 0
mov eax, dword [esi]
sub esp, 0x30
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
lea edi, [ebp - 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4bb594
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffff
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4bb57a
test eax, eax
js 0x4bb57a
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea edx, [esi + 8]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4bb57a
jmp 0x4bb580

Function at 0x4bb640
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
lea ecx, [edx - 1]
mov dword [esi + 4], ecx
test edx, edx
jle 0x4bb69b
test eax, eax
je 0x4bb69b
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea edx, [esi + 8]
lea edi, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4bb6a1
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4bbdf0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x7051c0]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4bbe45
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0064180a
mov eax, 0x7051bc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x7051c0
call fcn.00641847
add esp, 4
cmp dword [0x7051c0], 0xffffffff
jne 0x4bbe2a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.00645dd0
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.0064173e
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x7051e8]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4bbef4
mov ecx, esi
push ebx
push 0x7051c4
push edi
call fcn.004bc050
mov dword [0x7051bc], esi
push 0x7051c0
call fcn.006418bd
add esp, 4
jmp 0x4bbe2a
push 0x7051e8
call fcn.00641847
add esp, 4
cmp dword [0x7051e8], 0xffffffff
jne 0x4bbece
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x7051e4], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x7051d4], xmm1
movups xmmword [0x7051c4], xmm0
push 0x7051e8
call fcn.006418bd
add esp, 4
jmp 0x4bbece

Function at 0x4bbf70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x7051e8]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4bbfe4
movzx eax, word [0x7051c4]
cmp eax, 0xc
ja case.0x4bbfb0.1
xor esi, esi
jmp dword [eax*4 + 0x68a78c]
mov esi, 2
jmp case.0x4bbfb0.0
mov esi, 4
jmp case.0x4bbfb0.0
mov esi, 1
jmp case.0x4bbfb0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0064180a
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x7051e8
call fcn.00641847
add esp, 4
cmp dword [0x7051e8], 0xffffffff
jne 0x4bbfa2
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x7051e4], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x7051d4], xmm1
movups xmmword [0x7051c4], xmm0
push 0x7051e8
call fcn.006418bd
add esp, 4
jmp 0x4bbfa2
Function at 0x4be040
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x705218]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x4be1c4
jp 0x4be1c4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x705228]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4be1e9
mov eax, dword [0x705238]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4be222
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x705230]
sbb ebx, dword [0x705234]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x673bd0]
subpd xmm1, xmmword [0x673be0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x68aa00]
ucomisd xmm2, xmm0
ja 0x4be1c4
mov eax, dword [esp + 8]
sub eax, dword [0x705220]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x705224]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x673bd0]
subpd xmm2, xmmword [0x673be0]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x705218], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0064180a
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x705228
call fcn.00641847
add esp, 4
cmp dword [0x705228], 0xffffffff
jne 0x4be0b2
rdtsc
mov dword [0x705220], eax
mov dword [0x705224], edx
push 0x705228
call fcn.006418bd
add esp, 4
jmp 0x4be0b2
push 0x705238
call fcn.00641847
add esp, 4
cmp dword [0x705238], 0xffffffff
jne 0x4be0d3
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x705234], ecx
mov dword [0x705230], eax
push 0x705238
call fcn.006418bd
add esp, 4
jmp 0x4be0d3
Function at 0x4c3a40
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x4c3aad
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4c3a80
cmp edx, 1
jne 0x4c3ab6
jmp 0x4c3ad2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x4c3ad2
cmp edx, 2
je 0x4c3ac9
cmp edx, 3
jne 0x4c3add
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x4c3c38
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x4c3b44
lea edx, [edi - 1]
and edx, ebx
jmp 0x4c3b50
mov edx, ebx
cmp ebx, edi
jb 0x4c3b50
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4c3c38
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x4c3c38
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x4c3ba6
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x4c3c36
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c3c36
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x4c3c00
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4c3bbb
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x4c3b9c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x4c3c18
cmp dword [ebp - 0x10], 0
je 0x4c3c32
cmp byte [esi], dl
jne 0x4c3b9c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x4c3c32
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x4c3be0
jmp 0x4c3b9c
cmp dword [ebp - 0x28], 1
jbe 0x4c3b90
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4c3b93
xor edx, edx
div ecx
mov eax, edx
jmp 0x4c3b93
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c3c32
push eax
push esi
push ecx
call fcn.006443bd
add esp, 0xc
test eax, eax
jne 0x4c3b9c
mov ecx, ebx
jmp 0x4c3c38
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8