joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bb80
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, 0x48
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x54c450]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x45bcfc
jp 0x45bcfc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x54c460]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45bd21
mov eax, dword [0x54c470]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45bd5a
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea ebx, [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x54c468]
sbb edi, dword [0x54c46c]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm0, qword [esp + 0x30]
pxor xmm1, xmm1
movsd xmm2, qword [0x528c28]
ucomisd xmm2, xmm0
ja 0x45bcfc
mov eax, dword [esp + 8]
sub eax, dword [0x54c458]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x54c45c]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x528c00]
subpd xmm2, xmmword [0x528c10]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x54c450], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.004e96e3
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x54c460
call fcn.004e8cc7
add esp, 4
cmp dword [0x54c460], 0xffffffff
jne 0x45bbf2
rdtsc
mov dword [0x54c458], eax
mov dword [0x54c45c], edx
push 0x54c460
call fcn.004e8d3d
add esp, 4
jmp 0x45bbf2
push 0x54c470
call fcn.004e8cc7
add esp, 4
cmp dword [0x54c470], 0xffffffff
jne 0x45bc13
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x54c46c], ecx
mov dword [0x54c468], eax
push 0x54c470
call fcn.004e8d3d
add esp, 4
jmp 0x45bc13
Function at 0x45cc20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x45cc4c
test eax, eax
jne 0x45cc4c
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x45cc4c
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x45cca3
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x45cc6b
call fcn.00442c20
push dword [esi]
call fcn.0044bd20
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x45cc91
call fcn.00442c20
push dword [esi + 4]
call fcn.0044bd20
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov edx, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, ecx
mov ebx, dword [edi]
cmp edx, ebx
je 0x45ccea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x45ccce
call fcn.00442c20
push dword [esi]
call fcn.0044bd20
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x45ccdd
mov dword [esi], ebx
call fcn.00442c20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x45cd33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x45cd19
call fcn.00442c20
push dword [esi + 4]
call fcn.0044bd20
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x45cd29
mov dword [esi + 4], ebx
call fcn.00442c20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x461f30
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x461f9d
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 0x461f70
cmp edx, 1
jne 0x461fa6
jmp 0x461fc2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x461fc2
cmp edx, 2
je 0x461fb9
cmp edx, 3
jne 0x461fcd
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 - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x46212e
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x462036
lea edx, [ebx - 1]
and edx, edi
jmp 0x462042
mov edx, edi
cmp edi, ebx
jb 0x462042
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46212e
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x46212e
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x462095
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x46212c
mov ebx, dword [ebx]
test ebx, ebx
je 0x46212c
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4620f0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4620a9
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x46208b
lea ecx, [ebx + 8]
test al, al
jns 0x4620b7
mov ecx, dword [ecx]
js 0x46210e
cmp dword [ebp - 0x14], 0
je 0x462128
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x46208b
inc ecx
cmp eax, ecx
jne 0x4620d0
jmp 0x462128
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x462080
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x462083
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x462083
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x462128
push eax
push esi
push ecx
call fcn.004eadbd
add esp, 0xc
test eax, eax
jne 0x46208b
mov ecx, ebx
jmp 0x46212e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x46767c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x4676a1
mov eax, dword [ecx + 4]
test eax, eax
je 0x4676c6
mov eax, ebx
not eax
test eax, 0x300
je 0x4676c6
cmp edi, 2
mov eax, 0x54f22a
mov ecx, 0x54f42a
cmove ecx, eax
cmp word [ecx], 0
je 0x4676d8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea esi, [ebp - 0x34]
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x4676c6
cmp byte [0x54f228], 0
setne al
bt ebx, 8
jb 0x4676c6
shr ebx, 9
and ebx, 1
or bl, al
je 0x4676c6
cmp edi, 2
mov eax, 0x52a934
mov edx, 0x52a948
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
js 0x467736
mov ecx, ebx
mov esi, eax
mov eax, ebx
jmp 0x46773b
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x44], ecx
xor ecx, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], ecx
mov ebx, dword [edx + 4]
mov edi, eax
sub edi, ebx
jb 0x467780
push ebx
push dword [edx]
push esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
call fcn.004fd983
mov edx, dword [ebp - 0x4c]
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x48]
je 0x46778e
add edx, 0x14
mov ecx, dword [ebp - 0x50]
inc ecx
cmp ecx, dword [ebp - 0x44]
jb 0x467758
jmp 0x4677ee
movzx ecx, word [esi + ebx*2]
cmp ecx, 0x5c
je 0x46779b
test ecx, ecx
jne 0x467780
lea eax, [esi + ebx*2]
mov ebx, dword [edx + 8]
cmp ebx, 1
je 0x4677b9
cmp ebx, 2
mov esi, ebx
jne 0x4677c5
mov dword [ebp - 0x3c], str.WOW6432Node
mov dword [ebp - 0x38], eax
jmp 0x4677c5
mov dword [ebp - 0x3c], str.WOW6432Node_
mov dword [ebp - 0x38], esi
mov esi, ebx
mov dword [ebp - 0x40], esi
cmp cx, 0x5c
jne 0x4677dd
lea esi, [eax + 2]
dec edi
cmp word [eax + 2], 0x5c
mov eax, esi
je 0x4677ce
jmp 0x4677df
mov esi, eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], eax
mov edx, dword [edx + 0xc]
xor ecx, ecx
mov eax, edi
jmp 0x467787
cmp dword [ebp - 0x40], 0
je 0x4676c6
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x467805
mov eax, dword [ecx]
mov edx, dword [ebp - 0x38]
sub edx, eax
sar edx, 1
push dword [ebp - 0x3c]
push edx
call fcn.0043b490
jmp 0x4676c6
Function at 0x46cea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [ecx + 0x1174]
mov ebx, dword [ecx + 0x1178]
add ebx, eax
mov eax, dword [ecx + 0x116c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x40000001
jb 0x46ced6
push dword [ebp + 8]
call fcn.0047d0d0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, 0x40000000
mov edi, 0xaf000000
cmove edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x365f776f
mov dword [esp + 0x50], 0x775f7369
lea eax, [esp + 0x50]
push eax
call fcn.00410790
add esp, 4
cmp ebx, edi
jbe 0x46cf36
push ebx
call fcn.0047d100
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0x657a69
mov dword [esp + 0x40], 0x735f6176
lea eax, [esp + 0x40]
push eax
call fcn.00410790
add esp, 4
mov eax, dword [esi + 0x117c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x20200063
mov dword [esp + 0x30], 0x6f6c6c61
lea eax, [esp + 0x30]
push eax
call fcn.00410790
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov eax, dword [esi + 0x116c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x20007469
mov dword [esp + 0x10], 0x6d6d6f63
lea eax, [esp + 0x10]
push eax
call fcn.00410790
add esp, 4
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x20202000
mov dword [esp + 0x20], 0x657a6973
lea eax, [esp + 0x20]
push eax
call fcn.00410790
add esp, 4
mov ecx, dword [0x55061c]
test ecx, ecx
je 0x46d009
call dword [section..00cfg]
push esi
call ecx
add esp, 4
push esi
call fcn.004626e0
int3
Function at 0x471d90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.004ea000
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x53fdec]
cmp eax, 0xffffffff
je 0x471eea
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x471eea
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.004ebcd0
add esp, 0xc
mov ecx, dword [0x53fdec]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.004ad2f0
add esp, 8
test ebx, ebx
je 0x471e0b
push ebx
call fcn.004e8c8c
add esp, 4
mov eax, dword [0x5504b8]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x471f0b
mov esi, dword [0x5504b4]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x471eff
lea eax, [ebp - 0x1410]
push 0xc00
push 0x54f8b4
push eax
call fcn.004ebcd0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
jmp 0x471e79
mov ecx, dword [ebp - 0x1418]
dec ecx
je 0x471eda
test al, 1
je 0x471eda
mov dword [ebp - 0x1418], ecx
xor edi, edi
lea ebx, [ebp - 0x1408]
xor eax, eax
jmp 0x471e9c
inc edi
add ebx, 0xc
cmp edi, 0x100
je 0x471e70
mov esi, dword [ebp + edi*8 - 0x810]
test esi, esi
je 0x471e90
cmp dword [ebx - 8], 0
je 0x471e90
mov ecx, dword [ebp + edi*8 - 0x80c]
cmp ecx, dword [ebx]
jne 0x471e90
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x471e90
mov dword [ebp + edi*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x471e90
push 2
push dword [ebp - 0x1414]
call fcn.004ad2f0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.004514d0
jmp 0x471e41
push 0x5504b8
call fcn.004e8cc7
add esp, 4
cmp dword [0x5504b8], 0xffffffff
jne 0x471e2c
push 4
call fcn.004e8c26
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.004514c0
mov dword [0x5504b4], esi
push 0x5504b8
call fcn.004e8d3d
add esp, 4
jmp 0x471e2c

Function at 0x471f50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x53fdec]
cmp eax, 0xffffffff
je 0x471f70
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x471f80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x53fdec]
cmp eax, 0xffffffff
je 0x471f9d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x471fa2
call fcn.004720a0
mov eax, dword [0x5504b8]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x47204d
mov edi, dword [0x5504b4]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x472044
mov ecx, dword [0x54f8b0]
inc ecx
xor edx, edx
nop dword [eax]
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x54f8b4], 0
je 0x471ffe
inc edx
cmp edx, 0x100
jne 0x471fe0
jmp 0x47202e
lea eax, [eax*4 + 0x54f8b4]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x54f8b8], ecx
mov dword [0x54f8b0], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x54f8bc]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x472092
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.004514d0
jmp 0x471fd4
push 0x5504b8
call fcn.004e8cc7
add esp, 4
cmp dword [0x5504b8], 0xffffffff
jne 0x471fc3
push 4
call fcn.004e8c26
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.004514c0
mov dword [0x5504b4], edi
push 0x5504b8
call fcn.004e8d3d
add esp, 4
jmp 0x471fc3
int3

