joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40454d
Capabilities:
Create directory

Disassembly:
mov eax, 0x452aaf
call fcn.00452450
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00406a5f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x404592
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x404585
mov al, 1
jmp 0x404675
call ebx
cmp eax, 0xb7
je 0x404626
test edi, edi
je 0x404626
lea ecx, [ebp - 0x18]
call fcn.00401f28
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00406b68
test al, al
je 0x404619
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4045ce
mov bl, 1
jmp 0x404614
call ebx
cmp eax, 0xb7
je 0x4045db
xor bl, bl
jmp 0x404614
lea ecx, [ebp - 0x50]
call fcn.00404fed
lea ecx, [ebp - 0x28]
call fcn.00401f28
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040508d
test al, al
jne 0x404602
xor bl, bl
jmp 0x40460b
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.004026ee
pop ecx
push dword [ebp - 0x18]
jmp 0x40466d
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.004026ee
pop ecx
call ebx
cmp eax, 0xb7
je 0x404633
xor al, al
jmp 0x404675
lea ecx, [ebp - 0x88]
call fcn.00404fed
lea ecx, [ebp - 0x60]
call fcn.00401f28
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.0040508d
test al, al
jne 0x404661
xor bl, bl
jmp 0x40466a
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.004026ee
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404684
Capabilities:
Delete file

Disassembly:
mov eax, 0x452ac4
call fcn.00452450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00405010
cmp eax, 0xffffffff
je 0x4046b8
test al, 0x10
jne 0x4046b8
test al, 1
je 0x4046b8
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.0040409b
test al, al
je 0x404719
mov ecx, edi
call fcn.00406a5f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x4046d7
push edi
call esi
test eax, eax
je 0x4046d7
mov al, 1
jmp 0x40471b
test ebx, ebx
je 0x404719
lea ecx, [ebp - 0x18]
call fcn.00401f28
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00406b68
test al, al
push dword [ebp - 0x18]
je 0x404713
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.004026ee
test esi, esi
pop ecx
setne al
jmp 0x40471b
call fcn.004026ee
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x452b7c
call fcn.00452450
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00406a5f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x40503c
push edi
call esi
cmp eax, 0xffffffff
jne 0x40507e
test ebx, ebx
je 0x40507b
lea ecx, [ebp - 0x18]
call fcn.00401f28
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00406b68
test al, al
push dword [ebp - 0x18]
je 0x405075
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.004026ee
pop ecx
mov eax, esi
jmp 0x40507e
call fcn.004026ee
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405728
Capabilities:
Get disk information

