joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49325e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401dc0
mov eax, dword [0x572c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405ec0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4932a0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4933fc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406023
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5768b0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403283
mov ecx, dword [esi*4 + 0x5768b0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4933f5
cmp eax, dword [edi + ecx + 0x24]
jne 0x4933f5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4933f5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403283
add esp, 0x14
test edx, edx
jl 0x4933f5
jg 0x49336b
test eax, eax
jb 0x4933f5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4933f5
jl 0x493385
cmp dword [ebp - 0x1008], eax
ja 0x4933f5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4933a3
test ebx, ebx
je 0x4933dc
cmp ecx, edi
jae 0x4933dc
mov al, byte [ecx]
cmp al, 0xd
jne 0x4933bd
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4933c9
cmp byte [ecx + 1], 0xa
jne 0x4933c9
inc ecx
jmp 0x4933c9
movzx eax, al
movsx eax, byte [eax + 0x5737a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4933a3
cmp edx, ebx
jne 0x4933a3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4933fa
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403076
leave
ret
Function at 0x499b31
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x572c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x499b7c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499ff3
test al, al
jne 0x499b76
sub edx, 2
cmp edx, edi
jne 0x499b5c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x499b9e
lea eax, [edi + 2]
cmp edx, eax
je 0x499b9e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049972a
add esp, 0x10
jmp 0x499c98
push esi
lea ecx, [ebp - 0x255]
call fcn.00499ff3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x499be1
push dword [ebp - 0x25c]
jmp 0x499b8e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x499c1e
cmp word [ebp - 0x226], 0
je 0x499c3f
cmp word [ebp - 0x226], ax
jne 0x499c1e
cmp word [ebp - 0x224], 0
je 0x499c3f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049972a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x499c8b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x499bf8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499c73
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499c98
push 0x499112
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040556f
add esp, 0x10
jmp 0x499c68
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403076
leave
ret
Function at 0x4a1d5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5768b0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1d9c
cmp byte [ebx], 0xa
jne 0x4a1d9c
or byte [eax + edi + 0x28], 4
jmp 0x4a1da1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a1e9f
mov al, byte [edx]
cmp al, 0x1a
je 0x4a1e81
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a1dd0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a1df5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a1dff
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a1db2
jmp 0x4a1e9f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1e7c
cmp dword [ebp - 0xc], 0
je 0x4a1e7c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5768b0]
test byte [eax + edi + 0x28], 0x48
je 0x4a1e56
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a1e41
mov byte [esi], dl
jmp 0x4a1e52
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5768b0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a1e9f
cmp byte [ebp - 1], 0xa
jne 0x4a1e65
cmp esi, ebx
jne 0x4a1e65
mov byte [esi], 0xa
jmp 0x4a1e9e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401956
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a1e9f
mov byte [esi], 0xd
jmp 0x4a1e9e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5768b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a1e9b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a1e9f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a1efb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5768b0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1f3e
cmp word [esi], dx
jne 0x4a1f3e
or byte [edi + eax + 0x28], 4
jmp 0x4a1f43
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a2096
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a2076
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a1f85
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a1fbb
cmp eax, edx
jae 0x4a1fc7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a1f5d
jmp 0x4a2096
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a2072
cmp dword [ebp - 0x14], 0
je 0x4a2072
mov eax, dword [ebx*4 + 0x5768b0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a204a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a2013
mov word [esi], cx
jmp 0x4a2046
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5768b0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5768b0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5768b0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a2096
pop ebx
cmp word [ebp - 4], bx
jne 0x4a205b
cmp esi, dword [ebp + 0xc]
jne 0x4a205b
mov word [esi], bx
jmp 0x4a2093
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401956
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a2096
push 0xd
jmp 0x4a208f
mov ecx, dword [ebx*4 + 0x5768b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a208d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a2096
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40107f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.w64devkit_launcher
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov dword [esp], 2
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
Function at 0x401c02
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x7fff
mov dword [esp + 8], 2
mov dword [esp + 4], 2
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.0040114a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], 0x7fff
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x7ffe
ja 0x401c74
mov eax, dword [ebp - 0xc]
jmp 0x401c79
mov eax, 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401a8a
nop
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x426f6c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x426f72
ret

Function at 0x445790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x445941
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405434
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x445958
call fcn.00405098
mov eax, ebx
call fcn.00424d94
mov edi, eax
dec edi
test edi, edi
jl 0x445848
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424d68
mov edx, dword [0x436e30]
call fcn.00404130
test al, al
je 0x445844
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424d68
lea edx, [ebp - 0x14]
call fcn.0044cf28
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405434
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040510c
inc esi
dec edi
jne 0x4457f6
mov al, byte [0x44595c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x445968
mov eax, dword [ebp - 0xc]
call fcn.0040f1fc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404e2c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044cf28
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x445958
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044cf28
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x445958
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x445958
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x445974
call fcn.0040adcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445948
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404db8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404db8
lea eax, [ebp - 0x14]
call fcn.00404d94
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404db8
ret
Function at 0x543cec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x543d1a
mov eax, ebx
call fcn.005447a4
cmp dword [ebx + 0x3c], 0
je 0x543d13
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x543d8b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x543d7d
cmp dword [ebx + 8], 0
je 0x543d3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x543d4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x543d7d
cmp dword [ebx + 8], 0
je 0x543d2f
cmp eax, 3
je 0x543d61
dec eax
jne 0x543d2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x543d2f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x543d2f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x543da9
cmp dword [ebx + 0x10], 0xcc
je 0x543da9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00543db4
pop ebx
ret
Function at 0x572d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x114]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x118]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x11c]
jl 0x572e0d
mov eax, dword [ebp + 8]
cmp byte [eax - 0x11d], 0
je 0x572d72
mov dword [ebp - 4], 0xffffffff
jmp 0x572e92
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x124]
mov edx, dword [ebp + 8]
mov al, byte [edx + eax - 0x110]
mov edx, dword [ebp + 8]
mov byte [edx - 0x10e], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x124]
mov edx, dword [ebp + 8]
mov al, byte [edx + eax - 0x10f]
mov edx, dword [ebp + 8]
mov byte [edx - 0x10d], al
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffef4
call fcn.00572cbc
pop ecx
xor al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x11d], al
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 5]
add eax, 2
mov edx, dword [ebp + 8]
mov dword [edx - 0x124], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x114]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x11c]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x114], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x124]
shl eax, 3
mov edx, dword [ebp + 8]
mov dword [edx - 0x11c], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x114]
mov edx, eax
shr edx, 3
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx - 0x10e]
mov dword [ebp - 8], edx
and eax, 7
movzx edx, word [eax*2 + 0x6182b8]
mov ebx, 1
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x118]
dec ecx
test ecx, ecx
jl 0x572e80
inc ecx
test dword [ebp - 8], edx
jle 0x572e58
or dword [ebp - 4], ebx
add edx, edx
add ebx, ebx
inc eax
cmp eax, 8
jl 0x572e7d
xor eax, eax
mov edx, 1
inc dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
movzx esi, byte [esi + edi - 0x10e]
mov dword [ebp - 8], esi
dec ecx
jne 0x572e50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x118]
mov edx, dword [ebp + 8]
add dword [edx - 0x114], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ab334
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5ab548
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov byte [eax + 0x40c], 0
mov eax, ebx
call fcn.005aac04
test al, al
je 0x5ab3ee
mov eax, dword [0x61c210]
mov eax, dword [eax]
call fcn.0046d46c
mov edx, dword [0x61c2a8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.00594408
mov edx, dword [0x61c46c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.005945fc
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [0x61c2a8]
mov edx, dword [edx]
call fcn.0055b000
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [0x61c46c]
mov edx, dword [edx]
mov dword [eax + 0x2f4], edx
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [0x61c210]
mov eax, dword [eax]
call fcn.0046d46c
jmp 0x5ab54a
xor edx, edx
push ebp
push 0x5ab528
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
call fcn.0055b228
mov esi, eax
mov eax, dword [0x61c590]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0046b538
mov edx, dword [0x61c220]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.00594408
mov edx, dword [0x61c3b0]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.005945fc
mov edx, dword [0x61c23c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.005945b4
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + 0x2fc]
call fcn.0055b000
mov edi, dword [ebx + 0x30]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [edi + 0x308]
mov dword [eax + 0x2f4], edx
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
add eax, 0x234
push eax
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x30]
call fcn.00592898
mov edx, dword [ebp - 4]
pop eax
call fcn.00404e00
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
push eax
mov eax, dword [ebx + 0x54]
call fcn.00405064
push eax
mov eax, dword [ebx + 0x54]
call fcn.0040525c
mov edx, eax
pop ecx
pop eax
call fcn.00558dec
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, esi
call fcn.0055b26c
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [0x61c590]
mov eax, dword [eax]
xor edx, edx
call fcn.0046b538
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xdc]
add eax, 0x3fc
mov dword [eax], 0x1fffffff
mov dword [eax + 4], 0x1fffffff
mov byte [eax + 8], 0
xor edx, edx
mov dword [eax + 0xc], edx
mov byte [ebx + 0x5d], 0
mov eax, ebx
call fcn.005ab264
mov eax, ebx
call fcn.005aafbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ab54a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ab54f
lea eax, [ebp - 4]
call fcn.00404dac
ret
Function at 0x1000a380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.1000a380]
mov ecx, dword [0x10046f08]
sub ecx, 0x23b0
mov dword [0x10046f08], ecx
mov dword [ebp - 8], eax
mov dword [0x10046f08], 0x319
jmp 0x1000a3c1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
je 0x1000a3d0
jmp 0x1000a3d8
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1000a3ad
jmp 0x1000a3da
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1000a409
jmp 0x1000a3da
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x10046f08], 0x1034
mov al, 1
test al, 1
jne 0x1000a3c1
jmp 0x1000a402
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
Function at 0x1000a470
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [0x10046f0c], 0x751
mov dword [ebp - 8], 0
mov eax, dword [0x10046f0c]
sub eax, 0x19ef
mov dword [0x10046f0c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [0x10046f0c], 0x692
mov dword [ebp - 0x10], 0
jmp 0x1000a51b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1000a5ea
jmp 0x1000a61c
mov dword [0x10046f08], 0xf32
jmp 0x1000a546
mov dword [0x10046f08], 0x1448
mov dword [ebp - 4], 1
jmp 0x1000a627
mov dword [0x10046f08], 0x2252
mov dword [ebp - 4], 0
jmp 0x1000a627
jmp 0x1000a4fe
jmp 0x1000a61c
cmp dword [ebp - 0x10], 0x104
jge 0x1000a553
mov eax, dword [0x10046f0c]
sub eax, 0x1eb4
mov dword [0x10046f08], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x1000a4dc
jmp 0x1000a553
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1000a51b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x1000a4fe
mov eax, dword [0x10046f08]
sub eax, 0x986
mov dword [0x10046f0c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x1000a514
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xffffffea
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x61
jne 0x1000a622
mov dword [0x10046f08], 0x468
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1000a620
mov eax, dword [0x10046f08]
sub eax, 0x7fa
mov dword [0x10046f08], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x1000a4c1
jmp 0x1000a61e
mov dword [0x10046f0c], 0x24e6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [eax + ecx*2 - 0xe]
cmp edx, 0x6c
je 0x1000a4e8
jmp 0x1000a516
jmp 0x1000a61e
jmp 0x1000a620
jmp 0x1000a622
jmp 0x1000a514
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret