joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x401f8b
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x401f50
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x401f6c
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403d10
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x401fad
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x40201f
mov esi, dword [ebx]
cmp esi, ebx
je 0x40201f
test esi, esi
je 0x40201f
cmp word [esi + 0x24], 2
jbe 0x402019
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x402019
cmp dword [esi + 0x18], 0
je 0x402019
test ebp, ebp
je 0x401fd5
cmp ebp, eax
jne 0x402019
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403d10
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x401ffa
cmp edx, dword [esi + 0x18]
jne 0x402019
cmp dword [esp + 0x14], eax
je 0x40202c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00403a40
add esp, 8
test eax, eax
je 0x40202c
mov esi, dword [esi]
cmp esi, ebx
jne 0x401fb3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x403370
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x8112f4]
sub esp, 0x11c
test eax, eax
jne 0x40346e
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.00401f00
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x4033c0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41d100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x4033d0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41d104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x403405
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00401f30
pop edi
pop esi
pop ebx
test eax, eax
je 0x403469
mov eax, dword [eax + 0x18]
test eax, eax
je 0x403469
mov dword [0x8112f4], eax
add esp, 0x11c
ret
mov eax, dword [0x8112f4]
add esp, 0x11c
ret
Function at 0x403b90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x403bdb
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x403bcb
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x403bb1
jmp 0x403bd0
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x403c2b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x403bf0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403bf0
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x403c0c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403d10
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x403c4d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x403cc0
mov esi, dword [ebx]
cmp esi, ebx
je 0x403cc0
test esi, esi
je 0x403cc0
cmp word [esi + 0x24], 2
jbe 0x403cba
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x403cba
cmp dword [esi + 0x18], 0
je 0x403cba
test ebp, ebp
je 0x403c75
cmp ebp, eax
jne 0x403cba
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403d10
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403c9a
cmp eax, dword [esi + 0x18]
jne 0x403cba
cmp dword [esp + 0x10], 0
je 0x403ccd
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00403a40
add esp, 8
test eax, eax
je 0x403ccd
mov esi, dword [esi]
cmp esi, ebx
jne 0x403c53
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x403da0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x810208]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x403f4d
cmp dword [0x81020c], 0
jne 0x403f39
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.00401f00
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x403df0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41d0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x403e00
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41d0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x403e35
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00401f00
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403e94
sub edx, esi
sar edx, 1
je 0x403f4d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x403eb0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x403f4d
xor eax, eax
push ebx
test edx, edx
je 0x403ee8
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x403ee8
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x403ed1
xor eax, eax
test edx, edx
je 0x403f02
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x403f02
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403ef0
xor eax, eax
test edx, edx
je 0x403f1f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x403f1f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403f10
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x810208]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x404240
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x810348
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x404369
cmp dword fs:[0xc0], eax
je 0x40426b
mov dword [0x810344], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x81022c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x810230], eax
movzx edx, word [esi + 0xac]
mov dword [0x810234], edx
mov eax, dword [esi + 0xb0]
mov dword [0x810238], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x4042cb
push 0x7f
push eax
push 0x81023c
call fcn.00403d10
mov edx, dword [0x810234]
add esp, 0xc
jmp 0x4042d3
xor eax, eax
mov word [0x81023c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x81033c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x81033e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x810340], ax
mov ecx, eax
mov byte [0x810342], 0
cmp byte [0x7ffe0268], 0
je 0x40431a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x810342], bl
cmp ebx, 1
pop ebx
jne 0x404334
and ecx, 0xffef
mov word [0x810340], cx
test edx, edx
jne 0x404369
call fcn.00404240
cmp dword [0x81022c], 6
ja 0x404369
jb 0x404351
cmp dword [0x810230], 4
jae 0x404369
call fcn.00404240
cmp dword [0x81022c], 0xa
jae 0x404369
mov dword [0x810234], 1
ret

Function at 0x41c302
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x57e770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x57e78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57e791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e780
mov eax, 1
add ebx, ebx
jne 0x57e7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57e7b4
jne 0x57e7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7d3
dec eax
add ebx, ebx
jne 0x57e7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57e798
add ebx, ebx
jne 0x57e7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57e825
xor ecx, ecx
sub eax, 3
jb 0x57e7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57e85a
sar eax, 1
mov ebp, eax
jmp 0x57e7f6
add ebx, ebx
jne 0x57e7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
inc ecx
add ebx, ebx
jne 0x57e804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
add ebx, ebx
jne 0x57e811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57e806
jne 0x57e822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57e806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57e844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57e836
jmp 0x57e786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57e844
add edi, ecx
jmp 0x57e786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57e862
cmp byte [edi], 0x11
jne 0x57e862
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 0x57e867
lea edi, [esi + 0x177000]
mov eax, dword [edi]
or eax, eax
je 0x57e8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x217a88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x217c04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57e894
mov ecx, edi
jns 0x57e8c3
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 + 0x217c08]
or eax, eax
je 0x57e8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57e8b1
call dword [esi + 0x217c18]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57e910
cmp al, 0xef
ja 0x57e903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57e8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57e8f2
mov ebp, dword [esi + 0x217c0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57e944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x1019a4ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a4ca8]
jne 0x1019a4f6
repz ret
jmp fcn.1019bf5b

Function at 0x1019d0af
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.1019a56d
and dword [ebp - 4], 0
cmp dword [0x101a61c8], 0
mov ebx, eax
jne 0x1019d160
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1019d211
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1019d211
push eax
call fcn.1019a4fb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101a61c8], eax
call esi
push eax
call fcn.1019a4fb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a61cc], eax
call esi
push eax
call fcn.1019a4fb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a61d0], eax
call esi
push eax
call fcn.1019a4fb
pop ecx
mov dword [0x101a61d8], eax
test eax, eax
je 0x1019d160
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1019a4fb
pop ecx
mov dword [0x101a61d4], eax
mov eax, dword [0x101a61d4]
cmp eax, ebx
je 0x1019d1b8
cmp dword [0x101a61d8], ebx
je 0x1019d1b8
push eax
call fcn.1019a576
push dword [0x101a61d8]
mov esi, eax
call fcn.1019a576
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1019d1b8
test edi, edi
je 0x1019d1b8
call esi
test eax, eax
je 0x1019d1af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019d1af
test byte [ebp - 0xc], 1
jne 0x1019d1b8
or dword [ebp + 0x10], 0x200000
jmp 0x1019d1f1
mov eax, dword [0x101a61cc]
cmp eax, ebx
je 0x1019d1f1
push eax
call fcn.1019a576
pop ecx
test eax, eax
je 0x1019d1f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1019d1f1
mov eax, dword [0x101a61d0]
cmp eax, ebx
je 0x1019d1f1
push eax
call fcn.1019a576
pop ecx
test eax, eax
je 0x1019d1f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a61c8]
call fcn.1019a576
pop ecx
test eax, eax
je 0x1019d211
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1019d213
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1019ebe7
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 [0x101a4728], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.1019fb13
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 0x1019ec2d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101a4724], 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 0x1019ec8f
jmp 0x1019ecfd
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
jb 0x1019ed0f
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x41]
test al, 1
jne 0x1019eca3
jmp 0x1019ec67
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101a4724], 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 [0x101a4728], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x1019ec8f
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x41], cl
je 0x1019ec9a
jmp 0x1019ed35
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101a4728], 0x1dce
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x1019ecd2
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x41]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1019ecd2
jmp 0x1019ec9a
Function at 0x1019f074
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 0x1019f0f5
mov eax, 0x18d0
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1019f0e3
jmp 0x1019f18e
mov dword [0x101a4724], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1019f15d
jmp 0x1019f18e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x101a4724], ecx
add esp, 0x24
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1019f122
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x1019f0f5
mov eax, dword [ebp - 0x28]
mov dword [0x101a4728], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1019f18e
mov dword [0x101a4724], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1019f0c5
jmp 0x1019f18e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019f18e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1019f18e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019f0a1
mov eax, 0x1088
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019f0e3
Function at 0x1019f35c
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 [0x101a4730], 0
mov byte [0x101a4734], 0
mov edi, dword [0x101a4724]
add edi, 0xfffff8e9
mov dword [0x101a4728], edi
mov dword [0x101a472c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1019f465
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 [0x101a4738], 0
mov edi, dword [0x101a4730]
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 [0x101a4738], esi
mov dword [0x101a4724], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101a4730], edx
mov dword [0x101a4728], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a4734], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101a4734]
mov esi, dword [0x101a4730]
mov byte [ebx + esi], cl
mov esi, dword [0x101a472c]
add esi, 1
mov dword [0x101a472c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1019f3ae
jmp 0x1019f4a1
xor eax, eax
mov dword [0x101a472c], 0
mov dword [ebp - 0x20], eax
jmp 0x1019f3ae
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101a4724], 0x7c1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a4728], 0x17ea
mov eax, dword [0x101a472c]
add eax, 1
mov dword [0x101a472c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1019f465
jmp 0x1019f451
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019f845
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 [0x101a4728], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1019f959
mov dword [0x101a4724], 0x2091
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1019f1ab
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a4724], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x30], ecx
mov dword [0x101a4728], 0x8aa
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x20], ecx
add ecx, 0x22e6
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1019f90b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x101a4728], 0x1a22
mov ecx, dword [0x101a4724]
add ecx, 0xffffefe3
mov dword [0x101a4724], ecx
mov dword [ebp - 0x44], eax
call fcn.1019ed66
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1019e96a
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x1019f985
jmp 0x1019f86c
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101a02cc]
mov dh, byte [eax + 0x101a029d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1019f914
jmp 0x1019f959
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret