joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f288b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4f28b8
call fcn.004f5f43
mov dword [eax], esi
call fcn.004f5f30
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004eebea
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4f2894
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f28e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f5f56
pop ecx
call fcn.004f5f30
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4f290e
test al, 1
je 0x4f290e
test byte [esp + 0xc], 2
je 0x4f290e
call fcn.004f5f43
mov dword [eax], 5
call fcn.004f5f30
mov dword [eax], 0xd
jmp 0x4f28de
xor eax, eax
pop esi
ret

Function at 0x4f4ddd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55709c]
jne 0x4f4de7
repz ret
jmp fcn.00505fb7

Function at 0x4fab9f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x557c08]
je 0x4fabba
inc edi
cmp edi, 0x17
jb 0x4fabab
cmp edi, 0x17
jae 0x4fad3a
push ebp
push 3
call fcn.00507b27
cmp eax, 1
pop ecx
je 0x4fad06
push 3
call fcn.00507b27
test eax, eax
pop ecx
jne 0x4fabee
cmp dword [0x557098], 1
je 0x4fad06
cmp ebx, 0xfc
je 0x4fad39
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x55dc48
push ebp
call fcn.004f298d
add esp, 0xc
test eax, eax
je 0x4fac24
push esi
push esi
push esi
push esi
push esi
call fcn.004eeaee
add esp, 0x14
push 0x104
mov esi, 0x55dc61
push esi
push 0
mov byte [0x55dd65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4fac68
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004f298d
add esp, 0xc
test eax, eax
je 0x4fac68
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004eeaee
add esp, 0x14
push esi
call fcn.004ec6d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4facad
push esi
call fcn.004ec6d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x55df5c
push 0x53a334
sub ecx, eax
push ecx
push eax
call fcn.00504f08
add esp, 0x14
test eax, eax
je 0x4facad
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004eeaee
add esp, 0x14
jmp 0x4facaf
xor esi, esi
push 0x53a330
push ebx
push ebp
call fcn.00504e97
add esp, 0xc
test eax, eax
je 0x4faccf
push esi
push esi
push esi
push esi
push esi
call fcn.004eeaee
add esp, 0x14
push dword [edi*8 + 0x557c0c]
push ebx
push ebp
call fcn.00504e97
add esp, 0xc
test eax, eax
je 0x4facf1
push esi
push esi
push esi
push esi
push esi
call fcn.004eeaee
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0050796a
add esp, 0xc
jmp 0x4fad39
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4fad39
cmp ebp, 0xffffffff
je 0x4fad39
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x557c0c]
push dword [esi]
call fcn.004ec6d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x50796a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004fa620
xor ebx, ebx
cmp dword [0x55e6e8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x507a40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x507b20
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53af38
push edi
call esi
cmp eax, ebx
je 0x507b20
push eax
call fcn.004fa5b2
mov dword [esp], 0x53af28
push edi
mov dword [0x55e6e8], eax
call esi
push eax
call fcn.004fa5b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55e6ec], eax
call esi
push eax
call fcn.004fa5b2
mov dword [0x55e6f0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004f491c
test eax, eax
pop ecx
pop ecx
je 0x507a0e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004eeaee
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x507a40
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004fa5b2
cmp eax, ebx
pop ecx
mov dword [0x55e6f8], eax
je 0x507a40
push 0x53aee0
push edi
call esi
push eax
call fcn.004fa5b2
pop ecx
mov dword [0x55e6f4], eax
mov eax, dword [0x55e6f4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x507ac5
cmp dword [0x55e6f8], ecx
je 0x507ac5
push eax
call fcn.004fa629
push dword [0x55e6f8]
mov esi, eax
call fcn.004fa629
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x507ac5
cmp edi, ebx
je 0x507ac5
call esi
cmp eax, ebx
je 0x507a92
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x507a92
test byte [ebp - 0x18], 1
jne 0x507ac5
lea eax, [ebp - 0x10]
push eax
call fcn.004f4953
test eax, eax
pop ecx
je 0x507aad
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004eeaee
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x507abc
or dword [ebp + 0x10], 0x200000
jmp 0x507b00
or dword [ebp + 0x10], 0x40000
jmp 0x507b00
mov eax, dword [0x55e6ec]
cmp eax, dword [ebp - 8]
je 0x507b00
push eax
call fcn.004fa629
cmp eax, ebx
pop ecx
je 0x507b00
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x507b00
mov eax, dword [0x55e6f0]
cmp eax, dword [ebp - 8]
je 0x507b00
push eax
call fcn.004fa629
cmp eax, ebx
pop ecx
je 0x507b00
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x55e6e8]
call fcn.004fa629
cmp eax, ebx
pop ecx
je 0x507b20
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x507b22
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000139b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100013e1
mov eax, esp
mov dword [eax], 0xa6b92e
mov eax, dword [sym.imp.USER32.dll_ShowCaret]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x281
mov dword [ecx], 0x281
mov ecx, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov dword [ebp - 8], eax
call ecx
sub esp, 8
mov dword [ebp - 0xc], eax
jmp 0x1000144b
add esp, 0x34
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx + 8], 0xc6ff96
mov dword [ecx + 4], 0x8ac21
mov dword [ecx], 0xf68
mov dword [ebp - 0x10], eax
call sub.USER32.dll_PackDDElParam
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x414
mov ecx, dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [ebp - 0x10]
sub ecx, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x100013a8
jmp 0x1000142f
mov eax, dword [ebp - 0x10]
sub eax, 0x3c
mov dword [ebp - 0x20], eax
jne 0x1000144b
jmp 0x1000143c
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 0x24], eax
jmp 0x100013a8
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
cmp ecx, 0x61
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ecx
je 0x100013dc
jmp 0x100013e1
Function at 0x1011edde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x174
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1017bc88], 0x132a
mov dword [0x1017bc84], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
add edx, edi
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x3d2
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x1011ef23
jmp 0x1011ee17
mov eax, dword [ebp - 0x140]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10121634]
mov dh, byte [eax + 0x10121605]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x140], ecx
jne 0x1011ee76
lea eax, [ebp - 0x12c]
mov dword [0x1017bc88], 0x156a
mov dword [ebp - 0x144], eax
call fcn.1011f681
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1011ff97
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [0x1017bca4], eax
mov ecx, esp
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
jmp 0x1011ef3a
xor eax, eax
mov dword [0x1017bc84], 0x1177
mov dword [ebp - 0x140], eax
jmp 0x1011ee76
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0x178
add edx, ebx
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.1011f956
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x3d2
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
jne 0x1011ef3a
lea eax, [0x10121613]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x14c]
add esi, 0x277aa
mov edi, dword [ebp - 0x14c]
add edi, 0x372fd
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], esi
call fcn.1011f406
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.1011f9e2
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
mov dword [ecx], edx
mov dword [ecx + 4], 0x115e00
mov edx, dword [ebp - 0x170]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f50
add esp, 0x174
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011f08c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1011f198
jmp 0x1011f208
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x1011f208
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1011edde
lea ecx, [0x101201b4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], 0x115e00
mov dword [0x1017bc84], 0x15a6
mov edx, dword [0x1017bc70]
mov dword [esp + 0x64], edx
mov edx, dword [0x1017bc74]
mov dword [esp + 0x40], edx
mov edx, dword [0x1017bc78]
mov dword [esp + 0x58], edx
mov edx, dword [0x1017bc7c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1017bc80]
mov dword [esp + 0x80], edx
mov dword [0x1017bc88], 0x109b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x1011f1cd
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov dword [0x1017bc84], 0xfffff682
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1011fc3f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1017bc84]
add ecx, 0xffffe5c3
mov dword [0x1017bc88], ecx
mov dword [esp + 0x20], eax
jmp 0x1011f0b4
lea eax, [esp + 0x38]
mov ecx, dword [0x1017bc84]
add ecx, 0xffffefd3
mov dword [0x1017bc84], ecx
mov dword [esp + 0xc], eax
call fcn.1011f569
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x1011f0c1
jmp 0x1011f0b4
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1011f1f4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1011f139
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x1011f1cd
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1011f287
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 dword [ebp - 0x10], eax
call fcn.1011fd7b
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 0x1011f2c3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1017bc88], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1017bc84], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1011f37a
jmp 0x1011f38e
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1011f385
jmp 0x1011f3a6
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
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 [0x1017bc84], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x1011f37a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x1011f30e
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1011f339
jmp 0x1011f3d4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jmp 0x1011f35e
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x1011f30e
jmp 0x1011f385
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x34], eax
jb 0x1011f35e
jmp 0x1011f37a
Function at 0x1011f406
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 edi, dword [0x1017bc88]
add edi, 0x53c
mov dword [0x1017bc88], edi
mov dword [0x1017bc90], 0
mov byte [0x1017bc94], 0
mov dword [0x1017bc8c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1011f482
mov dword [0x1017bc84], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1017bc84], 0x182
mov dword [0x1017bc8c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1011f4c3
mov eax, dword [ebp - 0x1c]
mov dword [0x1017bc88], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1017bc88]
add eax, 0x325
mov dword [0x1017bc88], eax
mov eax, dword [0x1017bc8c]
add eax, 1
mov dword [0x1017bc8c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1011f482
jmp 0x1011f467
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 [0x1017bc98], 0
mov edi, dword [0x1017bc90]
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 [0x1017bc98], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1017bc90], edx
mov dword [0x1017bc84], 0x918
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1017bc94], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x1017bc84], 0x16c8
mov cl, byte [0x1017bc94]
mov esi, dword [0x1017bc90]
mov byte [ebx + esi], cl
mov esi, dword [0x1017bc8c]
add esi, 1
mov dword [0x1017bc8c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1011f4c3
jmp 0x1011f455
Function at 0x1011f569
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1011f627
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1011f5ba
jmp 0x1011f616
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1011f5ec
jmp 0x1011f616
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1011f655
jmp 0x1011f616
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1011f679
jmp 0x1011f616
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1011f5cf
jmp 0x1011f616
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1011f627
jmp 0x1011f63d
xor eax, eax
mov dword [0x1017bc84], 0x982
mov dword [ebp - 0x18], eax
jmp 0x1011f679
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x1011f5fd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1011f598
jmp 0x1011f616
mov eax, dword [0x1017bc84]
add eax, 0xfffff36e
mov dword [0x1017bc84], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1011f5a9
jmp 0x1011f616
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x1011f9e2
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 dword [0x1017bc8c], 0
cmp eax, 0
sete bl
mov dword [0x1017bc90], 0
mov dword [0x1017bc9c], 0
mov dword [0x1017bc84], 0x53e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x1011fb3f
jmp 0x1011fa53
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x1017bc88], 0xb88
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1017bc8c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1017bc90], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1017bc94], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1017bc84]
add edx, 0x20cc
mov dword [0x1017bc84], edx
mov cl, byte [0x1017bc94]
mov edx, dword [0x1017bc90]
mov byte [edi + edx], cl
mov edx, dword [0x1017bc8c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1017bc90]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1017bc9c], ebx
mov dword [0x1017bc84], 0x395
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x3c], edx
je 0x1011fb3f
mov eax, dword [0x1017bc8c]
mov ecx, dword [0x1017bc90]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
jmp 0x1011fa53
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011fc3f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1017bc88]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x1017bc84], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10121634]
mov dh, byte [eax + 0x10121605]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x38], ecx
jne 0x1011fc6f
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x1017bc88], ecx
mov dword [ebp - 0x3c], eax
call fcn.1011f681
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1011ff97
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x1011fd72
mov eax, dword [ebp - 0x40]
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 - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1011fb47
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
add eax, 0x3c
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1fd9
mov edx, dword [ebp - 0x48]
mov dword [edx], 0xc0
mov esi, dword [ebp - 0x44]
mov dword [esi + 0xc0], 0x4550
add esi, 0xffc00000
mov dword [0x1017bc84], 0x21cb
mov edi, dword [ebp - 0x30]
mov dword [edi + 0x10], esi
mov esi, dword [ebp - 0x44]
mov dword [edi + 0xc], esi
cmp esi, 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
je 0x1011fd68
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add esp, 0x58
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x58
pop esi
pop edi
pop ebp
ret