joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019eea6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101a5788], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019fdce
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019eeec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101a5784], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jne 0x1019efe6
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x1019effd
jmp 0x1019efb7
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101a5788], 0x1dce
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x1019ef30
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov dword [0x101a5784], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101a5788], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x1019ef25
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x1019ef30
jmp 0x1019effd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
jmp 0x1019ef5f
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1019ef85
jmp 0x1019f006
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x4c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
jb 0x1019ef5f
jmp 0x1019ef25
Function at 0x1019f34c
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 edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1019f3ce
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019f457
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1019f457
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019f438
jmp 0x1019f457
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
jge 0x1019f3e4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x1019f3b7
mov eax, dword [ebp - 0x20]
mov dword [0x101a5788], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1019f457
mov dword [0x101a5784], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1019f457
mov dword [0x101a5784], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1019f379
jmp 0x1019f457
mov eax, 1
mov ecx, 0x18d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1019f466
xor eax, eax
mov ecx, 0x1088
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1019f466
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101a5784], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x1019f626
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 [0x101a5790], 0
mov byte [0x101a5794], 0
mov edi, dword [0x101a5784]
add edi, 0xfffff8e9
mov dword [0x101a5788], edi
mov dword [0x101a578c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1019f686
xor eax, eax
mov dword [0x101a578c], 0
mov dword [ebp - 0x20], eax
jmp 0x1019f6c2
mov eax, dword [ebp - 0x1c]
mov dword [0x101a5784], 0x7c1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a5788], 0x17ea
mov eax, dword [0x101a578c]
add eax, 1
mov dword [0x101a578c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1019f686
jmp 0x1019f675
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101a5798], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101a5790]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a5798], esi
mov dword [0x101a5784], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101a5790], edx
mov dword [0x101a5788], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a5794], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101a5794]
mov esi, dword [0x101a5790]
mov byte [ebx + esi], cl
mov esi, dword [0x101a578c]
add esi, 1
mov dword [0x101a578c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1019f6c2
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019fb0a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a5788], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1019fb36
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101a12cc]
mov dh, byte [eax + 0x101a129d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1019fb36
lea eax, [ebp - 0x24]
mov dword [0x101a5788], 0x1a22
mov ecx, dword [0x101a5784]
add ecx, 0xffffefe3
mov dword [0x101a5784], ecx
mov dword [ebp - 0x34], eax
call fcn.1019f033
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1019ec2c
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1019fb2e
mov eax, dword [ebp - 0x38]
mov dword [0x101a5784], 0x2091
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1019f484
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a5784], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x54], ecx
mov dword [0x101a5788], 0x8aa
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x30], ecx
add ecx, 0x15fb
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1019fc3f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1019ff5a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1e25
xor ebx, ebx
mov dword [0x101a578c], 0
mov dword [0x101a5790], 0
mov dword [0x101a579c], 0
mov dword [0x101a5784], 0xfa3
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x101a00e8
jmp 0x1019ffde
mov eax, dword [0x101a578c]
mov ecx, dword [0x101a5790]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101a578c], edx
mov dword [0x101a5784], 0x3264
mov ebx, dword [ebp - 0x24]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x101a5790], edx
mov ecx, dword [0x101a5788]
add ecx, 0xfffff82b
mov dword [0x101a5788], ecx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x101a5794], cl
mov dword [0x101a5784], 0x26b4
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101a5788], 0x112a
mov cl, byte [0x101a5794]
mov edx, dword [0x101a5790]
mov byte [ebx + edx], cl
mov edx, dword [0x101a578c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101a5790]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101a5788], 0x55d
and ecx, 0xff
mov dword [0x101a579c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x101a5784], 0x65f
mov dword [0x101a5788], 0xffffdf97
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x30], edi
jne 0x1019ffc7
mov eax, dword [0x101a5784]
add eax, 0xe82
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x101a5784], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a00f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x101a5784]
mov esi, edx
add esi, 0xffffdde0
mov dword [0x101a5788], esi
add edx, 0xffffe928
mov dword [0x101a5784], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1019f835
lea ecx, [0x1019f5bf]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], 0x13cc00
mov edx, dword [0x101a5770]
mov dword [esp + 0x44], edx
mov edx, dword [0x101a5774]
mov dword [esp + 0x38], edx
mov edx, dword [0x101a5778]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101a577c]
mov dword [esp + 0x60], edx
mov dword [0x101a5784], 0x5bd
mov edx, dword [0x101a5780]
mov dword [esp + 0x54], edx
mov dword [0x101a5788], 0xfffff4b2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101a01c6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101a01da
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101a01a3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], edx
mov dword [0x101a5784], 0xe1c
call fcn.1019f34c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x101a0237
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1019fb0a
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1019ac68
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b2c28]
jne 0x1019ac72
repz ret
jmp fcn.1019e73b

Function at 0x101a08ef
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.1019ad03
and dword [ebp - 4], 0
cmp dword [0x101b4568], 0
mov ebx, eax
jne 0x101a09a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101a0a51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101a0a51
push eax
call fcn.1019ac91
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b4568], eax
call esi
push eax
call fcn.1019ac91
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b456c], eax
call esi
push eax
call fcn.1019ac91
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b4570], eax
call esi
push eax
call fcn.1019ac91
pop ecx
mov dword [0x101b4578], eax
test eax, eax
je 0x101a09a0
push 0x101adc04
push edi
call esi
push eax
call fcn.1019ac91
pop ecx
mov dword [0x101b4574], eax
mov eax, dword [0x101b4574]
cmp eax, ebx
je 0x101a09f8
cmp dword [0x101b4578], ebx
je 0x101a09f8
push eax
call fcn.1019ad0c
push dword [0x101b4578]
mov esi, eax
call fcn.1019ad0c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101a09f8
test edi, edi
je 0x101a09f8
call esi
test eax, eax
je 0x101a09ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101a09ef
test byte [ebp - 0xc], 1
jne 0x101a09f8
or dword [ebp + 0x10], 0x200000
jmp 0x101a0a31
mov eax, dword [0x101b456c]
cmp eax, ebx
je 0x101a0a31
push eax
call fcn.1019ad0c
pop ecx
test eax, eax
je 0x101a0a31
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101a0a31
mov eax, dword [0x101b4570]
cmp eax, ebx
je 0x101a0a31
push eax
call fcn.1019ad0c
pop ecx
test eax, eax
je 0x101a0a31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b4568]
call fcn.1019ad0c
pop ecx
test eax, eax
je 0x101a0a51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101a0a53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ab14a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101b26a8], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.101ac070
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101ab190
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101b26a4], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101ab211
jmp 0x101ab21c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101b26a8], 0x1dce
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x101ab230
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x101ab1c7
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x101ab1c7
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 0x101ab281
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 0x101ab230
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101ab28d
jmp 0x101ab1ed
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x101b26a4], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b26a8], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x101ab211
Function at 0x101ab5dc
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 edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x101ab631
jmp 0x101ab64f
mov eax, 0x1088
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101ab6f6
mov eax, dword [ebp - 0x1c]
mov dword [0x101b26a8], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x101ab668
jmp 0x101ab61f
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x101ab607
jmp 0x101ab631
mov dword [0x101b26a4], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101ab61f
mov dword [0x101b26a4], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101ab61f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101ab61f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101ab61f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101ab61f
mov eax, 0x18d0
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x101ab61f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x101b26a4], ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x101ab8c1
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 [0x101b26b0], 0
mov byte [0x101b26b4], 0
mov edi, dword [0x101b26a4]
add edi, 0xfffff8e9
mov dword [0x101b26a8], edi
mov dword [0x101b26ac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ab921
xor eax, eax
mov dword [0x101b26ac], 0
mov dword [ebp - 0x20], eax
jmp 0x101ab95d
mov eax, dword [ebp - 0x1c]
mov dword [0x101b26a4], 0x7c1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101b26a8], 0x17ea
mov eax, dword [0x101b26ac]
add eax, 1
mov dword [0x101b26ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ab921
jmp 0x101ab910
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101b26b8], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101b26b0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101b26b8], esi
mov dword [0x101b26a4], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101b26b0], edx
mov dword [0x101b26a8], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101b26b4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101b26b4]
mov esi, dword [0x101b26b0]
mov byte [ebx + esi], cl
mov esi, dword [0x101b26ac]
add esi, 1
mov dword [0x101b26ac], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101ab95d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101abdaa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101b26a8], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad33c]
mov dh, byte [eax + 0x101ad30d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101abdcc
lea eax, [ebp - 0x24]
mov dword [0x101b26a8], 0x1a22
mov ecx, dword [0x101b26a4]
add ecx, 0xffffefe3
mov dword [0x101b26a4], ecx
mov dword [ebp - 0x34], eax
call fcn.101ab2bf
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101aaed8
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101abee2
mov dword [0x101b26a4], 0x2091
mov eax, dword [ebp - 0x38]
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ab713
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101b26a4], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov dword [0x101b26a8], 0x8aa
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
add ecx, 0x275b
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101abed9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret