joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a9c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e5b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00470125
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00475897
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00476def
test eax, eax
je 0x43aadc
mov ecx, dword [esp + 0x3c]
call fcn.004758c4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43aaa0
push edi
mov ecx, esi
call fcn.00472e83
mov ecx, esi
call fcn.0043ac40
cmp dword [esp + 0x38], 1
jne 0x43aad5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00472fed
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43d500
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d533
push esi
call fcn.00440600
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d52c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43d5b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d5a2
mov eax, dword [esi + 8]
test eax, eax
je 0x43d557
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43d59e
cmp eax, 2
je 0x43d5a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d54a
cmp eax, 3
je 0x43d57d
cmp eax, 1
jne 0x43d54a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43d54a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d54a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d5e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d5c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d5e0
add esp, 4
pop esi
ret

Function at 0x470f1a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x470f52
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046efd1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046efa9
jmp 0x470f5e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47260c
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 0x47264e
call fcn.004782f6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47264e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x472645
xor eax, eax
jmp 0x472656
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047265c
pop edi
pop esi
pop ebx
ret 4

Function at 0x478826
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x478854
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x478872
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047878c
jmp 0x478872
mov eax, dword [esi + 0x14]
test eax, eax
je 0x478872
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047878c
test edi, edi
mov eax, edi
jne 0x47885c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6adb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x76d628
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x28], 0
mov dword [esi], 0x6a115c
call fcn.007553d1
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x14], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8

Function at 0x6adfd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x76d696
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x69d098
or edi, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 0x69d078
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], 0x69d088
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 1
call fcn.006cff20
mov eax, dword [esp + 0x24]
mov dword [esi + 0x28], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
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 + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x84], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x6b4fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x774741
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
lea ecx, [esp + 0x50]
call fcn.006b4e40
mov eax, dword [esp + 0xd8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], ebx
call fcn.006b4cf0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.006b2d10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.006aff00
mov dword [esp + 0xc], 0x6a0f10
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0xdc], 2
call fcn.006af5b0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x6a0f10
jb 0x6b5083
mov eax, dword [esp + 0x14]
push eax
call fcn.00755e35
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x6b50a7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00755e35
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xd0], 0xffffffff
call fcn.006af1f0
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x6a1144
call fcn.007558b7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc8
ret 4
Function at 0x6b7a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x76e208
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], 0x69d7b0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov eax, 0x69d224
mov dword [esp + 0x74], ebx
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6b7a91
sub eax, esi
push eax
push 0x69d224
lea ecx, [esp + 0x58]
call fcn.006b0570
mov edi, 0x6a0f10
mov dword [esp + 0x4c], edi
mov eax, 0x69d1f8
mov byte [esp + 0x74], 1
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6b7ad0
sub eax, esi
push eax
push 0x69d1f8
lea ecx, [esp + 0x38]
call fcn.006b0570
mov dword [esp + 0x2c], edi
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x84], 2
call fcn.006b6f80
mov esi, 0x10
add esp, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0x6b7b2c
mov eax, dword [esp + 0x34]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x74], bl
mov dword [esp + 0x4c], edi
cmp dword [esp + 0x68], esi
jb 0x6b7b57
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00755e35
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x6b7b7b
lea ecx, [esp + 0x14]
call fcn.006aece0
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x68
ret
call fcn.006b7820
mov dword [eax], 0x74b800
mov dword [eax + 4], fcn.0074b7b0
mov dword [eax + 8], fcn.0074c300
mov dword [eax + 0xc], 0x74c6a0
mov dword [eax + 0x10], 0x74ce40
mov dword [eax + 0x14], fcn.0074ae00
mov dword [eax + 0x18], 0x74db10
mov dword [eax + 0x1c], 0x74ade0
mov dword [eax + 0x20], fcn.0074b9d0
mov dword [eax + 0x24], 0x74adf0
mov dword [eax + 0x28], 0x74cc10
mov dword [eax + 0x2c], 0x74b0e0
mov dword [eax + 0x30], 0x74b4f0
mov dword [eax + 0x34], 0x74a7e0
mov dword [eax + 0x38], 0x74a3d0
mov byte [eax + 0x3c], 1
call fcn.0074a330
lea ecx, [esp + 0x14]
call fcn.006aece0
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x68
ret
Function at 0x6b8110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x774741
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
lea ecx, [esp + 0x50]
call fcn.006b4e40
mov eax, dword [esp + 0xd8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], ebx
call fcn.006b7fc0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.006b2d10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.006aff00
mov dword [esp + 0xc], 0x6a0f10
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0xdc], 2
call fcn.006af5b0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x6a0f10
jb 0x6b81d3
mov eax, dword [esp + 0x14]
push eax
call fcn.00755e35
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x6b81f7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00755e35
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xd0], 0xffffffff
call fcn.006af1f0
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x6a1144
call fcn.007558b7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc8
ret 4
Function at 0x6c0700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x76eabb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.006c0020
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x6c0744
push eax
call fcn.00755e35
add esp, 4
mov eax, dword [esi + 0x24]
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x6c23d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x76edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x9c]
cmp eax, 0x3d0
jbe 0x6c25dd
call edi
mov edi, dword [esi + 0x28]
add edi, 0x4c8
mov dword [esi + 0x9c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
mov dword [esp + 0x18], edi
call edx
mov dword [esp + 0x68], 0
call fcn.006b7910
mov dword [esp + 0x14], eax
add esi, 0xa0
mov dword [esp + 0x1c], 2
mov ecx, esi
call fcn.006cfc50
test al, al
je 0x6c25be
mov eax, dword [esi + 8]
push eax
call fcn.006cfe00
add esp, 4
test al, al
je 0x6c2563
mov ecx, esi
call fcn.006cfda0
test eax, eax
je 0x6c25ba
cmp eax, 0xffffffff
jne 0x6c24a1
call fcn.006ad030
mov eax, dword [eax + 0x1ac]
call eax
test eax, eax
je 0x6c25ba
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
add edi, 8
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
call fcn.006be380
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x6c24e0
cmp eax, ebp
je 0x6c24e5
call fcn.007564b6
cmp dword [esp + 0x28], ebx
je 0x6c24fa
lea ecx, [esp + 0x24]
call fcn.006b6ae0
mov eax, dword [esp + 0x24]
jmp 0x6c24d8
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.006b7480
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
push 0x6ca480
mov ecx, esi
call eax
test al, al
je 0x6c254f
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
call fcn.006c04c0
mov eax, dword [esi + 8]
push eax
call fcn.006cfe00
add esp, 4
test al, al
jne 0x6c2478
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
add edi, 8
push edx
mov ecx, edi
call fcn.006c0860
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push esi
push 0x6ca480
mov ecx, esi
call edx
test al, al
je 0x6c25ba
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.006c04c0
mov edi, dword [esp + 0x18]
add esi, 0x14
sub dword [esp + 0x1c], 1
jne 0x6c2455
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
mov dword [esp + 0x68], 0xffffffff
call edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cb7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7701b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, ecx
call fcn.006f3790
push edi
lea ecx, [esp + 0x10]
call fcn.006f3070
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.006f3360
mov eax, dword [esi + 0x18]
test eax, eax
je 0x6cb856
cmp dword [esi + 0x1c], 0x10
jb 0x6cb84b
mov ecx, dword [esi + 8]
jmp 0x6cb84e
lea ecx, [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.007158a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.007562ca
add esp, 0x30
ret 0x10
Function at 0x6d28f0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x7705f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x695568]
mov ecx, dword [0x695564]
push eax
push ecx
mov ecx, esi
call fcn.006f6080
cmp dword [0x695554], 0
je 0x6d2966
push 0x10
push 0xc
mov ecx, esi
call fcn.006f6150
mov ecx, dword [0x695554]
mov edx, dword [ecx]
mov dword [eax + 4], edx
movzx edx, word [ecx + 4]
mov word [eax + 8], dx
movzx edx, word [ecx + 6]
mov word [eax + 0xa], dx
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [0x695550]
test eax, eax
je 0x6d29b3
push eax
lea ecx, [esp + 0x20]
call fcn.006b2240
lea edx, [esp + 0x1c]
push edx
push 8
mov ecx, esi
mov dword [esp + 0x6c], 0
call fcn.006f6280
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x1c], 0x6a0f10
jb 0x6d29b3
mov eax, dword [esp + 0x24]
push eax
call fcn.00755e35
add esp, 4
push 8
push 9
mov ecx, esi
call fcn.006f6150
movzx ecx, word [0x695558]
mov word [eax + 4], cx
movzx edx, word [0x69555a]
mov word [eax + 6], dx
movzx ecx, word [0x69555c]
mov word [eax + 8], cx
movzx edx, word [0x69555e]
push 8
push 0x102
mov ecx, esi
mov word [eax + 0xa], dx
call fcn.006f6150
push 4
add eax, 4
push 0x108
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.006f6150
push 4
add eax, 4
push 0xa
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.006f6150
mov edi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.006f8670
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov dword [esp + 0x68], 1
call fcn.006f70e0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00703a20
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov ax, word [esp + 0x18]
add ecx, 0xffffffc4
shl edx, 6
or edx, dword [esp + 0x16]
shl ecx, 4
or ecx, dword [esp + 0xe]
shr ax, 1
shl edx, 5
or dx, ax
shl ecx, 5
or ecx, dword [esp + 0x12]
movzx eax, dx
mov word [edi + 4], cx
mov word [edi + 6], ax
test byte [0x69554c], 4
je 0x6d2aa7
push 4
push 0x104
mov ecx, esi
call fcn.006f6150
add eax, 4
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x5c
ret
Function at 0x6d34d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7706e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0xf
push eax
mov byte [ecx + 4], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 1
call fcn.006aff00
mov ecx, dword [esp + 0x44]
mov dword [esi], 0x6a0f10
mov dword [esi + 0x20], ecx
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0x6a0f10
jb 0x6d3550
mov edx, dword [esp + 0x2c]
push edx
call fcn.00755e35
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x6d8110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x770cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, ecx
push eax
lea ecx, [esp + 0x54]
call fcn.006f3070
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], 0
mov ebx, 0x10
test eax, eax
je 0x6d817f
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x6d8177
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call fcn.006f4140
mov byte [esp + 0x7c], 1
test eax, eax
je 0x6d819d
lea esi, [eax + 4]
jmp 0x6d819f
xor esi, esi
push 1
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.006f4140
mov byte [esp + 0x7c], 2
test eax, eax
je 0x6d81bb
lea ecx, [eax + 4]
jmp 0x6d81bd
xor ecx, ecx
mov edx, dword [esi + 0x14]
cmp dword [esi + 0x18], ebx
jb 0x6d81ca
mov eax, dword [esi + 4]
jmp 0x6d81cd
lea eax, [esi + 4]
push edx
mov edx, dword [ecx + 0x14]
push eax
push edx
push 0
call fcn.006b8fe0
test eax, eax
lea ecx, [esp + 0x10]
sete bl
mov byte [esp + 0x7c], 1
call fcn.007158a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.007158a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], 0xffffffff
call fcn.007158a0
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.007562ca
add esp, 0x70
ret 4

Function at 0x6dc2b0
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x770618
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
test esi, esi
je 0x6dc3aa
mov ebp, dword [esp + 0x48]
cmp dword [ebp + 0x18], 0
je 0x6dc3aa
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push esi
call ebx
test eax, eax
jne 0x6dc3aa
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x6dc3aa
mov edi, dword [esi + 0x3c]
push 0xf8
add edi, esi
push edi
call ebx
test eax, eax
jne 0x6dc3aa
cmp dword [edi], 0x4550
jne 0x6dc3aa
mov edi, dword [edi + 0x80]
test edi, edi
je 0x6dc3b2
mov eax, dword [edi + esi + 0xc]
add edi, esi
mov dword [esp + 0x44], edi
test eax, eax
je 0x6dc39d
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.006b2240
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], 0
call fcn.006dbc60
test eax, eax
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x3c], 0xffffffff
call fcn.006d1790
test bl, bl
je 0x6dc38f
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
call fcn.006dc270
mov eax, dword [edi + 0x20]
add edi, 0x14
mov dword [esp + 0x44], edi
test eax, eax
jne 0x6dc347
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x18], 0
setne al
jmp 0x6dc3b4
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc