joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405820
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x4058cc
mov eax, dword [0x433268]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x405882
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x405882
mov ecx, dword [esp + 0xc]
push str.Cmaudio
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x433264]
test eax, eax
jne 0x4058c6
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionControl_PanelCpls
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4058c6
mov ecx, dword [esp + 0xc]
push str.Cmcpls
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00405a00
pop ebp
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4058eb
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x10]
mov edi, 1
test eax, eax
jne 0x4058ff
push str.Driver_installation_failed._nPlease_check_High_Definition_Audio_Device_and_Reboot_System
jmp 0x405928
mov ecx, dword [esi + 0x7c]
push 0
push 0xb4
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esi + 0x5c], edi
push str.Complete_Driver_Installation..__n_nSystem_Need_to_Reboot_Now__
lea ecx, [esi + 0x9c]
call fcn.0041c5c4
push 0
push 0x3ea
mov ecx, esi
mov dword [esi + 0xa8], edi
call fcn.0042082f
mov ecx, eax
call fcn.004209ef
push 5
push edi
mov ecx, esi
call fcn.0042082f
mov ecx, eax
call fcn.004209ef
push 0
mov ecx, esi
call fcn.0041febe
mov eax, edi
pop edi
pop esi
pop ecx
ret 4

Function at 0x405bc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
mov esi, 7
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
dec eax
je 0x405c40
dec eax
jne 0x405c88
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x405c09
mov esi, 4
cmp eax, 5
jne 0x405c88
mov eax, dword [esp + 0x10]
mov esi, 6
test eax, eax
jne 0x405c2b
mov esi, 5
pop edi
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 1
jne 0x405c88
mov esi, 6
pop edi
mov eax, esi
pop esi
add esp, 0x94
ret
cmp dword [esp + 0xc], 4
jne 0x405c88
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x405c5c
xor esi, esi
pop edi
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0xa
jne 0x405c7e
mov al, byte [esp + 0x1d]
mov esi, 1
cmp al, 0x41
jne 0x405c88
mov esi, 2
pop edi
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0x5a
jne 0x405c88
mov esi, 3
mov eax, esi
pop edi
pop esi
add esp, 0x94
ret
Function at 0x413bd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x436cf0
cmp edx, dword [eax]
je 0x413bfb
add eax, 8
inc ecx
cmp eax, 0x436d80
jl 0x413bec
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x436cf0]
jne 0x413d29
mov eax, dword [0x439cb4]
cmp eax, 1
je 0x413d03
test eax, eax
jne 0x413c2c
cmp dword [0x4347c4], 1
je 0x413d03
cmp edx, 0xfc
je 0x413d29
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413c63
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004149d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040f0f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x413ca6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f0f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c124
push edi
call fcn.0040ddc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004149d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004149e0
lea eax, [ebp - 0xa0]
push 0x42c104
push eax
call fcn.004149e0
push dword [esi + 0x436cf4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004149e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00415ab5
add esp, 0x2c
pop edi
jmp 0x413d29
lea eax, [ebp + 8]
lea esi, [esi + 0x436cf4]
push 0
push eax
push dword [esi]
call fcn.0040f0f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41adf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040f2e0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41aebb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41aebb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41ae6e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41ae79
or bh, 8
and edi, 0x8000000
je 0x41ae94
mov eax, dword [0x43b45c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41aebb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41b2bb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41b2df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41b2fa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42012f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x420171
call fcn.0042489c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x420171
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x420168
xor eax, eax
jmp 0x420179
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042017f
pop edi
pop esi
pop ebx
ret 4

Function at 0x424da6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x424dc3
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x424dbe
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x424da8
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x424db0
cmp edx, ebx
jne 0x424efe
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x424d7f
add eax, dword [eax + 4]
jmp 0x424d6c
mov dword [ebp + 0xc], ebx
jmp 0x424dce

Function at 0x4255f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004246ed
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
invalid
movsd dword es:[edi], dword [esi]
xchg ebp, eax
Function at 0x40c380
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629ce0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [0x6ac16c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x40c3cd
mov dword [esi + 8], 0
jmp 0x40c3d1
test eax, eax
jne 0x40c3da
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov edi, dword [ebx + 0x25c]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x40c463
mov ecx, dword [edi + 0x20]
mov eax, ecx
or eax, dword [edi + 0x24]
jne 0x40c3fd
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov byte [ebp - 0xd], 0
je 0x40c401
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 8]
cdq
mov ebx, eax
mov eax, edx
mov esi, ebx
mov dword [ebp + 8], eax
add esi, ecx
mov ecx, eax
mov dword [edi + 0x20], esi
adc ecx, dword [edi + 0x24]
add dword [edi + 0x30], ebx
mov dword [edi + 0x24], ecx
adc dword [edi + 0x34], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
mov esi, dword [esi + 8]
mov eax, dword [ebp + 8]
add dword [esi + 0x24], ebx
adc dword [esi + 0x28], eax
add dword [esi + 0x34], ebx
adc dword [esi + 0x38], eax
call edi
cmp byte [ebp - 0xd], 0
mov dword [esi + 0x44], eax
jne 0x40c463
mov ecx, dword [ebp - 0x18]
push 1
push 0
add ecx, 0x3fe
push 0xf4240
call fcn.005d79f0
mov ecx, dword [0x6ac16c]
call fcn.005e0810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629d00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [0x6ac16c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x40c4dc
mov dword [esi + 8], 0
jmp 0x40c4e0
test eax, eax
jne 0x40c4e9
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov esi, dword [ebx + 0x25c]
test esi, esi
je 0x40c563
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
jne 0x40c507
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
mov byte [ebp - 0xd], 0
je 0x40c50b
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 8]
cdq
mov ebx, eax
mov eax, edx
add dword [esi + 0x28], ebx
mov dword [ebp + 8], eax
adc dword [esi + 0x2c], eax
add dword [esi + 0x38], ebx
adc dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40], eax
mov esi, dword [esi + 8]
mov eax, dword [ebp + 8]
add dword [esi + 0x2c], ebx
adc dword [esi + 0x30], eax
add dword [esi + 0x3c], ebx
adc dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebp - 0xd], 0
mov dword [esi + 0x44], eax
jne 0x40c563
mov ecx, dword [ebp - 0x14]
push 1
push 0
add ecx, 0x3fe
push 0xf4240
call fcn.005d79f0
mov ecx, dword [0x6ac16c]
call fcn.005e0810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423a80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b835
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov esi, dword [0x6ac16c]
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 1
cmp byte [0x6ac39e], 0
je 0x423af2
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x6ac1b8]
cmp eax, 0xfa0
jl 0x423b13
call ebx
mov ebx, dword [ebp - 0x14]
mov dword [0x6ac1b8], eax
mov dword [ebp - 0x24], 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x423b31
mov dword [esi + 8], 0
jmp 0x423b35
lea ecx, [ebp - 0x20]
call fcn.0041d9b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x423b46
inc dword [esi + 0xc]
mov edi, 1
inc dword [esi + 8]
inc dword [esi + 4]
mov dword [ebp - 0x1c], edi
inc dword [0x6a6d54]
mov byte [ebp - 4], 3
mov ecx, dword [0x6a6d5c]
mov eax, dword [0x6a6db2]
add eax, ecx
push ecx
mov dword [ebp - 0x14], eax
mov ecx, 0x6a6d8d
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00424520
mov ecx, dword [0x6a6d5c]
mov ebx, dword [0x6a6d60]
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 1]
mov dword [0x6a6d5c], eax
test eax, eax
jns 0x423b95
mov dword [0x6a6d5c], 0
cmp ecx, dword [0x6a6db7]
jl 0x423be8
push 0x6a6db2
mov ecx, 0x6a6d8d
call fcn.00423d20
inc dword [0x6a6db2]
add dword [0x6a6d5c], 0xffffffff
jns 0x423bc5
mov dword [0x6a6d5c], 0
mov eax, dword [ebp - 0x14]
dec eax
cmp ebx, eax
je 0x423bf0
mov eax, 1
mov dword [ebp - 4], 2
test ebx, ebx
cmove ebx, eax
lea eax, [ebx - 1]
mov dword [0x6a6d60], eax
jmp 0x423c12
lea eax, [ecx - 1]
cmp ebx, eax
cmove ebx, ecx
mov dword [0x6a6d60], ebx
mov dword [ebp - 4], 2
jmp 0x423c12
dec dword [0x6a6d54]
xor edx, edx
lea ecx, [edx + 5]
call fcn.004d4500
test edi, edi
jg 0x423c2f
cmp dword [0x6ac6c4], 0
jne 0x423c3a
dec edi
mov ecx, esi
mov dword [ebp - 0x1c], edi
call fcn.005e0810
lea ecx, [ebp - 0x20]
call fcn.0041d9b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424980
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b900
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x424a25
lock inc dword [eax]
jmp 0x424a27
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x424a36
lock inc dword [eax]
jmp 0x424a38
xor eax, eax
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x424a47
lock inc dword [eax]
jmp 0x424a49
xor eax, eax
mov dword [edi + 0x50], eax
mov ecx, edi
movups xmm0, xmmword [esi + 0x54]
sub ecx, dword [ebp + 8]
lea eax, [esi + 0x64]
mov esi, 4
mov dword [ebp + 8], ecx
movups xmmword [edi + 0x54], xmm0
sub edi, eax
add edi, 0x64
mov dword [ebp - 0x10], edi
nop dword [eax]
mov ecx, dword [eax]
lea eax, [eax + 0x10]
mov edx, dword [eax - 0xc]
mov dword [edi + eax - 0x10], ecx
mov dword [edi + eax - 0xc], edx
mov edi, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [eax + edi - 8], ecx
mov ecx, edi
mov edi, dword [ebp - 0x10]
mov dword [eax + ecx - 4], edx
sub esi, 1
jne 0x424a70
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x426bb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bb6d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x6ac39e], 0
mov edi, dword [ebp + 8]
je 0x426c00
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6ac1d4]
cmp eax, 0xfa0
jl 0x426c37
call esi
mov dword [0x6ac1d4], eax
push edi
call fcn.00427b20
mov ebx, eax
mov edi, dword [0x6ac16c]
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x10], 0
push 0xffffffffffffffff
mov dword [ebp - 4], 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x426c4e
mov dword [edi + 8], esi
jmp 0x426c52
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, eax
jne 0x426c63
inc dword [edi + 0xc]
mov esi, 1
inc dword [edi + 8]
inc dword [edi + 4]
mov dword [ebp - 0x14], esi
push 0xfffffffffffffffe
call fcn.00426db0
test esi, esi
jg 0x426c77
cmp dword [0x6ac6c4], 0
jne 0x426c82
dec esi
mov ecx, edi
mov dword [ebp - 0x14], esi
call fcn.005e0810
lea ecx, [ebp - 0x18]
call fcn.0041d9b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bb6d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x6ac39e], 0
mov edi, dword [ebp + 0xc]
je 0x426cf0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6ac1d4]
cmp eax, 0xfa0
jl 0x426d35
call esi
mov dword [0x6ac1d4], eax
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.00427f70
mov bl, al
test bl, bl
je 0x426d95
mov edi, dword [0x6ac16c]
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x10], 0
push 0xffffffffffffffff
mov dword [ebp - 4], 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x426d4c
mov dword [edi + 8], esi
jmp 0x426d50
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jne 0x426d61
inc dword [edi + 0xc]
mov esi, 1
inc dword [edi + 8]
inc dword [edi + 4]
mov dword [ebp - 0x14], esi
push 1
lea eax, [ebp + 0x14]
mov ecx, 0x6ac7cd
push eax
lea eax, [ebp + 8]
push eax
call fcn.00429d00
test esi, esi
jg 0x426d82
cmp dword [0x6ac6c4], 0
jne 0x426d8d
dec esi
mov ecx, edi
mov dword [ebp - 0x14], esi
call fcn.005e0810
lea ecx, [ebp - 0x18]
call fcn.0041d9b0
movzx eax, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ab60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [0x6af2bc]
push esi
nop
mov ecx, dword [0x6af2b8]
nop
mov eax, 1
shl eax, cl
test edx, eax
jne 0x42abb4
cmp byte [0x6ac39e], 0
je 0x42abad
mov esi, dword [0x6ac1e4]
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0xfa0
jl 0x42abb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6ac1e4
xchg dword [ecx], eax
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [0x6af2bc]
push esi
nop
mov ecx, dword [0x6af2b8]
nop
mov eax, 1
shl eax, cl
test edx, eax
jne 0x42ad9f
cmp byte [0x6ac39e], 0
je 0x42ad5d
mov esi, dword [0x6ac1e4]
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0xfa0
jl 0x42ad9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6ac1e4
xchg dword [ecx], eax
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, esp
test eax, eax
je 0x42ad70
lock inc dword [eax]
jmp 0x42ad72
xor eax, eax
push dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
call fcn.0042adc0
mov ecx, dword [ebp + 0x10]
mov esi, eax
test ecx, ecx
je 0x42ad98
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jne 0x42ad98
push ecx
call fcn.005a47b0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42adb6
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jne 0x42adb6
push ecx
call fcn.005a47b0
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret