joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401060
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x84a12c], 0x594
mov dword [ebp - 8], eax
jne 0x40108c
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x42c0c8]
mov edx, dword [0x42c0cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
call fcn.00401050
mov eax, dword [0x42c0d0]
mov ecx, dword [0x42c0d4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x20
jmp 0x4010d0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84a12c]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401156
push edi
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00404300
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], dx
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push str.sulabuwaxase
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84a12c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401170
mov dword [0x84a128], 0xedeb2e40
jmp 0x401190
cmp ecx, 0x3eb
jne 0x401190
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x849adc], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0x84a124], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401040
sub ebx, 1
jne 0x4010d0
cmp dword [0x84a12c], 0xa6d
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
jne 0x401233
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401650
Capabilities:
Get system information on windows
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x84a12c], 0x400
push esi
push edi
jne 0x401695
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.giyefurefotonigukefezofokalapo
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
lea eax, [ebp - 0x24]
call fcn.00401760
lea esi, [ebp - 0x24]
call fcn.00401780
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x4016b3
cmp ebx, 0x78abdb45
jne 0x4016bc
inc esi
cmp esi, 0x1c5d
jl 0x4016a1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4016ed
inc esi
cmp esi, 0x4f6a4
jl 0x4016d0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40170c
cmp ebx, 0x785074d5
jne 0x401715
inc esi
cmp esi, 0x11915
jl 0x4016f8
mov ecx, dword [0x42c6f4]
mov dword [0x84a12c], ecx
call fcn.00401390
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
cmp dword [0x84a12c], 0x51f
jne 0x401744
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401732
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404770
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b868]
jne 0x40477a
repz ret
jmp fcn.00408419
Function at 0x408265
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.004037e3
and dword [ebp - 4], 0
cmp dword [0x42d0e4], 0
mov ebx, eax
jne 0x408316
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4083c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4083c7
push eax
call fcn.00403771
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d0e4], eax
call esi
push eax
call fcn.00403771
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d0e8], eax
call esi
push eax
call fcn.00403771
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d0ec], eax
call esi
push eax
call fcn.00403771
pop ecx
mov dword [0x42d0f4], eax
test eax, eax
je 0x408316
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403771
pop ecx
mov dword [0x42d0f0], eax
mov eax, dword [0x42d0f0]
cmp eax, ebx
je 0x40836e
cmp dword [0x42d0f4], ebx
je 0x40836e
push eax
call fcn.004037ec
push dword [0x42d0f4]
mov esi, eax
call fcn.004037ec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40836e
test edi, edi
je 0x40836e
call esi
test eax, eax
je 0x408365
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408365
test byte [ebp - 0xc], 1
jne 0x40836e
or dword [ebp + 0x10], 0x200000
jmp 0x4083a7
mov eax, dword [0x42d0e8]
cmp eax, ebx
je 0x4083a7
push eax
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083a7
mov eax, dword [0x42d0ec]
cmp eax, ebx
je 0x4083a7
push eax
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d0e4]
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4083c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x78b337c3
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x69852009
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x72a990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21c000]
lea eax, [edi + 0x2e36ac]
push dword [eax]
mov dword [eax], 0x6733278
push eax
push edi
jmp 0x72a9ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x72a9c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72a9b0
mov eax, 1
add ebx, ebx
jne 0x72a9d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x72a9e4
jne 0x72aa03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72aa03
dec eax
add ebx, ebx
jne 0x72a9f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x72a9c8
add ebx, ebx
jne 0x72a9ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x72aa55
xor ecx, ecx
sub eax, 3
jb 0x72aa1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x72aa8a
sar eax, 1
mov ebp, eax
jmp 0x72aa26
add ebx, ebx
jne 0x72aa26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72a9f4
inc ecx
add ebx, ebx
jne 0x72aa34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72a9f4
add ebx, ebx
jne 0x72aa41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x72aa36
jne 0x72aa52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x72aa36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x72aa74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x72aa66
jmp 0x72a9b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x72aa74
add edi, ecx
jmp 0x72a9b6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc11b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x72aa96
cmp byte [edi], 0x3a
jne 0x72aa96
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 0x72aa9b
lea edi, [esi + 0x318000]
mov eax, dword [edi]
or eax, eax
je 0x72ab13
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x32e6ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32e8d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x72aac8
mov ecx, edi
jns 0x72aaf7
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 + 0x32e8e0]
or eax, eax
je 0x72ab0d
mov dword [ebx], eax
add ebx, 4
jmp 0x72aae5
call dword [esi + 0x32e8dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x72ab44
cmp al, 0xef
ja 0x72ab37
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x72ab19
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x72ab26
mov ebp, dword [esi + 0x32e8e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x2af]
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 0x72ab78
sub esp, 0xffffff80
jmp 0x56a7c8
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x2525282d
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x40d83fc0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000c1b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1027cdd0]
jne 0x1000c1c1
repz ret
jmp fcn.1000eccc

Function at 0x100109d1
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.1000ab07
and dword [ebp - 4], 0
cmp dword [0x1027e050], 0
mov ebx, eax
jne 0x10010a82
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10010b33
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10010b33
push eax
call fcn.1000aa95
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1027e050], eax
call esi
push eax
call fcn.1000aa95
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1027e054], eax
call esi
push eax
call fcn.1000aa95
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1027e058], eax
call esi
push eax
call fcn.1000aa95
pop ecx
mov dword [0x1027e060], eax
test eax, eax
je 0x10010a82
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000aa95
pop ecx
mov dword [0x1027e05c], eax
mov eax, dword [0x1027e05c]
cmp eax, ebx
je 0x10010ada
cmp dword [0x1027e060], ebx
je 0x10010ada
push eax
call fcn.1000ab10
push dword [0x1027e060]
mov esi, eax
call fcn.1000ab10
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10010ada
test edi, edi
je 0x10010ada
call esi
test eax, eax
je 0x10010ad1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10010ad1
test byte [ebp - 0xc], 1
jne 0x10010ada
or dword [ebp + 0x10], 0x200000
jmp 0x10010b13
mov eax, dword [0x1027e054]
cmp eax, ebx
je 0x10010b13
push eax
call fcn.1000ab10
pop ecx
test eax, eax
je 0x10010b13
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10010b13
mov eax, dword [0x1027e058]
cmp eax, ebx
je 0x10010b13
push eax
call fcn.1000ab10
pop ecx
test eax, eax
je 0x10010b13
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027e050]
call fcn.1000ab10
pop ecx
test eax, eax
je 0x10010b33
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10010b35
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001331c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10012e84
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov dword [esp + 0x94], 0x13be00
mov edx, dword [0x1027c548]
mov dword [esp + 0x88], edx
mov edx, dword [0x1027c54c]
mov dword [esp + 0x8c], edx
mov dword [0x1027c55c], 0x5bf
mov edx, dword [0x1027c550]
mov dword [esp + 0x84], edx
mov edx, dword [0x1027c554]
mov dword [esp + 0x64], edx
mov edx, dword [0x1027c558]
add ecx, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
lea eax, [0x10013ad2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov dword [esp + 0x1c], eax
jmp 0x1001342a
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100135cd
mov dword [0x1027c560], 0x1f85
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1027c55c], 0x1c7
mov dword [esp + 0x18], eax
jmp 0x10013481
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1001342a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1001343b
jmp 0x10013400
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x10013414
jmp 0x10013400
lea eax, [esp + 0x40]
add eax, 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x90], esi
mov dword [0x1027c55c], 0x1307
call fcn.10014258
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x100133bd
mov eax, dword [esp + 0x18]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100135cd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1027c560], 0x1b1
mov dword [0x1027c55c], 0x132c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1001520d]
mov dl, byte [eax + 0x100151de]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x100136af
jmp 0x100135f8
mov eax, dword [ebp - 0x30]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10013967
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1027c560], 0x32b
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x38], ecx
mov dword [0x1027c55c], 0xc1f
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x100136e7
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [0x1027c55c], 0xfffefc67
mov dword [ebp - 0x3c], eax
call fcn.10014610
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.100137c3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x100136a7
jmp 0x10013624
mov eax, dword [ebp - 0x34]
add eax, 0x2693
mov dword [ebp - 0x40], eax
mov dword [0x1027c55c], 0x16db
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x100136a7
Function at 0x10013eb5
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 [0x1027c568], 0
mov byte [0x1027c56c], 0
mov dword [0x1027c55c], 0xffffeadc
mov dword [0x1027c564], 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 dword [0x1027c560], 0x668
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1027c55c], 0x19bf
mov eax, dword [0x1027c564]
add eax, 1
mov dword [0x1027c564], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10013efa
xor eax, eax
mov dword [0x1027c564], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1027c570], 0
mov dword [0x1027c55c], 0xf1e
mov edx, dword [0x1027c568]
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 [0x1027c570], edi
mov dword [0x1027c55c], 0x1e0c
mov eax, edi
cdq
idiv ecx
mov dword [0x1027c568], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1027c56c], cl
mov dword [0x1027c55c], 0x104f
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1027c56c]
mov edx, dword [0x1027c568]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1027c55c]
add edx, 0xfffff4c8
mov dword [0x1027c55c], edx
mov edx, dword [0x1027c564]
add edx, 1
mov dword [0x1027c564], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10013f43
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10014097
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov ecx, dword [0x1027c55c]
add ecx, 0x2480
mov dword [0x1027c560], ecx
mov dword [0x1027c55c], 0xa8f
mov dword [ebp - 0x10], eax
call fcn.1001348b
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x100140eb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1027c560]
mov edx, ecx
add edx, 0xffffe736
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [0x1027c55c], ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 0x78]
mov edi, dword [ebp - 0x14]
add edi, dword [edi + esi + 0x20]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + esi + 0x24]
mov edx, dword [ebp - 0x24]
add edx, 0xffffd011
mov dword [0x1027c560], edx
mov edx, dword [ebx + esi + 0x18]
cmp edx, 0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
je 0x1001424d
jmp 0x10014194
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
setb bl
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x4d], bl
xor eax, eax
mov cl, byte [ebp - 0x4d]
test cl, 1
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x3c], eax
jne 0x100141a4
jmp 0x1001424d
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov esi, dword [ebp - 0x38]
mov edi, dword [esi + eax*4]
mov ebx, dword [ebp - 0x24]
add ebx, 0xffffe581
mov dword [0x1027c560], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x64], eax
mov byte [ebp - 0x65], bh
mov byte [ebp - 0x66], cl
je 0x1001421e
mov eax, dword [ebp - 0x64]
add eax, 1
mov cl, byte [ebp - 0x65]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x66]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x60], eax
jne 0x100141cd
mov al, byte [ebp - 0x66]
test al, 1
jne 0x1001422a
jmp 0x10014154
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x1027c55c], 0x348a
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x3c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret