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

Disassembly:
push 0xffffffffffffffff
push 0x5b5bf2
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, esp
mov dword [esp + 0x1010], eax
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x14], esi
mov edi, edx
mov word [esi + 4], ax
push 0x1000
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1030], eax
push ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x1000
call fcn.00588eb0
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x42cd06
mov edi, dword [edi + 4]
jmp 0x42cd09
add edi, 4
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebx + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cd30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
call fcn.0040e1e0
mov eax, esi
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.005884bd
add esp, 0x1020
ret

Function at 0x42cd80
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5b664b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6aae20]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov ebx, ecx
xor edi, edi
push 0x200
lea ecx, [esp + 0x40]
push ebp
push ecx
mov dword [esp + 0x28], 0x200
call fcn.00588eb0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x50]
push eax
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x42ce6f
xor eax, eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ce22
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x24]
call fcn.0040e1e0
mov ecx, esi
push ecx
mov dword [esp + 0x250], ebp
call fcn.0040c8d0
mov dword [esp + 0x24c], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x42ce76
mov edx, dword [esp + 0x24]
push edx
call fcn.0044fb50
add esp, 4
jmp 0x42ce76
cmp eax, 0x103
je 0x42ce83
inc edi
cmp edi, 0x400
jl 0x42cdcc
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005884bd
add esp, 0x23c
ret 4
Function at 0x42de30
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad2d8
mov eax, dword fs:[0]
push eax
mov eax, 0x11f0
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 0
push 0x67eed6
lea ecx, [ebp - 0x1c]
call fcn.0043b3c0
mov dword [ebp - 4], 0
mov byte [ebp - 0x11b0], 0
push 0xfff
push 0
lea eax, [ebp - 0x11af]
push eax
call fcn.00588eb0
add esp, 0xc
lea eax, [ebp - 0x1ac]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42df3e
push 0x1000
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x42df38
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x42df38
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x11b4], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x11b8], eax
mov eax, dword [ebp - 0x11b4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043b470
lea ecx, [ebp - 0x1c]
call fcn.00439c30
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00589170
add esp, 8
mov byte [ebp - 0x15], 1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x11f9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00429ed0
mov al, byte [ebp - 0x11f9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret 4
Function at 0x42e530
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1010], 0
push 0x1000
push 0
lea eax, [ebp - 0x100f]
push eax
call fcn.00588eb0
add esp, 0xc
push 0x1000
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
mov ecx, dword [ebp - 8]
call fcn.0042e450
test eax, eax
je 0x42e5d4
mov dword [0x6ace14], 0
cmp dword [0x6b144c], 0
je 0x42e5cf
push 0x22
push 0x22
push 0x623e68
mov eax, dword [0x6b144c]
mov ecx, dword [eax]
mov edx, dword [0x6b144c]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x42e65d
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x42e65d
mov eax, dword [ebp - 0xc]
and eax, 0x40
je 0x42e62e
cmp dword [0x6b144c], 0
je 0x42e622
push 0x22
push 0x22
push 0x623e50
mov eax, dword [0x6b144c]
mov ecx, dword [eax]
mov edx, dword [0x6b144c]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [0x6ace14], 1
jmp 0x42e65d
cmp dword [0x6b144c], 0
je 0x42e653
push 0x22
push 0x22
push 0x623e34
mov eax, dword [0x6b144c]
mov ecx, dword [eax]
mov edx, dword [0x6b144c]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [0x6ace14], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret 4
Function at 0x42fba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 0x1008], 0
push 0xfff
push 0
lea eax, [ebp - 0x1007]
push eax
call fcn.00588eb0
add esp, 0xc
mov ecx, dword [ebp - 8]
add ecx, 0x26c
call fcn.00411070
push eax
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push 0x67eed6
push str.StartingShotTaskIsComplete
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1008]
push eax
push str.COMPLETE
call fcn.005892a0
add esp, 8
test eax, eax
jne 0x42fc2b
mov eax, 1
jmp 0x42fc2d
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret
Function at 0x42fcb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad41b
mov eax, dword fs:[0]
push eax
mov eax, 0x3080
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 0x41
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x21], 0x41
jmp 0x42fd05
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movsx eax, byte [ebp - 0x21]
cmp eax, 0x5a
jg 0x42fdd3
mov byte [ebp - 0x1024], 0
push 0xfff
push 0
lea eax, [ebp - 0x1023]
push eax
call fcn.00588eb0
add esp, 0xc
mov byte [ebp - 0x2024], 0
push 0xfff
push 0
lea eax, [ebp - 0x2023]
push eax
call fcn.00588eb0
add esp, 0xc
movsx eax, byte [ebp - 0x21]
push eax
push str._c:_
lea ecx, [ebp - 0x2024]
push ecx
call fcn.0058906d
add esp, 0xc
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x2028], eax
cmp dword [ebp - 0x2028], 3
je 0x42fd86
jmp 0x42fcfd
lea eax, [ebp - 0x2024]
push eax
call fcn.0050a300
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x202c]
ja 0x42fdce
jb 0x42fdb6
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x2030]
jae 0x42fdce
mov al, byte [ebp - 0x21]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x2030]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x202c]
mov dword [ebp - 0x1c], ecx
jmp 0x42fcfd
mov byte [ebp - 0x3030], 0
push 0xfff
push 0
lea eax, [ebp - 0x302f]
push eax
call fcn.00588eb0
add esp, 0xc
movsx eax, byte [ebp - 0x15]
push eax
push 0x62418c
lea ecx, [ebp - 0x3030]
push ecx
call fcn.0058906d
add esp, 0xc
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.00411540
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.0040c0c0
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.0040c0c0
sub eax, 1
push eax
lea eax, [ebp - 0x304c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.0040c100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x304c]
push eax
push 0x624118
call fcn.0040fb90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42fe89
push 0x624118
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.0040cc80
push str.FFXIV20230906
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
call fcn.0040cc80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304c]
call fcn.004116c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret
Function at 0x4371e0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x437220
push 0
push 0x623ee4
push 0x624f54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00506ff0
jmp 0x4372ea
lea eax, [ebp - 0x14]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x437277
push 0
push 0x623ee4
push 0x624f54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00506ff0
push 0
push 0
push 0x3c
push 0x624f2c
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4372ab
push 0
push 0x623ee4
push 0x624f54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00506ff0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4372ea
push 0
push 0x623ee4
push 0x624f54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00506ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4379f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x26c
call fcn.00411070
test eax, eax
jne 0x437a15
or eax, 0xffffffff
jmp 0x437a60
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x26c
call fcn.00411070
push eax
call fcn.0058a900
add esp, 8
test eax, eax
jne 0x437a5d
mov ecx, dword [ebp - 4]
add ecx, 0x26c
call fcn.00411070
push eax
push 0
push str.StartingShotCloseSelection
push str.StartingShotTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x437a60
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2064], 0
mov byte [ebp - 0x1008], 0
push 0xfff
push 0
lea eax, [ebp - 0x1007]
push eax
call fcn.00588eb0
add esp, 0xc
mov byte [ebp - 0x2008], 0
push 0xfff
push 0
lea eax, [ebp - 0x2007]
push eax
call fcn.00588eb0
add esp, 0xc
mov dword [ebp - 0x200c], 0
mov dword [ebp - 0x2010], 0
mov dword [ebp - 0x2014], 0
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x200c], 0
je 0x438c91
mov dword [ebp - 0x2020], 0
mov eax, dword [ebp - 0x200c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x2018], eax
mov eax, dword [ebp - 0x2018]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x201c], eax
mov eax, dword [ebp - 0x201c]
push eax
mov ecx, dword [ebp - 0x200c]
push ecx
mov edx, dword [ebp - 0x2010]
push edx
lea eax, [ebp - 0x1008]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x2020]
push eax
lea ecx, [ebp - 0x2014]
push ecx
push 0x624118
mov edx, dword [ebp - 0x201c]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str._d._d._d._d
lea eax, [ebp - 0x2008]
push eax
call fcn.0058906d
add esp, 0x18
lea eax, [ebp - 0x2008]
push eax
mov ecx, dword [ebp + 8]
call fcn.00410e00
mov ecx, dword [ebp - 0x2064]
or ecx, 1
mov dword [ebp - 0x2064], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret 4
Function at 0x43b370
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43bd30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43dfa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae333
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x67eed6
mov ecx, dword [ebp - 0x10]
call fcn.0043b3c0
mov dword [ebp - 4], 0
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0043b3c0
mov byte [ebp - 4], 1
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0043b3c0
mov byte [ebp - 4], 2
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0043b3c0
mov byte [ebp - 4], 3
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0043b3c0
mov byte [ebp - 4], 4
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0043b3c0
mov byte [ebp - 4], 5
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0043b3c0
mov byte [ebp - 4], 6
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0043b3c0
mov byte [ebp - 4], 7
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0043b3c0
mov byte [ebp - 4], 8
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0043b3c0
mov byte [ebp - 4], 9
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0043b3c0
mov byte [ebp - 4], 0xa
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0043b3c0
mov byte [ebp - 4], 0xb
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0043b3c0
mov byte [ebp - 4], 0xc
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0043b3c0
mov byte [ebp - 4], 0xd
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0043b3c0
mov byte [ebp - 4], 0xe
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0043b3c0
mov byte [ebp - 4], 0xf
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0043b3c0
mov byte [ebp - 4], 0x10
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b3c0
mov byte [ebp - 4], 0x11
push 0x67eed6
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0043b3c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e480
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae221
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x48
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x2c]
call fcn.00439ed0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
lea ecx, [ebp - 0x2c]
call fcn.00439fa0
mov eax, dword [ebp - 0x14]
add eax, 0x48
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00440ae0
mov ecx, dword [ebp - 0x70]
or ecx, 1
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00439f40
mov eax, dword [ebp + 8]
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 0x43e760
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae333
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0043b390
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0043b390
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0043b390
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0043b390
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0043b390
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0043b390
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0043b390
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0043b390
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0043b390
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0043b390
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0043b390
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0043b390
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0043b390
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 8]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0043b390
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0043b390
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0043b390
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0043b390
mov byte [ebp - 4], 0x10
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b390
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 8]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0043b390
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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 0x4412e0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x441302
xor eax, eax
jmp 0x441381
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x44134b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x441381
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x441375
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x441373
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x441381
jmp 0x44134b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4