joyce8/EMBER2024-capa huggingface dataset:
Function at 0x89145
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
lea eax, [ebp - 0x104]
push eax
push eax
push 0xc8
push 0xe4
push 0x66
push 0x907a8
mov esi, 0x922f8
push esi
call fcn.00082544
add esp, 0x14
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x100
push edi
push esi
call fcn.0008ee2a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.00089064
add esp, 0x24
test eax, eax
je 0x891e7
push edi
push edi
push edi
lea eax, [ebp - 0x104]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret

Function at 0x891eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
mov dword [ebp - 4], 0x10
je 0x89308
push 0xd
push edi
call fcn.0008ed03
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x8923f
push 0xa
push edi
call fcn.0008ed03
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x8923f
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x89233
sub eax, edx
lea ebx, [eax + edi]
mov esi, ebx
sub esi, edi
cmp esi, 0x200
jb 0x89250
mov esi, 0x1ff
push esi
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0008ee08
add esp, 0xc
mov byte [ebp + esi - 0x208], 0
cmp byte [ebp - 0x208], 0
je 0x892dd
cmp byte [ebp - 0x208], 0x20
lea eax, [ebp - 0x208]
jne 0x8929b
inc eax
cmp byte [eax], 0x20
je 0x89281
jmp 0x8929b
cmp cl, 0x22
je 0x8929a
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x89289
cmp cl, 0x22
jne 0x892a8
inc eax
cmp byte [eax], 0x22
je 0x8928e
jmp 0x892a8
cmp byte [eax], 0x20
je 0x892b2
inc eax
cmp byte [eax], 0
jne 0x892a2
cmp byte [eax], 0x20
jne 0x892bd
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x892b5
jmp 0x892bf
xor eax, eax
xor ecx, ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 8], eax
cmp eax, 0x2a
jne 0x89310
mov al, byte [ebx]
cmp al, 0xd
je 0x892e7
cmp al, 0xa
jne 0x892ea
inc ebx
jmp 0x892dd
cmp byte [ebx], 0
mov edi, ebx
je 0x892fc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp byte [ebx], 0
jne 0x8920e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 4]
or ecx, 0x5e040100
mov dword [0x92180], ecx
mov dword [0x9217c], eax
jmp 0x8930b
Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x104ae
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047b432
Function at 0x1b00f1ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1b01b368]
jne 0x1b00f1c4
repz ret
jmp fcn.1b00f73a
Function at 0x51dea0
Capabilities:
Terminate process

