joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ad149
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 1
jle 0x470376
mov edi, eax
lea ebx, [esp + 0x14]
call fcn.004718e0
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push 0xffffffffffffffff
push ebp
xor ebx, ebx
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 1
jle 0x47033e
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov edx, dword [esi]
cmp edx, ebx
jne 0x470317
mov ebp, dword [esp + 0x2c]
xor eax, eax
push eax
push edx
mov eax, ebp
call fcn.0040b13c
jmp 0x470342
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x470320
mov ebp, dword [esp + 0x2c]
sub eax, edi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b13c
jmp 0x470342
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x470360
xor edi, edi
call fcn.004719d0
push esi
call fcn.00573401
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x470820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad259
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
mov dword [esp + 0x18], ebp
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x44], ebx
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp esi, 0xffffffff
jne 0x4708a7
call fcn.00572321
jmp 0x4708af
cmp esi, 0x7ffffffe
jbe 0x4708b8
call fcn.00572321
mov eax, dword [esp + 0x34]
cmp eax, esi
jae 0x4708ed
mov edx, dword [esp + 0x30]
push edx
push esi
lea eax, [esp + 0x24]
push eax
call fcn.0040cbe9
mov eax, dword [esp + 0x34]
cmp esi, ebx
jbe 0x47094a
cmp esi, 1
jne 0x47090d
cmp eax, 8
mov eax, dword [esp + 0x20]
jae 0x4708e6
lea eax, [esp + 0x20]
xor edx, edx
mov word [eax], dx
jmp 0x470931
cmp esi, ebx
jne 0x4708d2
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
jae 0x470906
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax], cx
jmp 0x47094f
mov edi, dword [esp + 0x20]
cmp eax, 8
jae 0x47091a
lea edi, [esp + 0x20]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
jae 0x470944
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax + esi*2], cx
mov edi, 8
mov dword [esp + 0x44], 2
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x470965
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x34]
push ecx
push 0xffffffffffffffff
push edx
push eax
call fcn.00574bba
mov esi, eax
add esp, 0x14
cmp esi, ebx
jle 0x4709a4
cmp esi, dword [esp + 0x30]
jbe 0x470990
call fcn.005741fa
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x47099e
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax + esi*2], cx
cmp dword [esp + 0x34], edi
jb 0x4709b8
mov eax, dword [esp + 0x20]
mov edx, eax
cmp eax, ebx
jne 0x4709bc
xor eax, eax
jmp 0x4709d0
lea edx, [esp + 0x20]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4709c1
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b13c
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], edi
jb 0x4709f0
mov edx, dword [esp + 0x20]
push edx
call fcn.00573401
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0057340c
add esp, 0x34
ret
Function at 0x470b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ad199
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], ebx
mov edx, dword [0x6d50f8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x6d50f8
mov dword [esp + 0x24], ebp
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x60]
push ebx
cdq
push 2
push edx
push eax
mov dword [esp + 0x30], 1
call fcn.00578b70
mov esi, eax
add esi, 1
adc edx, ebx
mov eax, esi
add eax, 0x80000000
adc edx, ebx
mov dword [esp + 0x1c], edx
jne 0x470c08
cmp eax, 0xffffffff
jbe 0x470c12
push 0x80004005
call fcn.00402d73
cmp esi, ebx
jle 0x470d5c
lea edi, [esi + 1]
mov eax, 0xf
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp edi, 0xffffffff
jne 0x470c3a
call fcn.00572321
jmp 0x470c3f
cmp edi, 0xfffffffe
jbe 0x470c48
call fcn.00572321
mov eax, dword [esp + 0x40]
cmp eax, edi
jae 0x470c79
mov ecx, dword [esp + 0x3c]
push ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0040cabe
mov eax, dword [esp + 0x40]
cmp edi, ebx
jbe 0x470cc4
cmp edi, 1
jne 0x470c96
cmp eax, 0x10
mov eax, dword [esp + 0x2c]
jae 0x470c75
lea eax, [esp + 0x2c]
mov byte [eax], bl
jmp 0x470cae
cmp edi, ebx
jne 0x470c61
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
jae 0x470c92
lea eax, [esp + 0x2c]
mov byte [eax], bl
jmp 0x470cc9
cmp eax, 0x10
mov eax, dword [esp + 0x2c]
jae 0x470ca3
lea eax, [esp + 0x2c]
push edi
push ebx
push eax
call fcn.005780d0
add esp, 0xc
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edi
jae 0x470cc1
lea eax, [esp + 0x2c]
mov byte [eax + edi], bl
mov edi, 0x10
mov dword [esp + 0x50], 2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp dword [esp + 0x40], edi
jae 0x470ce3
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
call fcn.0041beb6
add esp, 4
test eax, eax
je 0x470d35
mov esi, dword [esp + 0x18]
cmp esi, ebx
jl 0x470d35
cmp esi, dword [esp + 0x3c]
jbe 0x470d0f
call fcn.005741fa
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x470d1d
lea eax, [esp + 0x2c]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x470d2e
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00408491
mov byte [esp + 0x50], bl
cmp dword [esp + 0x40], edi
jb 0x470d4c
mov eax, dword [esp + 0x2c]
push eax
call fcn.00573401
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov eax, ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0057340c
add esp, 0x40
ret
Function at 0x471a30
Capabilities:
Get token privileges

Disassembly:
push 0xffffffffffffffff
push 0x5a787b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x471a73
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x471b7f
push 0xc
call fcn.00573487
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 1
cmp esi, ebx
je 0x471aec
push 0x1000
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.00576288
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp ecx, 0x1000
jae 0x471ae3
mov edx, 0x1000
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.005780d0
add esp, 0xc
mov dword [esi + 4], 0x1000
jmp 0x471aee
xor esi, esi
mov byte [esp + 0x24], bl
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 2
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push eax
push edi
push 3
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x471b52
xor eax, eax
cmp dword [edi], ebx
jbe 0x471b3e
lea ecx, [edi + 0xc]
jmp 0x471b30
mov dword [ecx], 2
inc eax
add ecx, 0xc
cmp eax, dword [edi]
jb 0x471b30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x471b7f
cmp dword [esi + 4], ebx
je 0x471b72
mov eax, dword [esi]
push ebx
push eax
call fcn.00576288
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push esi
call fcn.00573401
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x471b96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x471bb0
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ad149
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x24], esi
mov edi, 0x400
lea ebx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.004718e0
mov dword [esp + 0x24], 2
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push 1
push ecx
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x471c5e
mov edx, dword [esi]
cmp edx, ebx
jne 0x471c41
xor eax, eax
jmp 0x471c55
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x471c46
sub eax, edi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b13c
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x471c7c
xor edi, edi
call fcn.004719d0
push esi
call fcn.00573401
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x472240
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5afdf2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 1
mov eax, 0x68a99c
test eax, 0xffff0000
jne 0x4722b6
mov ecx, eax
movzx esi, cx
push esi
call fcn.00402e88
add esp, 4
cmp eax, ebx
je 0x4722c5
push esi
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0040cd79
jmp 0x4722c5
push ebx
push 0x68a99c
lea eax, [esp + 0x18]
call fcn.0040b13c
mov dword [esp + 0x20], 2
lea ebp, [edi + 0xc]
lea eax, [esp + 0x10]
mov ecx, ebp
call fcn.00471f70
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4722ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp byte [edi + 8], 0
jne 0x472338
mov eax, dword [edi]
push ebp
push eax
mov byte [edi + 8], 1
call ebx
mov esi, eax
mov eax, dword [edi + 0x260]
cmp esi, eax
je 0x47232d
cmp eax, 0xffffffff
je 0x47232d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x260], esi
cmp esi, 0xffffffff
jmp 0x47234d
mov eax, dword [edi + 0x260]
cmp eax, 0xffffffff
je 0x472365
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x472365
lea esi, [edi + 0x38]
call fcn.00481e00
test al, al
jne 0x472305
lea eax, [edi + 4]
mov ecx, ebp
call fcn.00471f70
mov esi, dword [esp + 0x28]
push ebp
push esi
call fcn.004723a0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x472430
Capabilities:
Compare security identifiers

Disassembly:
push 0xffffffffffffffff
push 0x5a56e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebx], esi
je 0x4724f8
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x472480
push eax
call edi
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x4724e5
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4724e5
cmp dword [esp + 0xc], esi
je 0x4724e5
mov ecx, dword [ebx]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4724e5
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4724cf
push eax
call edi
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4724f8
push eax
call edi
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x4726c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x4726d4
cmp dword [esi + 0x30], 0x40
jbe 0x4727d8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x4727dd
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4727dd
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x4727d8
ja 0x47271f
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x4727d8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x4727dd
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x4727dd
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x472755
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x472771
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x472788
mov ecx, 0x20b
cmp ax, cx
jne 0x47278b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x4727dd
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x4727dd
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x4727d8
ja 0x4727c6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x4727d8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x472a00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0x24]
push ebx
push esi
mov ecx, eax
push edi
mov edi, dword [eax + 0x28]
movzx eax, word [eax + 0x14]
lea esi, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
xor eax, eax
test ecx, ecx
jbe 0x472a38
lea ecx, [ecx]
mov edx, dword [esi + 0xc]
cmp edi, edx
jb 0x472a30
mov ebx, dword [esi + 8]
add ebx, edx
cmp edi, ebx
jb 0x472a40
inc eax
add esi, 0x28
cmp eax, ecx
jb 0x472a20
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, esi
lea edx, [eax + 1]
jmp 0x472a50
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472a50
sub eax, edx
push eax
mov eax, dword [esp + 0x18]
push esi
call fcn.0040b032
mov eax, dword [esp + 0x18]
mov edx, edi
sub edx, dword [esi + 0xc]
mov dword [eax], edx
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sub ecx, edi
add ecx, dword [esi + 0xc]
mov dword [edx], ecx
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0xc]
add eax, edi
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x472a90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [eax + 0x24]
movzx edx, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
lea eax, [edx + ecx + 0x18]
xor edx, edx
test esi, esi
jbe 0x472abf
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x472ab7
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x472ac1
inc edx
add eax, 0x28
cmp edx, esi
jb 0x472aa7
xor eax, eax
pop esi
pop ebx
ret

Function at 0x472ad0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [eax + 0x24]
movzx ecx, word [eax + 0x14]
push ebx
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x472aff
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x472af7
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x472b04
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x472ae7
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, edi
pop ebx
ret

Function at 0x472b10
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ebx + 0x24]
movzx ecx, word [eax + 0x14]
push ebp
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x472b3f
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x472b37
mov ebp, dword [ecx + 8]
add ebp, eax
cmp edi, ebp
jb 0x472b44
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x472b27
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [ebx + 0x28]
pop ebp
add eax, edi
ret
Function at 0x472ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b3281
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 1
cmp eax, ebx
jbe 0x472ff3
cmp eax, 1
jne 0x472fb2
test esi, esi
jns 0x472f94
lea eax, [esp + 0x14]
push ebp
push eax
mov ecx, esi
call fcn.00472c30
add esp, 8
mov dword [esp + 0x20], 2
call fcn.00408450
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x472fe7
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00472e10
add esp, 4
mov dword [esp + 0x20], 4
call fcn.00408450
jmp 0x472fcf
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.00472c30
add esp, 8
mov dword [esp + 0x20], 6
call fcn.00408450
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x472ff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x473010
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b6958
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], 0
cmp ecx, 0x64
ja 0x473142
mov eax, dword [edx]
cmp eax, 0x4e20
jg 0x473142
inc eax
mov dword [edx], eax
mov eax, dword [ebp + 4]
test eax, eax
jns 0x473093
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [ebp]
push edx
push ecx
and eax, 0x7fffffff
push edi
add eax, edi
push eax
mov ecx, ebx
call fcn.00473160
jmp 0x473144
mov esi, dword [ebp]
push edi
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.00472ef0
add esp, 0xc
mov dword [esp + 0x20], 0
mov ebp, dword [ebp + 4]
add ebp, edi
je 0x473131
mov edi, dword [ebp]
call fcn.00472b10
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push 0x68bc88
push ecx
mov edi, eax
call fcn.004135e5
mov byte [esp + 0x28], 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
push ecx
mov esi, eax
call fcn.00413593
add esp, 0x10
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 4]
push edx
push ecx
push edi
push eax
call dword [esp + 0x48]
mov bl, al
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x34]
call fcn.0040842d
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x2c]
call fcn.0040842d
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0040842d
mov al, bl
jmp 0x473144
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0040842d
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18