joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a7c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x59a8c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47a9aa
sub esp, 0x48
mov eax, dword [0x558614]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.004774a0
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.004633be
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.004633be
call fcn.00476c90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0045d5a0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x47a897
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x47a8b1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x47a928
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x47a8fe
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x47a8fa
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x47a8f3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x47a900
mov ebx, 0x1d
jmp 0x47a91e
mov ebp, eax
jmp 0x47a900
mov ebp, eax
cmp ebp, 0xd
jae 0x47a99d
lea eax, [ebp - 1]
lea edx, [0x553660]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x47a993
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x47a928
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x47a95a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x47a962
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.00462da0
mov eax, ebp
mov ecx, 0xd
call fcn.00462da0
nop
call fcn.00461920
jmp fcn.0047a7c0
Function at 0x44ef1f
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
xor byte [esi - 0x511fe571], ch
and byte [ecx], 7
invalid
push eax
jl 0x44ee76
or dh, cl
invalid
fidiv word [ebx]
dec esi
mov esi, gs
fsubr dword [edx]
xchg ebp, eax
mov dl, 0x8a
mov bl, byte [esi - 0x80]
push cs
push edx
mov bl, byte [esi - 0x80]
push cs
push edx
out 0x3e, eax
sbb eax, 0x48070c54
and edi, ecx
aam 0x3e
js 0x44eef9
popal
jne 0x44ef16
mov ebp, 0x23d4fea5
jecxz 0x44eecb
invalid

Function at 0x48c493
Capabilities:
Encode data using add xor sub operations

Disassembly:
and dword [ebp - 0x6e269b67], eax
and eax, 0x59046e8e
outsb dx, byte [esi]
add al, 0x59

Function at 0x4a390b
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x53
pop es
sbb byte [eax - 0xecd78b9], ah
jno 0x4a3900
cmp al, 0x2e
movsb byte es:[edi], byte [esi]
pop es
adc al, 0x7a

Function at 0x4ac1b7
Capabilities:
Encode data using xor

Disassembly:
cmp dword [eax - 0x468b0ee2], 0x8fb7cb4e