Disassembly:
test byte [0x5cc2e8], 0x20
jne 0x51debe
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x51df1e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x51df18
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x51df11
cvttss2si ebx, dword [0x532bec]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x51df37
test ecx, ecx
je 0x51dee8
call 0x51dee8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x51df3f
ja 0x51df3f
test eax, eax
je 0x51df47
cvttss2si ecx, dword [0x532be8]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x51e623
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x51e662
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51e662
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51e662
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x51e662
cmp dword [ecx + 0x74], 0xe
jbe 0x51e662
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x52adc0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10001280
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov dword [esp + 0x68], 0
jmp 0x10001365
mov eax, esp
mov dword [eax], 0xf1eb68
mov eax, dword [sym.imp.GDI32.dll_BeginPath]
call eax
sub esp, 4
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], eax
jmp 0x10001381
xor eax, eax
mov ecx, 0xc
lea edx, [esp + 0x50]
mov esi, 0x12e6cc
mov dword [esp + 0x5c], esi
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
call fcn.10109930
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0xd4b
mov eax, dword [sym.imp.KERNEL32.dll_CreatePipe]
call eax
sub esp, 0x10
mov dword [esp + 0x40], eax
jmp 0x10001420
jmp 0x10001434
mov dword [esp + 0x60], 0
jmp 0x10001410
mov eax, 0x13
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x3c]
div ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
sub eax, 3
mov dword [esp + 0x34], eax
je 0x1000138d
jmp 0x10001356
mov eax, dword [esp + 0x38]
sub eax, 7
mov dword [esp + 0x30], eax
je 0x1000138f
jmp 0x100013ac
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0x4b
jne 0x10001297
jmp 0x1000144e
cmp dword [esp + 0x64], 0x395
jne 0x1000132c
jmp 0x100013bd
jmp 0x1000138f
mov eax, esp
mov dword [eax + 4], 0xe12
mov dword [eax], 0xa27675
mov eax, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call eax
sub esp, 8
mov dword [esp + 0x28], eax
jmp 0x100013ae
mov eax, dword [esp + 0x64]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x10001381
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, 0xcc29786d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, ecx
mov edx, dword [esp + 0x20]
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
je 0x1000140b
jmp 0x100013f6
mov eax, dword [esp + 0x1c]
sub eax, 0x29
mov dword [esp + 0x14], eax
jne 0x1000131f
jmp 0x10001409
jmp 0x1000140b
jmp 0x1000131a
cmp dword [esp + 0x60], 0xa
jne 0x100012ba
jmp 0x1000142f
mov eax, dword [esp + 0x60]
add eax, 1
mov dword [esp + 0x60], eax
jmp 0x10001410
jmp 0x1000131a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, 1
mov dword [esp + 0x68], eax
jmp 0x10001365
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x1010f172
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101f4cd0]
jne 0x1010f17c
repz ret
jmp fcn.10116e8b
Function at 0x10116af6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1010b424
and dword [ebp - 4], 0
cmp dword [0x101f5928], 0
mov ebx, eax
jne 0x10116ba7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10116c58
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10116c58
push eax
call fcn.1010b3b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101f5928], eax
call esi
push eax
call fcn.1010b3b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101f592c], eax
call esi
push eax
call fcn.1010b3b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101f5930], eax
call esi
push eax
call fcn.1010b3b2
pop ecx
mov dword [0x101f5938], eax
test eax, eax
je 0x10116ba7
push 0x101e705c
push edi
call esi
push eax
call fcn.1010b3b2
pop ecx
mov dword [0x101f5934], eax
mov eax, dword [0x101f5934]
cmp eax, ebx
je 0x10116bff
cmp dword [0x101f5938], ebx
je 0x10116bff
push eax
call fcn.1010b42d
push dword [0x101f5938]
mov esi, eax
call fcn.1010b42d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10116bff
test edi, edi
je 0x10116bff
call esi
test eax, eax
je 0x10116bf6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10116bf6
test byte [ebp - 0xc], 1
jne 0x10116bff
or dword [ebp + 0x10], 0x200000
jmp 0x10116c38
mov eax, dword [0x101f592c]
cmp eax, ebx
je 0x10116c38
push eax
call fcn.1010b42d
pop ecx
test eax, eax
je 0x10116c38
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10116c38
mov eax, dword [0x101f5930]
cmp eax, ebx
je 0x10116c38
push eax
call fcn.1010b42d
pop ecx
test eax, eax
je 0x10116c38
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101f5928]
call fcn.1010b42d
pop ecx
test eax, eax
je 0x10116c58
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10116c5a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1011c340
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [0x101f4074], 0x1221
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x1011c3b5
jmp 0x1011c4b9
mov dword [0x101f4070], 0x249b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x1011c439
jmp 0x1011c378
mov dword [0x101f4070], 0x218e
mov dword [ebp - 0x10], 1
jmp 0x1011c4c4
cmp dword [ebp - 4], 0x104
jge 0x1011c3e6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2]
cmp eax, 0
jne 0x1011c3d1
jmp 0x1011c3e6
jmp 0x1011c3d3
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
jmp 0x1011c3b5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x1011c4bd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x1011c41e
jmp 0x1011c4bb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x1011c37d
jmp 0x1011c4b9
mov eax, dword [0x101f4074]
sub eax, 0x2637
mov dword [0x101f4070], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
movzx edx, word [eax + ecx*2 - 0x12]
cmp edx, 0x64
jne 0x1011c4b4
mov dword [0x101f4074], 0x142c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
movzx edx, word [eax + ecx*2 - 0x10]
cmp edx, 0x6c
jne 0x1011c4b2
mov dword [0x101f4074], 0x504
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1011c39f
jmp 0x1011c4b2
jmp 0x1011c4b4
jmp 0x1011c378
jmp 0x1011c4bb
jmp 0x1011c4bd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x1011cd30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1011cd30]
mov dword [ebp - 8], eax
mov eax, dword [0x101f4074]
add eax, 0x1ecc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x101f4074], eax
jmp 0x1011cd87
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1011cdb7
jmp 0x1011cd60
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x101f4070]
sub eax, 0x166b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [0x101f4070], eax
jmp 0x1011cda8
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1011cd60
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x1011cd56
jmp 0x1011cd5e
mov al, 1
test al, 1
jne 0x1011cd87
jmp 0x1011cdb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
Function at 0x1000fe30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000ffe5
pushal
mov esi, 0x1000c015
lea edi, [esi - 0xb015]
push edi
jmp 0x1000fe5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000fe61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000fe50
mov eax, 1
add ebx, ebx
jne 0x1000fe73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000fe68
jne 0x1000fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fe68
xor ecx, ecx
sub eax, 3
jb 0x1000fe98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000ff0a
mov ebp, eax
add ebx, ebx
jne 0x1000fea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000feb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000fed4
inc ecx
add ebx, ebx
jne 0x1000fec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000feb5
jne 0x1000fed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000feb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000fef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000fee5
jmp 0x1000fe56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000fef4
add edi, ecx
jmp 0x1000fe56
pop esi
mov edi, esi
mov ecx, 0x5953
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1000ff2f
cmp byte [edi], 1
jne 0x1000ff14
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1000ff12
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x1000ff77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf46c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000ff35
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf470]
or eax, eax
je 0x1000ff71
mov dword [ebx], eax
add ebx, 4
jmp 0x1000ff52
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000ffa8
cmp al, 0xef
ja 0x1000ff9b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000ff7d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000ff8a
mov ebp, dword [esi + 0xf474]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x1000ffdc
sub esp, 0xffffff80
jmp 0x10003e30
Function at 0x1013f185
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x1024fe98]
add ecx, 0xffffd373
mov dword [0x1024fe94], ecx
mov dword [ebp - 0x10], eax
call fcn.101404e2
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1024fe94], 0x9dc
mov edi, dword [0x1024fe98]
add edi, 0x21bf
mov dword [0x1024fe98], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1024fe94], 0xffffeeb0
mov dword [0x1024fe98], 0x15d7
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 0x1013f316
jmp 0x1013f236
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1024fe94], 0x651
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x1013f316
mov eax, 0x15d7
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov edi, edx
add edi, 0xffffecbf
mov dword [0x1024fe94], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x1013f2cf
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x1013f27e
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1013f20c
jmp 0x1013f2dc
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffec71
mov dword [0x1024fe98], ecx
mov edx, dword [ebp - 0x28]
add edx, 2
mov esi, dword [ebp - 0x38]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
jb 0x1013f250
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013f691
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1024fea0], 0
mov byte [0x1024fea4], 0
mov dword [0x1024fe9c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1024fe94], 0x7ed
mov eax, dword [0x1024fe9c]
add eax, 1
mov dword [0x1024fe9c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1013f6cc
xor eax, eax
mov dword [0x1024fe98], 0x441
mov dword [0x1024fe9c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1024fea8], 0
mov dword [0x1024fe98], 0x2651
mov edx, dword [0x1024fea0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1024fea8], edi
mov dword [0x1024fe94], 0x103
mov eax, edi
cdq
idiv ecx
mov dword [0x1024fea0], edx
mov dword [0x1024fe98], 0xfffff8df
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1024fea4], cl
mov dword [0x1024fe98], 0x23a8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1024fea4]
mov edx, dword [0x1024fea0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1024fe94], 0x11a4
mov edx, dword [0x1024fe9c]
add edx, 1
mov dword [0x1024fe9c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1013f715
mov dword [0x1024fe94], 0x12fc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013fbb1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x1024fe94], 0x3eb
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x1024fe98], 0x840
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10231784]
mov dh, byte [eax + 0x10231755]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1013fbdc
lea eax, [ebp - 0x20]
mov dword [0x1024fe98], 0x16248
mov dword [0x1024fe94], 0x4b4
mov dword [ebp - 0x30], eax
call fcn.1013ff2b
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1013f9fe
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1013fcf9
mov eax, dword [ebp - 0x34]
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 [0x1024fe94]
add ecx, 0x2253
mov dword [0x1024fe94], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1013fe04
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [0x1024fe98], 0x13bc
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov dword [0x1024fe94], 0xf7e
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1013fcf9
mov eax, dword [ebp - 0x3c]
add eax, 0x1efc
mov dword [0x1024fe98], 0x414
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x1013fcf9
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x1014010c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x1024fe98], 0x1ec2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1024fe94]
add esi, 0xffffd90d
mov dword [0x1024fe94], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10140172
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10140219
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10140234
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 0x101401a6
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 0x10140172
mov eax, dword [ebp - 0x24]
mov dword [0x1024fe98], 0x1559
mov dword [0x1024fe94], 0xff6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10140168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10140168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10140168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10140168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10140155
jmp 0x10140168
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10140168
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop esi
pop ebp
ret