Function at 0x4720a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov ecx, dword [0x53fdec]
mov dword [ebp - 0x810], ecx
cmp ecx, 0xffffffff
jne 0x472144
lea esi, [ebp - 0x810]
push esi
call fcn.004ad2c0
add esp, 4
test al, al
je 0x4721c5
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x472120
push esi
call fcn.004ad2c0
add esp, 4
test al, al
je 0x4721c8
cmp dword [ebp - 0x810], 0xffffffff
je 0x4721c8
push 0xffffffffffffffff
call fcn.004ad2e0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x53fdec], ecx
je 0x472144
push ecx
call fcn.004ad2e0
add esp, 4
mov ecx, dword [0x53fdec]
mov dword [ebp - 0x810], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4721c2
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.004ec250
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.004ad2f0
add esp, 8
push 0x800
call fcn.004e8c83
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004ebcd0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.004ad2f0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x473660
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.004477c0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x47368e
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x4736ac
push dword [ebp - 0x1c]
call fcn.004e8c56
add esp, 4
cmp dword [ebp + 8], 0
je 0x473759
test esi, esi
je 0x473759
lea eax, [esi + esi]
test esi, esi
mov ecx, 0xffffffff
cmovns ecx, eax
push ecx
call fcn.004e8c83
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.004477c0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4736f1
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x47370b
push dword [ebp - 0x1c]
call fcn.004e8c56
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x47371d
push edi
call fcn.00500f04
add esp, 4
jmp 0x47371f
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00447800
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x47373d
push dword [ebx]
call fcn.004e8c56
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
test edi, edi
je 0x473759
push edi
call fcn.004e8c8c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x474600
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx edx, byte [0x55057c]
test dl, 1
jne 0x474626
test ecx, ecx
je 0x474624
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x474631
pop ebp
ret
call fcn.004b4050
pop ebp
jmp fcn.00488bb0
int3
Function at 0x47b1f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x47b25d
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 0x47b230
cmp edx, 1
jne 0x47b266
jmp 0x47b282
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x47b282
cmp edx, 2
je 0x47b279
cmp edx, 3
jne 0x47b28d
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 - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x47b3ee
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x47b2f6
lea edx, [ebx - 1]
and edx, edi
jmp 0x47b302
mov edx, edi
cmp edi, ebx
jb 0x47b302
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x47b3ee
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x47b3ee
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x47b355
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x47b3ec
mov ebx, dword [ebx]
test ebx, ebx
je 0x47b3ec
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x47b3b0
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x47b369
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x47b34b
lea ecx, [ebx + 8]
test al, al
jns 0x47b377
mov ecx, dword [ecx]
js 0x47b3ce
cmp dword [ebp - 0x14], 0
je 0x47b3e8
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x47b34b
inc ecx
cmp eax, ecx
jne 0x47b390
jmp 0x47b3e8
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x47b340
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x47b343
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x47b343
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47b3e8
push eax
push esi
push ecx
call fcn.004eadbd
add esp, 0xc
test eax, eax
jne 0x47b34b
mov ecx, ebx
jmp 0x47b3ee
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8