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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00443930
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.00444e60
cmp byte [edi + 0xb], 0
jns 0x442ee6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00444ee0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00470273
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x442f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00472dd0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x442f98
push ebx
call fcn.00485180
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.00435e00
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.00436cc0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00435ef0
mov ecx, ebx
call fcn.00435eb0
mov ecx, edi
call fcn.00435eb0
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470273
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x442fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00472dd0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4a3850]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x443028
cmp word [ebp - 0x214], 0
je 0x443028
push edi
call fcn.00485180
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00435e00
jmp 0x443081
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00435db0
push edi
call fcn.00442f10
add esp, 4
mov ecx, esi
test al, al
je 0x44306a
push edi
call fcn.00435dd0
jmp 0x443076
push 3
push 0x4a38a2
call fcn.00435e00
lea ecx, [ebp - 0x220]
call fcn.00435eb0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00470273
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x4430a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
movdqa xmmword [esp + 0x220], xmm0
lea ebx, [esp + 0x18]
push 0x3c3
push str....._base_files_file_util_win.cc
push 0x4a38aa
push ebx
call fcn.00443930
add esp, 0x10
lea ecx, [esp + 0x220]
push 0
push ebx
call fcn.00444e60
lea eax, [esp + 0x1a]
push 0x206
push 0xff
push eax
call fcn.00472dd0
add esp, 0xc
mov word [esp + 0x18], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x443181
push ebx
call fcn.00485180
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.00435e00
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00436cc0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00435ef0
mov ecx, ebx
call fcn.00435eb0
mov ecx, edi
call fcn.00435eb0
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x220]
call fcn.00444ee0
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.00470273
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443f00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.00472dd0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.0046f850
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x4bcea8]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443fbe
mov ecx, esi
push ebx
push 0x4bce84
push edi
call fcn.00444110
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470273
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4bcea8
call fcn.0046f8f7
add esp, 4
cmp dword [0x4bcea8], 0xffffffff
jne 0x443f99
xorps xmm0, xmm0
movups xmmword [0x4bce94], xmm0
movups xmmword [0x4bce84], xmm0
mov dword [0x4bcea4], 0
push 0x4bce84
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4bcea8
call fcn.0046f96d
add esp, 4
jmp 0x443f99
Function at 0x444070
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4bcea8]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4440bf
movzx eax, word [0x4bce84]
cmp eax, 0xc
ja case.0x44409c.1
jmp dword [eax*4 + 0x4a3d84]
mov eax, 2
pop ebp
ret
mov eax, 4
pop ebp
ret
mov eax, 1
pop ebp
ret
mov eax, 3
pop ebp
ret
push 0x4bcea8
call fcn.0046f8f7
add esp, 4
cmp dword [0x4bcea8], 0xffffffff
jne 0x444090
xorps xmm0, xmm0
movups xmmword [0x4bce94], xmm0
movups xmmword [0x4bce84], xmm0
mov dword [0x4bcea4], 0
push 0x4bce84
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4bcea8
call fcn.0046f96d
add esp, 4
jmp 0x444090

Function at 0x444c20
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 0x444c4c
test eax, eax
jne 0x444c4c
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x444c4c
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x444ca3
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x444c6b
call fcn.00443960
push dword [esi]
call fcn.0044b7a0
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x444c91
call fcn.00443960
push dword [esi + 4]
call fcn.0044b7a0
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 0x444cea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x444cce
call fcn.00443960
push dword [esi]
call fcn.0044b7a0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x444cdd
mov dword [esi], ebx
call fcn.00443960
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 0x444d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x444d19
call fcn.00443960
push dword [esi + 4]
call fcn.0044b7a0
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x444d29
mov dword [esi + 4], ebx
call fcn.00443960
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 0x445af0
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 [0x4ad014]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x4bcec0]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x445c6c
jp 0x445c6c
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 [0x4bced0]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x445c91
mov eax, dword [0x4bcee0]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x445cca
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 [0x4bced8]
sbb edi, dword [0x4bcedc]
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 [0x4a40b8]
ucomisd xmm2, xmm0
ja 0x445c6c
mov eax, dword [esp + 8]
sub eax, dword [0x4bcec8]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x4bcecc]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x4a4090]
subpd xmm2, xmmword [0x4a40a0]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x4bcec0], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.00470273
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4bced0
call fcn.0046f8f7
add esp, 4
cmp dword [0x4bced0], 0xffffffff
jne 0x445b62
rdtsc
mov dword [0x4bcec8], eax
mov dword [0x4bcecc], edx
push 0x4bced0
call fcn.0046f96d
add esp, 4
jmp 0x445b62
push 0x4bcee0
call fcn.0046f8f7
add esp, 4
cmp dword [0x4bcee0], 0xffffffff
jne 0x445b83
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 [0x4bcedc], ecx
mov dword [0x4bced8], eax
push 0x4bcee0
call fcn.0046f96d
add esp, 4
jmp 0x445b83
Function at 0x44afb0
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 0x44b01d
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 0x44aff0
cmp edx, 1
jne 0x44b026
jmp 0x44b042
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x44b042
cmp edx, 2
je 0x44b039
cmp edx, 3
jne 0x44b04d
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 0x44b1ae
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 0x44b0b6
lea edx, [ebx - 1]
and edx, edi
jmp 0x44b0c2
mov edx, edi
cmp edi, ebx
jb 0x44b0c2
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 0x44b1ae
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x44b1ae
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 0x44b115
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x44b1ac
mov ebx, dword [ebx]
test ebx, ebx
je 0x44b1ac
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x44b170
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x44b129
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x44b10b
lea ecx, [ebx + 8]
test al, al
jns 0x44b137
mov ecx, dword [ecx]
js 0x44b18e
cmp dword [ebp - 0x14], 0
je 0x44b1a8
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x44b10b
inc ecx
cmp eax, ecx
jne 0x44b150
jmp 0x44b1a8
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x44b100
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x44b103
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x44b103
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44b1a8
push eax
push esi
push ecx
call fcn.0047193d
add esp, 0xc
test eax, eax
jne 0x44b10b
mov ecx, ebx
jmp 0x44b1ae
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 0x450260
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 [0x4ad014]
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 0x4502c8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4502c8
cmp dword [ebp - 0x14], 4
jne 0x4502c8
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.00470273
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x4502e0
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.00470b90
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.00472dd0
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 0x4503b6
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x450369
mov edi, 0x3f4
cmp eax, 1
jne 0x4503b6
mov ecx, esi
push ebx
jmp 0x4503af
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00472dd0
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x4503b6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.004315ee
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470273
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x451be0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.00470b90
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4afbd0]
cmp eax, 0xffffffff
je 0x451d3a
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x451d3a
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00472850
add esp, 0xc
mov ecx, dword [0x4afbd0]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.0045ef40
add esp, 8
test ebx, ebx
je 0x451c5b
push ebx
call fcn.0046f8bc
add esp, 4
mov eax, dword [0x4c0674]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x451d5b
mov esi, dword [0x4c0670]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x451d4f
lea eax, [ebp - 0x1410]
push 0xc00
push 0x4bfa70
push eax
call fcn.00472850
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
jmp 0x451cc9
mov ecx, dword [ebp - 0x1418]
dec ecx
je 0x451d2a
test al, 1
je 0x451d2a
mov dword [ebp - 0x1418], ecx
xor edi, edi
lea ebx, [ebp - 0x1408]
xor eax, eax
jmp 0x451cec
inc edi
add ebx, 0xc
cmp edi, 0x100
je 0x451cc0
mov esi, dword [ebp + edi*8 - 0x810]
test esi, esi
je 0x451ce0
cmp dword [ebx - 8], 0
je 0x451ce0
mov ecx, dword [ebp + edi*8 - 0x80c]
cmp ecx, dword [ebx]
jne 0x451ce0
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x451ce0
mov dword [ebp + edi*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x451ce0
push 2
push dword [ebp - 0x1414]
call fcn.0045ef40
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470273
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.004431c0
jmp 0x451c91
push 0x4c0674
call fcn.0046f8f7
add esp, 4
cmp dword [0x4c0674], 0xffffffff
jne 0x451c7c
push 4
call fcn.0046f850
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.004431b0
mov dword [0x4c0670], esi
push 0x4c0674
call fcn.0046f96d
add esp, 4
jmp 0x451c7c

Function at 0x451da0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4afbd0]
cmp eax, 0xffffffff
je 0x451dc0
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 0x451dd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x4afbd0]
cmp eax, 0xffffffff
je 0x451ded
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x451df2
call fcn.00451ef0
mov eax, dword [0x4c0674]
mov ecx, dword [0x4b0cc8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x451e9d
mov edi, dword [0x4c0670]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x451e94
mov ecx, dword [0x4bfa6c]
inc ecx
xor edx, edx
nop dword [eax]
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x4bfa70], 0
je 0x451e4e
inc edx
cmp edx, 0x100
jne 0x451e30
jmp 0x451e7e
lea eax, [eax*4 + 0x4bfa70]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x4bfa74], ecx
mov dword [0x4bfa6c], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x4bfa78]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x451ee2
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.004431c0
jmp 0x451e24
push 0x4c0674
call fcn.0046f8f7
add esp, 4
cmp dword [0x4c0674], 0xffffffff
jne 0x451e13
push 4
call fcn.0046f850
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.004431b0
mov dword [0x4c0670], edi
push 0x4c0674
call fcn.0046f96d
add esp, 4
jmp 0x451e13
int3

Function at 0x451ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov ecx, dword [0x4afbd0]
mov dword [ebp - 0x810], ecx
cmp ecx, 0xffffffff
jne 0x451f94
lea esi, [ebp - 0x810]
push esi
call fcn.0045ef10
add esp, 4
test al, al
je 0x452015
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x451f70
push esi
call fcn.0045ef10
add esp, 4
test al, al
je 0x452018
cmp dword [ebp - 0x810], 0xffffffff
je 0x452018
push 0xffffffffffffffff
call fcn.0045ef30
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x4afbd0], ecx
je 0x451f94
push ecx
call fcn.0045ef30
add esp, 4
mov ecx, dword [0x4afbd0]
mov dword [ebp - 0x810], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x452012
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.00472dd0
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.0045ef40
add esp, 8
push 0x800
call fcn.0046f8b3
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00472850
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.0045ef40
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00470273
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x452bd0
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 0x452c06
push dword [ebp + 8]
call fcn.0045d3d0
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 0x452c66
push ebx
call fcn.0045d400
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 [0x4c0804]
test ecx, ecx
je 0x452d39
call dword [section..00cfg]
push esi
call ecx
add esp, 4
push esi
call fcn.00452690
int3