Function at 0x4bd9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c7468
cmp edx, dword [eax]
je 0x4bd9c2
add eax, 8
inc ecx
cmp eax, 0x4c74f8
jl 0x4bd9b3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c7468]
jne 0x4bdaf0
mov eax, dword [0x4c9d0c]
cmp eax, 1
je 0x4bdaca
test eax, eax
jne 0x4bd9f3
cmp dword [0x4c52b0], 1
je 0x4bdaca
cmp edx, 0xfc
je 0x4bdaf0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bda2a
lea eax, [ebp - 0x1a4]
push 0x4c1ae0
push eax
call fcn.004beb00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bebf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bda6d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bebf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1adc
push edi
call fcn.004bf5b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1ac0
push eax
call fcn.004beb00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004beb10
lea eax, [ebp - 0xa0]
push 0x4c1abc
push eax
call fcn.004beb10
push dword [esi + 0x4c746c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004beb10
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1a94
push eax
call fcn.004bf522
add esp, 0x2c
pop edi
jmp 0x4bdaf0
lea eax, [ebp + 8]
lea esi, [esi + 0x4c746c]
push 0
push eax
push dword [esi]
call fcn.004bebf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

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

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e29a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e290
mov eax, 1
add ebx, ebx
jne 0x40e2b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e2a8
jne 0x40e2c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2a8
xor ecx, ecx
sub eax, 3
jb 0x40e2d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e34a
mov ebp, eax
add ebx, ebx
jne 0x40e2e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e2f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e314
inc ecx
add ebx, ebx
jne 0x40e300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e2f5
jne 0x40e311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e325
jmp 0x40e296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e334
add edi, ecx
jmp 0x40e296
pop esi
mov edi, esi
mov ecx, 0xa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e352
cmp byte [edi], 5
jne 0x40e352
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 0x40e357
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10810]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10838]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e384
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1083c]
or eax, eax
je 0x40e3c0
mov dword [ebx], eax
add ebx, 4
jmp 0x40e3a1
call dword [esi + 0x1084c]
mov ebp, dword [esi + 0x10840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40e3fa
sub esp, 0xffffff80
jmp 0x401d5b

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x10289f6f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10311f9c], 0
mov byte [0x10311fa0], 0
mov dword [0x10311f94], 0x247e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10311f98], 0
mov dword [ebp - 0x1c], eax
jmp 0x10289fc7
mov dword [0x10311f98], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10289fef
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10311f98]
add eax, 1
mov dword [0x10311f98], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10289fc7
jmp 0x10289fb6
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10311fa4], 0
mov edi, dword [0x10311f90]
mov ebx, edi
add ebx, 0xffffd965
mov dword [0x10311f94], ebx
mov ebx, dword [0x10311f9c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x10311fa4], ecx
mov dword [0x10311f94], 0x162a
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x10311f9c], edx
add edi, 0x26f4
mov dword [0x10311f90], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi + edi]
mov byte [0x10311fa0], cl
mov dword [0x10311f90], 0x8fc
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x10311f90], 0x721
mov cl, byte [0x10311fa0]
mov edx, dword [0x10311f9c]
mov byte [esi + edx], cl
mov dword [0x10311f94], 0x15d4
mov edx, dword [0x10311f98]
add edx, 1
mov dword [0x10311f98], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10289fef
mov dword [0x10311f90], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028a0d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10311f94], 0x26bd
mov dword [0x10311f90], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x1028a1a1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0xdc
mov esi, eax
add esi, 1
imul ebx, eax, 0x134
mov dword [ebp - 0x44], eax
mov eax, edx
add eax, ebx
add eax, 0x2c
mov ebx, dword [ebp - 0x48]
add ebx, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
imul eax, eax, 0x134
add edx, eax
add edx, 0x14
mov eax, dword [edi]
mov edx, dword [edx]
mov edi, dword [ebp - 0x4c]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
call fcn.1028af27
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x50]
cmp edx, 0x6db
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x1028a28f
jmp 0x1028a10b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0xdc
mov esi, dword [edi]
imul edi, eax, 0x134
add edx, edi
add edx, 0x2c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6db
mov ecx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x1028a1a1
lea eax, [0x1028d6b3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x10311f94], 0x130b
mov dword [0x10311f90], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
call fcn.1028a3ef
mov dword [0x10311f94], 0xb5d
mov dword [0x10311f90], 0x6c2
call fcn.1028a321
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
call fcn.1028a572
mov ecx, eax
mov dword [0x10311fb0], eax
mov dword [ebp - 0x68], ecx
mov eax, esp
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
mov eax, dword [ebp - 0x68]
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x1028a10b
mov dword [0x10311f94], 0x9b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 8], ecx
call fcn.1028a49d
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x14bcc9
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x10311f90]
add ecx, 0x183c
mov dword [0x10311f90], ecx
mov dword [edx + 4], 0x136800
mov dword [0x10311f94], 0x13e1
mov ecx, dword [ebp - 0x48]
add ecx, 0x140c3d
mov dword [edx + 8], ecx
mov ecx, dword [0x10311f90]
add ecx, 0x1510
mov dword [0x10311f90], ecx
mov dword [edx + 0xc], 0x20a0
mov ecx, dword [0x10311f94]
add ecx, 0xfffff7d7
mov dword [0x10311f94], ecx
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028a71b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1028d6b3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x10311f90]
add ebx, 0x1e99
mov dword [0x10311f90], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1028a3ef
mov eax, dword [0x10311f90]
add eax, 0xfffffc44
mov dword [0x10311f94], eax
mov dword [0x10311f90], 0x6c2
call fcn.1028a321
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1028a572
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [0x10311f90], 0x236d
mov ecx, dword [ebp - 0x40]
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x1028a876
jmp 0x1028a7de
mov eax, dword [ebp - 0x48]
add eax, 0x2716
mov dword [0x10311f94], 0x1ddf
mov dword [0x10311f90], 0xffffefc9
mov dword [ebp - 0x44], eax
jmp 0x1028a876
mov eax, dword [ebp - 0x40]
mov dword [0x10311f90], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10311f90]
add ecx, 0x194b
mov dword [0x10311f94], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10289d05
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx], ecx
mov dword [0x10311f90], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x4c], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
jne 0x1028a7ba
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028a881
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x10311f90], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov esi, dword [0x10311f90]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x10311f90], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1028a901
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
jl 0x1028a8d4
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
add edx, 0xfffff5a8
mov dword [0x10311f90], edx
mov edx, dword [ebp - 0x1c]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x1028a9ef
xor eax, eax
mov dword [0x10311f90], 0x28f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
xor eax, eax
mov dword [0x10311f90], 0x2505
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
xor eax, eax
mov dword [0x10311f94], 0x870
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
xor eax, eax
mov dword [0x10311f90], 0x264f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
xor eax, eax
mov dword [0x10311f90], 0x1f9e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
jne 0x1028a9ef
mov eax, 1
mov dword [0x10311f90], 0x536
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x1028ad31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov ecx, dword [0x10311f90]
add ecx, 0xffffea42
mov dword [0x10311f94], ecx
mov dword [ebp - 0x10], eax
call fcn.1028b0d8
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10311f90], 0x1516
mov esi, dword [eax + esi + 0x78]
mov dword [0x10311f90], 0x11d0
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10311f94], 0x6c2
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 0x1028aebf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x28], eax
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x1028adc6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1028ae37
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1028ade6
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1028ae93
jmp 0x1028ae40
mov dword [0x10311f90], 0x10da
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
setb bl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x59], bl
mov eax, 0xffffeebe
xor ecx, ecx
mov dl, byte [ebp - 0x59]
test dl, 1
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ecx
jne 0x1028adc6
jmp 0x1028aebf
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x10311f94], edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esi + ecx*4]
mov dword [0x10311f90], 0x1a69
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret