joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c952
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001c9ef
push ebx
push esi
call fcn.1001c91b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001c8af
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001c99c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c9ee
push edi
push eax
call fcn.1001d90d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001c9bc
call fcn.1001b3f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c9ed
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001c8af
add esp, 0x20
test eax, eax
jne 0x1001c9db
push edi
call fcn.1001b3f7
jmp 0x1001c9e3
push ebx
call fcn.1001b3f7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001cc5c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cc8
push 0x10024cc0
push str.FlsAlloc
push 0x1f
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cc90
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
jmp 0x1001cc96
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001ccda
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cd8
push 0x10024cd0
push str.FlsGetValue
push 0x21
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cd11
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001cd19
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ce0
push 0x10024cd8
push str.FlsSetValue
push 0x22
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cd53
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100223e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002240d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002240d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404c98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x404d18
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x404d17
push ebx
mov ebx, 0x45b5e8
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x425548
mov byte [edi + esi], al
call fcn.0040dc9e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x404cba
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00404815
pop edi
pop ebp
ret 0x14

Function at 0x407cba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407cdb
jl 0x407cd2
test edi, edi
jne 0x407cdb
xor eax, eax
xor edx, edx
jmp 0x407d9c
cmp dword [ebx + 0x38], 0
je 0x407cf0
push eax
push edi
push dword [ebp + 8]
call fcn.00407da2
jmp 0x407d9c
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407d37
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407d37
cmp eax, edi
jb 0x407d11
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409520
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407d3d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x407d91
mov ecx, ebx
call fcn.00407554
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407d7c
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00410ee3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x407d91
jmp 0x407d4f
test edx, edx
je 0x407d91
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00410ee3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40907c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4090bb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4090bb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4090bb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4090bb
cmp dword [ecx + 0x74], 0xe
jbe 0x4090bb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41a778
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a5e9

Function at 0x41ab72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004094d0
mov eax, dword [0x459a00]
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.00418735
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41abb4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ad10
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00424300
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 + 0x45bf90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b911
mov ecx, dword [esi*4 + 0x45bf90]
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 0x41ad09
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ad09
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 0x41ad09
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b911
add esp, 0x14
test edx, edx
jl 0x41ad09
jg 0x41ac7f
test eax, eax
jb 0x41ad09
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ad09
jl 0x41ac99
cmp dword [ebp - 0x1008], eax
ja 0x41ad09
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41acb7
test ebx, ebx
je 0x41acf0
cmp ecx, edi
jae 0x41acf0
mov al, byte [ecx]
cmp al, 0xd
jne 0x41acd1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41acdd
cmp byte [ecx + 1], 0xa
jne 0x41acdd
inc ecx
jmp 0x41acdd
movzx eax, al
movsx eax, byte [eax + 0x459cc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41acb7
cmp edx, ebx
jne 0x41acb7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ad0e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004088c2
leave
ret
Function at 0x41adaf
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 + 0x45bf90]
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 0x41adef
cmp byte [ebx], 0xa
jne 0x41adef
or byte [eax + edi + 0x28], 4
jmp 0x41adf4
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41aef2
mov al, byte [edx]
cmp al, 0x1a
je 0x41aed4
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ae23
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ae48
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ae52
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 0x41ae05
jmp 0x41aef2
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 0x41aecf
cmp dword [ebp - 0xc], 0
je 0x41aecf
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x45bf90]
test byte [eax + edi + 0x28], 0x48
je 0x41aea9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ae94
mov byte [esi], dl
jmp 0x41aea5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45bf90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41aef2
cmp byte [ebp - 1], 0xa
jne 0x41aeb8
cmp esi, ebx
jne 0x41aeb8
mov byte [esi], 0xa
jmp 0x41aef1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b92f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41aef2
mov byte [esi], 0xd
jmp 0x41aef1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x45bf90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41aeee
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41aef2
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41aefb
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 + 0x45bf90]
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 0x41af3e
cmp word [esi], dx
jne 0x41af3e
or byte [edi + eax + 0x28], 4
jmp 0x41af43
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 0x41b096
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 0x41b076
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41af85
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41afbb
cmp eax, edx
jae 0x41afc7
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 0x41af5d
jmp 0x41b096
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 0x41b072
cmp dword [ebp - 0x14], 0
je 0x41b072
mov eax, dword [ebx*4 + 0x45bf90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b04a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b013
mov word [esi], cx
jmp 0x41b046
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x45bf90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x45bf90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x45bf90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b096
pop ebx
cmp word [ebp - 4], bx
jne 0x41b05b
cmp esi, dword [ebp + 0xc]
jne 0x41b05b
mov word [esi], bx
jmp 0x41b093
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b92f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b096
push 0xd
jmp 0x41b08f
mov ecx, dword [ebx*4 + 0x45bf90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b08d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b096
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 0x41cd31
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41cdce
push ebx
push esi
call fcn.0041ccfa
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041badb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41cd7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41cdcd
push edi
push eax
call fcn.00417900
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41cd9b
call fcn.00416969
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41cdcc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041badb
add esp, 0x20
test eax, eax
jne 0x41cdba
push edi
call fcn.00416969
jmp 0x41cdc2
push ebx
call fcn.00416969
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x424100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42412d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42412d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x406d2500
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x4a3c52d6
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x85ab60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18f000]
push edi
or ebp, 0xffffffff
jmp 0x85ab82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x85ab89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85ab78
mov eax, 1
add ebx, ebx
jne 0x85ab9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x85abac
jne 0x85abcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85abcb
dec eax
add ebx, ebx
jne 0x85abb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x85ab90
add ebx, ebx
jne 0x85abc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x85ac1d
xor ecx, ecx
sub eax, 3
jb 0x85abe3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x85ac52
sar eax, 1
mov ebp, eax
jmp 0x85abee
add ebx, ebx
jne 0x85abee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85abbc
inc ecx
add ebx, ebx
jne 0x85abfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85abbc
add ebx, ebx
jne 0x85ac09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x85abfe
jne 0x85ac1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x85abfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x85ac3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x85ac2e
jmp 0x85ab7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x85ac3c
add edi, ecx
jmp 0x85ab7e
pop esi
mov edi, esi
mov ecx, 0x6b5a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x85ac5a
cmp byte [edi], 0x21
jne 0x85ac5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x85ac5f
lea edi, [esi + 0x451000]
mov eax, dword [edi]
or eax, eax
je 0x85acd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x45eb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x45ecd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x85ac8c
mov ecx, edi
jns 0x85acbb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x45ecd8]
or eax, eax
je 0x85acd1
mov dword [ebx], eax
add ebx, 4
jmp 0x85aca9
call dword [esi + 0x45ece8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x85ad08
cmp al, 0xef
ja 0x85acfb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x85acdd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x85acea
mov ebp, dword [esi + 0x45ecdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x85ad3c
sub esp, 0xffffff80
jmp 0x4af399
Function at 0x101dbd08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101dd20d
xor ecx, ecx
mov edx, eax
mov esi, dword [0x101f3f08]
mov edi, esi
add edi, 0xffffe7e0
mov dword [0x101f3f04], edi
mov edi, dword [eax + 0x3c]
mov dword [0x101f3f08], 0x1178
add esi, 0xffffdddf
mov dword [0x101f3f04], esi
mov dword [0x101f3f08], 0x83d
mov esi, dword [eax + edi + 0x78]
mov dword [0x101f3f04], 0x2076
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101dbe8a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x28], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x101dbe11
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x101dbdc0
mov al, byte [ebp - 0x46]
test al, 1
jne 0x101dbe5b
jmp 0x101dbe1a
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
setb bl
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x51], bl
xor eax, eax
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jne 0x101dbda6
jmp 0x101dbe8a
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101f3f04], 0x2157
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101f3f08], 0xd6c
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101dbe95
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x101f3f04], 0x1b77
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101f3f08], 0x68b
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f3f04], 0x1049
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101dbf0c
mov dword [0x101f3f04], 0x3b73
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x1a], dx
mov ax, word [ebp - 0x1a]
cmp ax, 0x64
je 0x101dbfbf
jmp 0x101dc001
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x101dbf40
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
jl 0x101dbf0c
mov eax, dword [ebp - 0x24]
mov dword [0x101f3f04], 0x162a
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101dc001
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x2a], dx
mov ax, word [ebp - 0x2a]
cmp ax, 0x6f
jne 0x101dc001
mov dword [0x101f3f08], 0xcc3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101dc001
mov dword [0x101f3f04], 0x15d5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2c], dx
mov ax, word [ebp - 0x2c]
cmp ax, 0x64
je 0x101dbee0
jmp 0x101dc001
mov dword [0x101f3f04], 0x1718
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101dc001
mov eax, 0x2d23
mov ecx, 1
mov dword [0x101f3f08], 0xfd3
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
je 0x101dc010
mov eax, 0x24e8
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x101dc010
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x101f3f04], ecx
add esp, 0x30
pop esi
pop ebp
ret