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

Disassembly:
mov eax, 0x8bbe52
call fcn.00879bb8
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, 0x449716
push ebp
mov ebx, 0x4c252c
push ebx
mov esi, ecx
push 0x31
push 8
lea eax, [esi + 0xd3]
push eax
mov dword [esp + 0x24], esi
call fcn.0087b2f0
push ebp
push ebx
push 0x31
push 8
lea eax, [esi + 0x25b]
xor edi, edi
push eax
mov dword [esp + 0x30], edi
call fcn.0087b2f0
push 0x65e859
push 0x65e853
push 6
push 4
lea eax, [esi + 0x3e3]
push eax
mov byte [esp + 0x30], 1
call fcn.0087b2f0
push 0x1f
pop edx
push 0x64
pop ebx
lea eax, [esi + 0x3fb]
push 0x18
mov ebp, 0x8ecb0c
pop ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], ebp
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea eax, [esi + 0x413]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], ebp
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea eax, [esi + 0x42b]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], 0x8ed504
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea eax, [esi + 0x443]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], 0x8ed500
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea eax, [esi + 0x45b]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], 0x8ed4fc
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea eax, [esi + 0x477]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x8ed4f8
lea eax, [esi + 0x48b]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x8ed4f4
lea eax, [esi + 0x49f]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x8ed4f0
lea eax, [esi + 0x50f]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], 0x8ed4ec
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
lea ecx, [esi + 0x533]
push ebx
mov byte [esp + 0x20], 0xb
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edi
mov dword [ecx], 0x8ed1bc
call fcn.004bbc85
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x672bdb
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push edi
mov edi, dword [esp + 0xc]
push 0x969f80
push edi
call esi
push 0x969f68
push edi
mov dword [0x97bc30], eax
call esi
push 0x969f54
push edi
mov dword [0x97bc34], eax
call esi
push 0x969f40
push edi
mov dword [0x97bc38], eax
call esi
push 0x969f30
push edi
mov dword [0x97bc3c], eax
call esi
pop edi
mov dword [0x97bc40], eax
mov eax, 0x97bc30
pop esi
cmp dword [eax], 0
je 0x672c42
add eax, 4
cmp eax, 0x97bc44
jb 0x672c2f
push 1
pop eax
ret
xor eax, eax
ret
Function at 0x673257
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, edx
shr eax, 4
mov esi, ebx
mov ecx, 0xf0f0f0f
and eax, ecx
and esi, ecx
xor eax, esi
xor ebx, eax
shl eax, 4
xor edx, eax
mov eax, ebx
shr eax, 4
mov esi, edx
mov ecx, 0x1010101
and esi, ecx
and eax, ecx
xor eax, esi
xor edx, eax
shl eax, 4
xor ebx, eax
mov ecx, ebx
shr ecx, 9
mov eax, 0x550055
and ecx, eax
mov esi, ebx
and esi, eax
xor ecx, esi
mov esi, ecx
shl esi, 9
xor esi, ecx
xor ebx, esi
mov ecx, edx
shr ecx, 9
and ecx, eax
mov esi, edx
and esi, eax
xor ecx, esi
mov eax, ecx
shl eax, 9
xor eax, ecx
xor edx, eax
mov eax, 0x3333
mov ecx, ebx
shr ecx, 0x12
and ecx, eax
mov esi, ebx
and esi, eax
xor ecx, esi
mov esi, ecx
shl esi, 0x12
xor esi, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, eax
xor ebx, esi
mov esi, edx
and esi, eax
xor ecx, esi
mov eax, ecx
shl eax, 0x12
xor eax, ecx
xor edx, eax
xor eax, eax
mov dword [ebp + 0xc], edx
mov al, byte [ebp + 0xe]
mov ecx, edx
and ecx, 0xff
mov dword [ebp - 4], 0x10
xor eax, ecx
mov ecx, eax
shl ecx, 0x10
xor ecx, eax
mov eax, dword [ebp + 0x10]
xor edx, ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 1
mov eax, 0xfffffff
and ebx, eax
and edx, eax
test word [ebp + 0x10], 0x7efc
mov eax, ebx
je 0x67334e
shl eax, 0x1a
shr ebx, 2
or ebx, eax
mov eax, edx
shl eax, 0x1a
shr edx, 2
jmp 0x67335c
shl eax, 0x1b
shr ebx, 1
or ebx, eax
mov eax, edx
shl eax, 0x1b
shr edx, 1
or edx, eax
xor ecx, ecx
mov eax, ebx
shr eax, 0x10
movzx esi, al
mov cl, bl
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov edi, ecx
and edi, 0xc0
mov ecx, eax
shr ecx, 5
or edi, ecx
shr edi, 2
mov ecx, ebx
shr ecx, 0x18
and ecx, 0xe
or edi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, esi
and esi, 0x40
shr edi, 5
and edi, 4
or edi, esi
shr edi, 1
shr eax, 1
and ecx, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x8edba8]
or ecx, dword [edi*4 + 0x8edaa8]
and eax, 0x3f
or ecx, dword [eax*4 + 0x8ed9a8]
mov eax, dword [ebp - 0x10]
and eax, 0x3f
or ecx, dword [eax*4 + 0x8ed8a8]
mov eax, edx
shr eax, 0x10
movzx esi, al
mov dword [ebp - 0xc], esi
and esi, 0xc0
movzx edi, dl
mov dword [ebp - 0x10], edi
shr edi, 4
and edi, 8
or edi, esi
mov eax, edx
shr eax, 8
movzx eax, al
shr edi, 2
mov esi, edx
shr esi, 0x18
and esi, 0xd
or edi, esi
mov esi, eax
shr esi, 6
and esi, 2
and eax, 0x3d
or esi, eax
mov eax, dword [edi*4 + 0x8edfa8]
or eax, dword [esi*4 + 0x8edda8]
mov esi, dword [ebp - 0x10]
and esi, 0x3f
or eax, dword [esi*4 + 0x8edca8]
mov esi, dword [ebp - 0xc]
and esi, 0x3f
or eax, dword [esi*4 + 0x8edea8]
mov esi, ecx
mov edi, eax
and esi, 0xffff
shl edi, 0x10
or edi, esi
mov esi, dword [ebp + 0xc]
mov dword [esi], edi
add esi, 4
and eax, 0xffff0000
shr ecx, 0x10
shl dword [ebp + 0x10], 1
or eax, ecx
mov dword [esi], eax
add esi, 4
dec dword [ebp - 4]
mov dword [ebp + 0xc], esi
jne 0x673329
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x6734d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xb8]
test ecx, ecx
lea edx, [edi + 0xb0]
lea esi, [edi + 0xa8]
je 0x673564
push 8
pop ebx
sub ebx, ecx
cmp ebx, dword [ebp + 0x10]
jbe 0x6734fe
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jbe 0x673532
lea eax, [ecx + esi]
sub edx, esi
add ecx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
mov cl, byte [ecx]
inc dword [ebp + 0xc]
mov byte [edx + eax], cl
mov bl, byte [eax]
xor bl, cl
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
dec dword [ebp + 0x10]
inc eax
dec dword [ebp - 4]
mov byte [ecx], bl
jne 0x67350f
mov ecx, dword [ebp - 8]
cmp ecx, 8
jne 0x673554
mov ecx, dword [edi + 0xb0]
and dword [edi + 0xb8], 0
lea eax, [edi + 0xb0]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x67355a
mov dword [edi + 0xb8], ecx
cmp dword [ebp + 0x10], 0
je 0x67366f
mov ecx, dword [edi + 0xbc]
mov ebx, dword [esi]
mov eax, dword [edi + 0xc0]
mov dword [ebp - 4], ecx
xor edx, edx
xor ecx, ecx
cmp dword [ebp + 0x10], edx
mov dword [ebp - 0x20], ebx
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
je 0x673619
jmp 0x673590
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x67359d
dec dword [ebp - 4]
jne 0x6735b4
mov dword [ebp - 4], eax
lea eax, [edi + 0x24]
push eax
push ebx
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00673676
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x6735dc
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
push 7
mov dword [ebp - 0x18], ebx
shr dword [ebp - 0x18], 0x19
pop ecx
mov edx, ebx
call fcn.0087b490
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov eax, dword [ebp - 0x14]
or eax, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 8
jb 0x673613
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x20], ecx
xor ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov edx, ebx
xor edx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
sub dword [ebp + 0x10], 8
mov dword [ebp + 8], eax
jne 0x67358d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x673633
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x67366f
mov dword [esi], ecx
xor ecx, ecx
test eax, eax
mov dword [esi + 4], edx
jbe 0x673669
lea ecx, [edi + 0xb0]
sub ecx, esi
mov edx, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
inc dword [ebp + 0xc]
mov byte [esi + ecx], al
mov bl, byte [esi]
xor bl, al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
inc esi
dec edx
mov byte [eax], bl
jne 0x67364b
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0xb8], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x673676
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 4
push dword [esp + 0x1c]
call fcn.0087a024
mov edi, dword [esp + 0x1c]
mov ecx, edi
xor ecx, eax
and ecx, 0xf0f0f0f
xor edi, ecx
xor ecx, eax
push 0xc
push ecx
call fcn.0087a024
mov ecx, edi
xor ecx, eax
and ecx, 0xffff0000
xor edi, ecx
xor ecx, eax
push 0x12
push ecx
call fcn.0087a024
mov ecx, edi
xor ecx, eax
and ecx, 0x33333333
xor edi, ecx
xor ecx, eax
push 0x16
push ecx
call fcn.0087a024
mov ecx, edi
xor ecx, eax
and ecx, 0xff00ff00
xor edi, ecx
xor ecx, eax
push 9
push ecx
call fcn.0087a024
mov esi, edi
xor esi, eax
and esi, 0x55555555
mov ecx, esi
xor ecx, eax
push 2
push ecx
call fcn.0087a35a
push 1
xor esi, edi
push esi
mov dword [esp + 0x54], eax
call fcn.0087a35a
add esp, 0x38
mov esi, eax
mov dword [esp + 0x14], 8
mov edi, 0x3f3f3f3f
mov ebx, dword [ebp]
push 4
xor ebx, esi
push esi
and ebx, edi
add ebp, 4
call fcn.0087a024
xor eax, dword [ebp]
add ebp, 4
and eax, edi
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x8ee7a8]
or ecx, dword [edx*4 + 0x8ee5a8]
mov edx, eax
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee3a8]
mov edx, ebx
shr edx, 0x18
or ecx, dword [edx*4 + 0x8ee6a8]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee4a8]
mov edx, ebx
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee2a8]
movzx eax, al
or ecx, dword [eax*4 + 0x8ee1a8]
xor eax, eax
mov al, bl
mov ebx, dword [ebp]
push 4
add ebp, 4
or ecx, dword [eax*4 + 0x8ee0a8]
xor dword [esp + 0x28], ecx
xor ebx, dword [esp + 0x28]
push dword [esp + 0x28]
and ebx, edi
call fcn.0087a024
xor eax, dword [ebp]
add esp, 0x10
and eax, edi
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x8ee7a8]
or ecx, dword [edx*4 + 0x8ee5a8]
mov edx, eax
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee3a8]
mov edx, ebx
shr edx, 0x18
or ecx, dword [edx*4 + 0x8ee6a8]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee4a8]
mov edx, ebx
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0x8ee2a8]
movzx eax, al
or ecx, dword [eax*4 + 0x8ee1a8]
xor eax, eax
mov al, bl
add ebp, 4
or ecx, dword [eax*4 + 0x8ee0a8]
xor esi, ecx
dec dword [esp + 0x14]
jne 0x67371b
push 1
push dword [esp + 0x20]
call fcn.0087a024
push 2
push esi
mov edi, eax
call fcn.0087a024
mov ecx, eax
xor ecx, edi
and ecx, 0x55555555
xor edi, ecx
xor ecx, eax
push 9
push ecx
call fcn.0087a35a
mov ecx, eax
xor ecx, edi
and ecx, 0xff00ff00
xor edi, ecx
xor ecx, eax
push 0x16
push ecx
call fcn.0087a35a
mov ecx, eax
xor ecx, edi
and ecx, 0x33333333
xor edi, ecx
xor ecx, eax
push 0x12
push ecx
call fcn.0087a35a
mov ecx, eax
xor ecx, edi
and ecx, 0xffff0000
xor edi, ecx
xor ecx, eax
push 0xc
push ecx
call fcn.0087a35a
mov esi, eax
xor esi, edi
and esi, 0xf0f0f0f
mov ecx, esi
xor ecx, eax
push 4
push ecx
call fcn.0087a35a
add esp, 0x38
xor esi, edi
pop edi
xor ecx, ecx
mov edx, eax
or ecx, esi
pop esi
xor eax, eax
pop ebp
or edx, eax
mov eax, ecx
pop ebx
ret 0xc
Function at 0x67447b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push ebx
push esi
push edi
push 0x96a5ec
mov ebx, ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
jne 0x6744a4
xor eax, eax
jmp 0x674601
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x96a5dc
push edi
call esi
test eax, eax
mov dword [ebx + 0x12c], eax
je 0x67449d
push 0x96a5d0
push edi
call esi
test eax, eax
mov dword [ebx + 0x130], eax
je 0x67449d
push 0x96a5c4
push edi
call esi
test eax, eax
mov dword [ebx + 0x134], eax
je 0x67449d
push 0x96a5ac
push edi
call esi
test eax, eax
mov dword [ebx + 0x138], eax
je 0x67449d
push 0x96a598
push edi
call esi
test eax, eax
mov dword [ebx + 0x13c], eax
je 0x67449d
push 0x96a584
push edi
call esi
test eax, eax
mov dword [ebx + 0x140], eax
je 0x67449d
push 0x96a570
push edi
call esi
push 0x96a55c
push edi
mov dword [ebx + 0x144], eax
call esi
push 0x24
mov dword [ebx + 0x148], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x98], 0x94
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x674567
call dword [0x97b38c]
jmp 0x67456d
call dword [0x97b390]
mov dword [ebx + 0x128], eax
mov al, byte [0x978474]
mov byte [ebp - 0x19c], al
push pe_nt_image_headers32
pop ecx
xor eax, eax
lea edi, [ebp - 0x19b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x19c]
push eax
push 0
call dword [fcn.0097b384]
lea eax, [ebp + eax - 0x19d]
lea ecx, [ebp - 0x19c]
cmp eax, ecx
jb 0x6745c2
mov cl, byte [eax]
cmp cl, 0x2f
je 0x6745c2
cmp cl, 0x5c
je 0x6745c2
dec eax
jmp 0x6745a9
and byte [eax + 1], 0
push 1
lea eax, [ebp - 0x19c]
push eax
push dword [ebx + 0x128]
call dword [ebx + 0x12c]
test eax, eax
je 0x67449d
push 0x96a54c
push dword [ebp - 4]
call esi
test eax, eax
je 0x6745f5
push 0x17
call eax
xor eax, eax
cmp dword [ebp - 0x88], 2
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x674f56
Capabilities:
Initialize winsock library