Disassembly:
mov eax, 0x452c34
call fcn.00452450
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00412891
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x4057e8
lea eax, [ebx + ebx]
push eax
call fcn.004026c7
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x4057e1
cmp edi, ebx
ja 0x4057e1
lea ecx, [ebp - 0x2c]
call fcn.00401f28
xor eax, eax
xor ebx, ebx
cmp edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
jbe 0x4057c9
push 2
pop edi
cmp word [esi + edi - 2], 0
jne 0x4057be
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040201d
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00403380
mov eax, edi
inc ebx
inc edi
inc edi
cmp ebx, dword [ebp - 0x10]
jb 0x405794
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.004026ee
push esi
call fcn.004026ee
cmp dword [ebp - 0x14], edi
pop ecx
pop ecx
sete al
jmp 0x4057ea
push esi
call fcn.004026ee
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4058cb
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
push esi
je 0x4058ec
cmp byte [ecx + 5], 0
je 0x4058ec
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
jmp 0x40592b
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40590d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40590d
xor al, al
jmp 0x40592d
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004524b0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x40755f
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x452d4c
call fcn.00452450
sub esp, 0x84
push ebx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi]
cmp eax, esi
je 0x40758b
push eax
call ebx
test eax, eax
je 0x40758b
mov dword [edi], esi
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00401f6c
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.00407672
push 0x20
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00407657
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401e90
push dword [ebp - 0x40]
call fcn.004026ee
push dword [ebp - 0x4c]
call fcn.004026ee
push dword [ebp - 0x24]
call fcn.004026ee
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x90], 0x44
mov dword [ebp - 0x8c], esi
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x88], esi
push dword [ebp + 0x10]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x64], esi
mov word [ebp - 0x5e], si
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407631
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x40763b
push dword [ebp - 0x30]
call ebx
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
push dword [ebp - 0x18]
call fcn.004026ee
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x407ecf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
push 0x2001f
mov dword [ebp - 0xc], ecx
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push dword [ecx]
lea ecx, [ebp - 4]
call fcn.00407e74
cmp eax, esi
jne 0x407f66
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 8], 0x105
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x407f53
lea eax, [ebp - 0x220]
lea ecx, [ebp - 4]
push eax
call fcn.00407ecf
cmp eax, esi
jne 0x407f66
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x105
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push dword [ebp - 4]
jmp 0x407f1b
lea ecx, [ebp - 4]
call fcn.00407ea9
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.00407ec0
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00407ea9
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x407fa8
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x407fd2
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x40fca9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x453776
call fcn.00452450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0040fd4f
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040b668
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40fcb5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x453776
call fcn.00452450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0040fd4f
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040b668
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x411507
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateDecoder
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 8], edi
mov ebx, dword [ecx + eax*4 - 4]
push dword [ebx + 0xc]
call esi
push str.CreateEncoder
mov dword [ebx + 0x24], eax
push dword [ebx + 0xc]
call esi
push str.GetMethodProperty
mov dword [ebx + 0x28], eax
push dword [ebx + 0xc]
call esi
test eax, eax
mov dword [ebx + 0x20], eax
je 0x411617
push str.GetNumberOfMethods
mov dword [ebp - 0xc], 1
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x411577
lea ecx, [ebp - 0xc]
push ecx
call eax
test eax, eax
jne 0x411671
and dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
jbe 0x411617
jmp 0x41158a
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 4]
dec eax
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 3
mov dword [ebp - 0x34], edx
call fcn.00411676
test eax, eax
jne 0x411671
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call fcn.00411676
test eax, eax
jne 0x411671
mov eax, dword [ebp - 8]
push 0xb
pop ecx
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x40]
mov ecx, esi
call fcn.00412cac
mov edi, dword [esi + 4]
mov eax, dword [ebp - 8]
imul edi, edi, 0x2c
add edi, dword [esi]
push 0xb
pop ecx
lea esi, [ebp - 0x64]
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
inc dword [eax + 4]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x411587
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 8]
push str.GetHashers
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x41166f
add ebx, 0x30
push ebx
call eax
test eax, eax
jne 0x411671
mov ebx, dword [ebx]
test ebx, ebx
je 0x41166f
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
test eax, eax
jbe 0x41166f
lea esi, [edi + 0x4c]
mov ebx, dword [edi + 0x10]
mov ecx, esi
dec ebx
call fcn.00412cf7
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc dword [esi + 4]
inc eax
cmp eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jb 0x411649
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411d22
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x453ab9
call fcn.00452450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 2
call fcn.00410316
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00410316
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00412804
push dword [esi + 0xc]
call fcn.004026ee
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x412961
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x453c43
call fcn.00452450
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.00401f28
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x412a87
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x453c85
call fcn.00452450
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00401faf
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00412b74
mov eax, dword [esi + 0x24]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], eax
mov al, byte [esi + 0x28]
mov byte [ebx + 0x28], al
mov al, byte [esi + 0x29]
mov byte [ebx + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00412c1f
lea eax, [esi + 0x3c]
lea ecx, [ebx + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403271
mov eax, dword [esi + 0x48]
add esi, 0x50
mov dword [ebx + 0x48], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x50]
mov dword [ebx + 0x4c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41996a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4543c1
call fcn.00452450
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00401faf
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00401faf
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00401faf
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00401faf
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41a730
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x45448c
call fcn.00452450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x45c838
mov dword [esi + 4], 0x45c824
mov dword [esi + 8], 0x45b994
mov dword [esi + 0xc], 0x45c808
mov dword [esi + 0x10], 0x45c7f4
mov dword [esi + 0x14], 0x45c7e4
mov dword [esi + 0x18], 0x45b984
mov dword [esi + 0x1c], 0x45b974
mov dword [esi + 0x20], 0x45c7dc
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00401f28
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00401f28
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
mov byte [esi + 0x9e], bl
mov byte [esi + 0x9f], bl
mov byte [esi + 0xa0], bl
mov byte [esi + 0xa1], bl
mov dword [esi + 0xa4], ebx
mov dword [esi], 0x45c7b0
mov dword [esi + 4], 0x45c79c
mov dword [esi + 8], 0x45c784
mov dword [esi + 0xc], 0x45c768
mov dword [esi + 0x10], 0x45c754
mov dword [esi + 0x14], 0x45c744
mov dword [esi + 0x18], 0x45c734
mov dword [esi + 0x1c], 0x45c724
mov dword [esi + 0x20], 0x45c71c
call fcn.0040b668
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41a73c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x45448c
call fcn.00452450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x45c838
mov dword [esi + 4], 0x45c824
mov dword [esi + 8], 0x45b994
mov dword [esi + 0xc], 0x45c808
mov dword [esi + 0x10], 0x45c7f4
mov dword [esi + 0x14], 0x45c7e4
mov dword [esi + 0x18], 0x45b984
mov dword [esi + 0x1c], 0x45b974
mov dword [esi + 0x20], 0x45c7dc
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00401f28
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00401f28
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
mov byte [esi + 0x9e], bl
mov byte [esi + 0x9f], bl
mov byte [esi + 0xa0], bl
mov byte [esi + 0xa1], bl
mov dword [esi + 0xa4], ebx
mov dword [esi], 0x45c7b0
mov dword [esi + 4], 0x45c79c
mov dword [esi + 8], 0x45c784
mov dword [esi + 0xc], 0x45c768
mov dword [esi + 0x10], 0x45c754
mov dword [esi + 0x14], 0x45c744
mov dword [esi + 0x18], 0x45c734
mov dword [esi + 0x1c], 0x45c724
mov dword [esi + 0x20], 0x45c71c
call fcn.0040b668
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret