joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
push edi
mov edi, dword [eax]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, eax
test esi, esi
jne 0x41e3a5
lea edx, [esp + 0xc]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.0046875c
add esp, 0x210
ret 4

Function at 0x41e610
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x420ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [0x48cd00]
mov eax, dword [str.BP3__tBO]
push ebx
mov dword [esp + 0xc], edx
mov edx, dword [0x48cce8]
push esi
mov dword [esp + 8], eax
mov al, byte [0x48cd04]
push edi
mov edi, ecx
mov ecx, dword [0x48ccfc]
mov dword [esp + 0x2c], edx
movzx edx, word [0x48ccf4]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x48cce4]
mov byte [esp + 0x18], al
mov eax, dword [0x48ccec]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x48ccf0]
mov dword [esp + 0x30], eax
mov eax, dword [0x48ccd8]
mov word [esp + 0x38], dx
movzx edx, word [0x48cce0]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x48ccdc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov word [esp + 0x24], dx
mov dword [esp + 0x20], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420d72
sub eax, edx
mov edx, eax
lea ecx, [esp + 0xc]
lea esi, [esp + edx + 0xc]
mov eax, ecx
cmp eax, esi
jae 0x420da5
lea ecx, [ecx]
mov al, cl
lea ebx, [esp + 0xc]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
add ecx, 1
cmp ecx, esi
jb 0x420d90
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420db0
sub eax, edx
mov edx, eax
lea ecx, [esp + 0x28]
lea esi, [esp + edx + 0x28]
mov eax, ecx
cmp eax, esi
jae 0x420de5
jmp 0x420dd0
mov al, cl
lea ebx, [esp + 0x28]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
add ecx, 1
cmp ecx, esi
jb 0x420dd0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420e06
sub eax, edx
push eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0046ac40
lea eax, [esp + 0x34]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420e28
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0046ac40
lea eax, [esp + 0x28]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420e50
sub eax, edx
mov edx, eax
lea ecx, [esp + 0x1c]
lea esi, [esp + edx + 0x1c]
mov eax, ecx
cmp eax, esi
jae 0x420e85
jmp 0x420e70
mov al, cl
lea ebx, [esp + 0x1c]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
add ecx, 1
cmp ecx, esi
jb 0x420e70
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ecx, dword [esp + 0x3c]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [edi + 8], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046875c
add esp, 0x34
ret
Function at 0x420f20
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
jne 0x420f61
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046875c
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor eax, eax
cmp dword [esp + 4], 6
sete al
xor ecx, esp
call fcn.0046875c
add esp, 0x118
ret

Function at 0x4217c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x18
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
test eax, eax
je 0x421744
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
push ebx
push esi
push edi
push ecx
mov ecx, dword [esp + 0x10]
cdq
push ecx
push edx
push eax
call fcn.0046b540
push 0
push 0xf4240
push edx
push eax
call fcn.0046b490
mov edi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov esi, edx
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
call edi
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
call edi
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sbb eax, dword [esp + 0x20]
cmp eax, esi
jl 0x421720
jg 0x421741
cmp ecx, ebx
jb 0x421720
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
jmp 0x4216d0
Function at 0x4225b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x484fa1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x3c]
push 0x4f1164
mov dword [esp + 0x38], ebp
call fcn.00403e00
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
je 0x422762
push esi
call fcn.00456d48
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x422759
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x10]
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
add esi, eax
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42266f
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
push str._08x
push ecx
mov dword [esp + 0x40], 1
call fcn.00405230
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push str.StringFileInfo_
push eax
call fcn.004040f0
push 0x48cd58
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x58], 2
call fcn.00404010
add esp, 0x24
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4226e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42270f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00403ee0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00456d4d
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret
Function at 0x422780
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484fe1
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x830], eax
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x854]
push 0x200
lea eax, [esp + 0x444]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4227ee
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esp + 0x854], 0
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
test eax, eax
je 0x4228dc
lea ecx, [esp + 0x1c]
push ecx
call eax
cmp word [esp + 0x1c], 9
jne 0x4228dc
push ebp
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x48]
push str._sdrivers_s64.sys
push eax
call fcn.00421c80
add esp, 0x10
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
call esi
push eax
call edi
test eax, eax
je 0x422874
lea ecx, [esp + 0x14]
push ecx
call eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004225b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x850], 1
call fcn.00404670
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x84c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4228c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call esi
push eax
call edi
test eax, eax
je 0x422940
push ebp
call eax
jmp 0x422940
push ebp
lea ecx, [esp + 0x444]
push ecx
lea edx, [esp + 0x48]
push str._sdrivers_s.sys
push edx
call fcn.00421c80
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004225b0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x850], 2
call fcn.00404670
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x84c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4f1164
push 0x4f2f8c
lea ecx, [esp + 0x18]
call fcn.00410f70
mov esi, dword [esp + 0x10]
push esi
call fcn.004699f1
mov edi, eax
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x84c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.0046875c
add esp, 0x840
ret
Function at 0x4229c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [esi + 4], 0xffffffff
jne 0x4229db
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov edi, eax
neg edi
test edi, edi
jle 0x4229fb
mov ecx, dword [esi + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov dword [esi], edi
cmp dword [esi + 0x2c], 0
pop edi
jle 0x422a0c
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_PulseEvent]
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret

Function at 0x423bb0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebp, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov dword [esp + 0x10], eax
xor edi, edi
lea ebx, [esi + 8]
mov edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, 1
cmp dword [esi + 4], ecx
jne 0x423bee
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x24]
je 0x423c80
mov eax, dword [esi]
test eax, eax
je 0x423c06
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
jg 0x423c91
mov edx, dword [esi]
test edx, edx
jne 0x423c15
cmp dword [esi + 4], edx
je 0x423cc8
push ebx
call ebp
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
add edi, 1
cmp edi, 0xfa0
jl 0x423bd0
jmp 0x423c30
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edx, dword [esi]
test edx, edx
je 0x423c50
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
jg 0x423ca8
jmp 0x423c50
mov ecx, dword [esi]
test ecx, ecx
jne 0x423c5b
cmp dword [esi + 4], ecx
je 0x423cc8
lea edi, [esi + 0x2c]
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push ebx
call ebp
mov edx, dword [esi + 0x20]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
jmp 0x423c30
add dword [esi + 4], ecx
push ebx
mov dword [esi + 0x24], eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x14]
call fcn.00468cfe
mov dword [esp + 0x14], vtable.ReadWriteLockTLSRelease::ImplicitEscalationException.0
lea eax, [esp + 0x14]
jmp 0x423cbd
lea ecx, [esp + 0x20]
call fcn.00468cfe
mov dword [esp + 0x20], vtable.ReadWriteLockTLSRelease::ImplicitEscalationException.0
lea eax, [esp + 0x20]
push 0x4f9a08
push eax
call fcn.0046b446
mov ecx, dword [esp + 0x10]
add dword [esi + 4], 1
push ebx
mov dword [esi + 0x24], ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x425c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x140
push ebp
push esi
mov esi, dword [esp + 0x14c]
push edi
mov edi, dword [esp + 0x154]
lea eax, [esp + 0xc]
mov dword [esi], 0
push eax
mov ebp, ecx
mov byte [edi], 0
call fcn.00425b90
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x425c5e
cmp dword [esp + 0x18], 0
mov dword [esi], eax
setne cl
mov byte [edi], cl
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x140
ret 8
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
push ebx
xor ebx, ebx
cmp dword [eax + 8], ebx
jle 0x425d67
test ebx, ebx
jl 0x425d76
cmp ebx, dword [eax + 8]
jge 0x425d76
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + ebx*4]
call fcn.00425b90
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x425d52
movzx ecx, byte [ebp + 8]
cmp dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
jne 0x425ccb
movzx edx, byte [ebp + 9]
cmp dword [esp + 0x38], edx
jne 0x425ccb
movzx edx, byte [ebp + 0xa]
cmp dword [esp + 0x3c], edx
jne 0x425ccb
test ecx, ecx
setne dl
mov dword [esi], eax
mov byte [edi], dl
movzx edx, byte [ebp + 8]
cmp dword [esp + 0x74], edx
jne 0x425cf2
movzx edx, byte [ebp + 9]
cmp dword [esp + 0x78], edx
jne 0x425cf2
movzx edx, byte [ebp + 0xa]
cmp dword [esp + 0x7c], edx
jne 0x425cf2
test ecx, ecx
setne dl
mov dword [esi], eax
mov byte [edi], dl
movzx edx, byte [ebp + 8]
cmp dword [esp + 0xb4], edx
jne 0x425d22
movzx edx, byte [ebp + 9]
cmp dword [esp + 0xb8], edx
jne 0x425d22
movzx edx, byte [ebp + 0xa]
cmp dword [esp + 0xbc], edx
jne 0x425d22
test ecx, ecx
setne dl
mov dword [esi], eax
mov byte [edi], dl
movzx edx, byte [ebp + 8]
cmp dword [esp + 0xf4], edx
jne 0x425d52
movzx edx, byte [ebp + 9]
cmp dword [esp + 0xf8], edx
jne 0x425d52
movzx edx, byte [ebp + 0xa]
cmp dword [esp + 0xfc], edx
jne 0x425d52
mov dword [esi], eax
test ecx, ecx
setne al
mov byte [edi], al
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
add ebx, 1
cmp ebx, dword [eax + 8]
jl 0x425c73
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x140
ret 8
call fcn.0045d951
int3
Function at 0x428ba0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
push str.ATITool.RenderStallMutex
push 0
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov esi, eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.004256b0
fld qword [ebp + 8]
fld st(0)
fld qword [esp + 0x38]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
fld qword [ebp + 0x10]
fld qword [esp + 0x30]
jp 0x428c07
fld st(1)
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x428d08
cmp byte [ebp + 0x18], 0
jne 0x428ced
xor edx, edx
cmp dword [ebx + 0x12c], edx
sete dl
xor eax, eax
cmp dword [ebx + 0x128], eax
sete al
test eax, edx
je 0x428ced
jmp 0x428c33
fxch st(3)
fld st(2)
xor esi, esi
fsub st(4)
xor edi, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
call fcn.0046b8d0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jle 0x428c6b
fxch st(2)
lea esi, [edi + 0x10]
fcom st(3)
fnstsw ax
test ah, 5
jnp 0x428c65
mov esi, 0xfffffff0
mov dword [esp + 0x28], esi
fxch st(2)
fld st(0)
fsub st(2)
call fcn.0046b8d0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jle 0x428c95
fcom st(1)
mov edi, 0x10
fnstsw ax
test ah, 5
jnp 0x428c91
mov edi, 0xfffffff0
mov dword [esp + 0x24], edi
test esi, esi
jne 0x428c9d
test edi, edi
je 0x428ce9
fstp st(3)
push 0
fstp st(0)
sub esp, 0x10
fild dword [esp + 0x38]
mov ecx, ebx
faddp st(2)
fxch st(1)
fst qword [esp + 0x44]
fild dword [esp + 0x3c]
faddp st(2)
fxch st(1)
fst qword [esp + 0x4c]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00428aa0
push 0x19
call dword [sym.imp.KERNEL32.DLL_Sleep]
fld qword [esp + 0x30]
fld qword [esp + 0x38]
fld qword [ebp + 0x10]
fld qword [ebp + 8]
jmp 0x428c31
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x18]
fstp st(2)
push ecx
fstp st(1)
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fstp qword [esp]
call fcn.00428aa0
jmp 0x428d10
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
push esi
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42f0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, dword [esp + 0x14]
je 0x42f10d
cmp dword [edi], 2
jae 0x42f10d
pop edi
mov eax, 0x7a
pop esi
ret 0xc
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42f17c
cmp dword [esp + 0x14], 7
je 0x42f14b
pop edi
mov eax, 0xd
pop esi
ret 0xc
test esi, esi
mov ecx, dword [esp + 0x10]
je 0x42f176
test cl, 1
jne 0x42f141
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x42f141
cmp word [esi + eax*2 - 2], 0
jne 0x42f141
cmp eax, 1
jbe 0x42f176
cmp word [esi + eax*2 - 4], 0
jne 0x42f141
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x43c5b0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
push 0
push 0
push 1
mov dword [esi + 4], 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi + 0x28], eax
jne 0x43c611
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], str.Out_of_TLS_slots
call fcn.00468d0f
push 0x4fad2c
lea edx, [esp + 0xc]
push edx
call fcn.0046b446
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x440180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, ecx
call edi
mov ebx, eax
nop
mov ecx, dword [esi + 0x20]
push 0x7d30
call fcn.00422bf0
test al, 8
je 0x4401ac
call edi
sub eax, ebx
cmp eax, 0x7d0
jb 0x440190
pop edi
pop esi
pop ebx
ret
Function at 0x4409d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4faf70
push 0x46b2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x504a70]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
cmp byte [esi + 4], 0xff
jne 0x440a21
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, esi
call fcn.004407a0
mov dword [esi + 0x28], 0x21c
mov ecx, esi
call fcn.00440590
push 0x300000
push edi
push 0x7d30
mov ecx, dword [esi + 0x20]
call fcn.00422b60
movzx ebx, byte [ebp + 0x14]
lea eax, [ebx + 1]
shl eax, 0x10
or eax, 0x3100
push eax
push 0x7d64
mov ecx, dword [esi + 0x20]
call fcn.00422b90
movzx ecx, byte [ebp + 8]
or ecx, 0xffc00000
shl ecx, 9
push ecx
push 0x7d74
mov ecx, dword [esi + 0x20]
call fcn.00422b90
movzx edx, byte [ebp + 0xc]
or edx, 0xff800100
shl edx, 8
push edx
push 0x7d74
mov ecx, dword [esi + 0x20]
call fcn.00422b90
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jge 0x440ad3
mov eax, dword [ebp + 0x10]
movzx ecx, byte [edi + eax]
or ecx, 0xff800000
shl ecx, 8
lea edx, [edi + 2]
shl edx, 0x10
or ecx, edx
push ecx
push 0x7d74
mov ecx, dword [esi + 0x20]
call fcn.00422b90
add edi, 1
jmp 0x440aa1
push 1
push 1
push 0x7d30
mov ecx, dword [esi + 0x20]
call fcn.00422b60
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
mov dword [ebp + 0x14], eax
push 0x7d3c
mov ecx, dword [esi + 0x20]
call fcn.00422bf0
test al, 4
je 0x440b34
push 0x7d3c
mov ecx, dword [esi + 0x20]
call fcn.00422bf0
mov edi, 1
test eax, 0x1000
je 0x440b1d
xor edi, edi
test eax, 0x100
je 0x440b26
xor edi, edi
test al, 0x10
je 0x440b2c
xor edi, edi
test al, 0x20
je 0x440b40
xor edi, edi
jmp 0x440b40
call ebx
sub eax, dword [ebp + 0x14]
cmp eax, 0x3e8
jbe 0x440af1
push 2
push 0x7d30
mov ecx, dword [esi + 0x20]
call fcn.00422bb0
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
push 0x7d30
mov ecx, dword [esi + 0x20]
call fcn.00422bb0
test edi, edi
setne bl
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x504a70
call fcn.0046b9c0
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10