Disassembly:
mov ecx, 0x97bb98
jmp 0x674f50
sub esp, 0x190
push esi
mov esi, ecx
mov dword [esi], 0
lea eax, [esp + 4]
push eax
push 2
call dword [sym.imp.ws2_32.dll_WSAStartup]
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x679ee7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x8bcc07
call fcn.00879bb8
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp esi, dword [ebx + 4]
jg 0x67a076
push edi
push 0x67a08c
push 0x67a086
push 2
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0087b2f0
mov eax, dword [ebx]
mov edi, dword [eax + esi*4]
mov esi, dword [eax + edi]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push eax
lea eax, [esi + 1]
push eax
call fcn.0067a0b3
lea eax, [ebp + 0xb]
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.0067a0b3
lea eax, [ebp + 0xb]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0067a0b3
mov eax, dword [ebx]
lea eax, [eax + esi*2 + 4]
mov eax, dword [eax + edi]
mov dword [ebp - 0x34], eax
xor eax, eax
test esi, esi
jle 0x679f87
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x3c]
add ecx, edi
mov cl, byte [ecx + eax + 4]
mov byte [eax + edx], cl
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x38]
add ecx, esi
add ecx, edi
mov cl, byte [ecx + eax + 4]
mov byte [eax + edx], cl
inc eax
cmp eax, esi
jl 0x679f64
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ecx, esi
shr ecx, 2
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], 0xbaadf00d
mov dword [ebp - 0x24], ecx
je 0x679ffb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
push 5
push ebx
call fcn.0087a36a
mov ecx, dword [ebp - 0x1c]
xor eax, edi
xor edi, dword [ebp - 0x10]
push 5
push edi
mov dword [ecx], eax
call fcn.0087a034
add dword [ebp - 0x14], 4
add dword [ebp - 0x18], 4
add dword [ebp - 0x1c], 4
add eax, ebx
add esp, 0x10
dec dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jne 0x679fb8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edi, ecx
shl edi, 2
mov ecx, esi
sub ecx, edi
je 0x67a044
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
add edi, edx
sub ebx, edx
sub dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
movzx ecx, byte [edi]
movzx eax, byte [ebx + edi]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
xor cl, al
xor eax, dword [ebp - 0x10]
push 5
push eax
mov byte [edx + edi], cl
call fcn.0087a034
add eax, dword [ebp - 0x30]
pop ecx
inc edi
dec dword [ebp - 0x20]
pop ecx
mov dword [ebp - 0x10], eax
jne 0x67a019
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], eax
pop edi
jne 0x67a058
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
and byte [eax + esi], 0
jmp 0x67a060
push 0
call dword [0x97b398]
or dword [ebp - 4], 0xffffffff
push 0x67a08c
push 2
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0087a0b8
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x7bfec3
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x8db2d0
call fcn.00879bb8
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov eax, ecx
neg eax
lea edx, [ecx - 4]
sbb eax, eax
and eax, edx
mov dword [ebp - 0x10], esi
mov dword [0x978140], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ecx + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x1f
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 0x8f1a5c
mov dword [esi + 0x1c], 0x64
mov dword [esi + 0x20], 0x18
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x8f1a58
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x38], 0x8f1a54
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x54], 0x8f1a50
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x68], 0x8f1a4c
lea ecx, [esi + 0x7c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x8f1a48
mov byte [ebp - 4], 7
mov dword [esi], 0x8f1a40
mov dword [esi + 0x50], eax
call dword [fcn.0097b704]
mov ecx, dword [ebp - 0xc]
add eax, 0x4e20
mov dword [esi + 0x4c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x7ed72c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x8df884
call fcn.00879bb8
sub esp, 0x18
or dword [ebp - 0x24], 0xffffffff
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x67c]
cmp eax, ebx
je 0x7ed81d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 4]
jae 0x7ed81d
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + eax + 0x1c]
add edi, eax
mov eax, dword [esi + 0x88]
sub edx, eax
cmp edx, 0xffffffd0
jl 0x7ed811
mov eax, dword [esi + 0x84]
add eax, 0x18
cmp edx, eax
jge 0x7ed811
mov eax, dword [edi + 0x18]
mov ecx, dword [esi + 0x78]
lea ebx, [ecx + eax]
cmp ebx, dword [ebp + 8]
jge 0x7ed80f
mov ebx, dword [edi + 0x20]
add ebx, ecx
lea eax, [ebx + eax + 8]
cmp dword [ebp + 8], eax
jge 0x7ed80f
mov eax, dword [esi + 0x7c]
lea ecx, [eax + edx]
cmp ecx, dword [ebp + 0xc]
jge 0x7ed80f
mov ecx, dword [edi + 0x24]
sub ecx, dword [esi + 0x88]
add ecx, eax
add ecx, dword [edi + 0x1c]
cmp dword [ebp + 0xc], ecx
jge 0x7ed80f
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x7ed7dc
cmp dword [edi], 1
jne 0x7ed802
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [esi + 0x688]
jle 0x7ed7ed
cmp dword [edi + 0x28], 0xffffffff
je 0x7ed802
cmp eax, ebx
je 0x7ed7f6
mov dword [ebp - 0x18], eax
jmp 0x7ed802
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00414f8b
mov edi, dword [edi + 0x28]
cmp edi, 0xffffffff
je 0x7ed811
mov dword [ebp - 0x24], edi
jmp 0x7ed811
xor ebx, ebx
inc dword [ebp - 0x10]
add dword [ebp - 0x14], 0x3c
jmp 0x7ed753
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x7ed828
cmp byte [eax], bl
jne 0x7ed899
cmp dword [ebp - 0x18], ebx
je 0x7ed88c
push dword [ebp - 0x18]
mov ecx, dword [0x973a94]
lea eax, [ebp - 0x1c]
push eax
call fcn.00554ef3
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
lea edi, [esi + 4]
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x30]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx + 0x14]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 0x14]
push eax
lea ecx, [esi + 0x130]
call fcn.00759767
cmp dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
je 0x7ed8c6
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00449913
mov dword [ebp - 0x18], ebx
jmp 0x7ed8c6
lea ecx, [esi + 0x130]
call fcn.0074d6fb
jmp 0x7ed8c6
lea edi, [esi + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx + 0x14]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 0x14]
push eax
lea ecx, [esi + 0x130]
call fcn.0074d755
mov ecx, dword [ebp - 0x24]
cmp dword [esi + 0xd8], ecx
lea eax, [esi + 0xd8]
je 0x7ed8e1
mov dword [eax], ecx
push ebx
mov ecx, esi
call fcn.008161f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00414ebb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8