joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0xf9c8
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 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x47c948], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x47c944]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x47c948], 0x3eb
mov dword [0x47c944], eax
mov eax, dword [0x47c3d0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x47c3d0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x47c940], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x47c948], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.Poh_pabatosipixalilasexamupopajohija_xopitotazucepewifodufalejilemi_karemabuzaniyuzavegusaribufate
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d337
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aeb
mov dword [ebp - 0x14], eax
cmp dword [0x4370dc], esi
jne 0x40d42a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d50a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d50a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d50a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4370dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4370e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4370e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4370ec], eax
test eax, eax
je 0x40d427
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4370e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d44f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d442
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d464
push 4
pop eax
jmp 0x40d50c
cmp dword [ebp - 0x14], esi
je 0x40d464
push dword [0x4370dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d449
mov eax, dword [0x4370e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4c2
cmp dword [0x4370ec], edi
je 0x40d4c2
push eax
call ebx
push dword [0x4370ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4c2
test eax, eax
je 0x40d4c2
call ecx
test eax, eax
je 0x40d4b7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4b7
test byte [ebp - 8], 1
jne 0x40d4c2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4f2
mov eax, dword [0x4370e0]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
call eax
mov esi, eax
test esi, esi
je 0x40d4ef
mov eax, dword [0x4370e4]
cmp eax, edi
je 0x40d4ef
push eax
call ebx
test eax, eax
je 0x40d4ef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4370dc]
call ebx
test eax, eax
je 0x40d50a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d50c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404010
mov esp, ebp
pop ebp
ret
Function at 0xda9290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6c3000]
push edi
jmp 0xda92aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xda92b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xda92a0
mov eax, 1
add ebx, ebx
jne 0xda92c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xda92d4
jne 0xda92f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xda92f3
dec eax
add ebx, ebx
jne 0xda92e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xda92b8
add ebx, ebx
jne 0xda92ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xda9345
xor ecx, ecx
sub eax, 3
jb 0xda930b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xda937a
sar eax, 1
mov ebp, eax
jmp 0xda9316
add ebx, ebx
jne 0xda9316
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xda92e4
inc ecx
add ebx, ebx
jne 0xda9324
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xda92e4
add ebx, ebx
jne 0xda9331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xda9326
jne 0xda9342
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xda9326
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xda9364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xda9356
jmp 0xda92a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xda9364
add edi, ecx
jmp 0xda92a6
pop esi
mov edi, esi
mov ecx, 0x44547c
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xda939f
cmp byte [edi], 0x87
jne 0xda9384
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 0xda9382
lea edi, [esi + 0x98c000]
mov eax, dword [edi]
or eax, eax
je 0xda93f0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9c3de8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9c3e24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xda93a5
mov ecx, edi
jns 0xda93d4
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 + 0x9c3e28]
or eax, eax
je 0xda93ea
mov dword [ebx], eax
add ebx, 4
jmp 0xda93c2
call dword [esi + 0x9c3e38]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xda9421
cmp al, 0xef
ja 0xda9414
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xda93f6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xda9403
mov ebp, dword [esi + 0x9c3e2c]
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 0xda9455
sub esp, 0xffffff80
jmp 0x7a911d
Function at 0x101886ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101f7440]
jne 0x101886d8
repz ret
jmp fcn.101895ec

Function at 0x1018a7eb
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.10187a84
and dword [ebp - 4], 0
cmp dword [0x101f921c], 0
mov ebx, eax
jne 0x1018a89c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018a94d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018a94d
push eax
call fcn.10187a12
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101f921c], eax
call esi
push eax
call fcn.10187a12
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101f9220], eax
call esi
push eax
call fcn.10187a12
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101f9224], eax
call esi
push eax
call fcn.10187a12
pop ecx
mov dword [0x101f922c], eax
test eax, eax
je 0x1018a89c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10187a12
pop ecx
mov dword [0x101f9228], eax
mov eax, dword [0x101f9228]
cmp eax, ebx
je 0x1018a8f4
cmp dword [0x101f922c], ebx
je 0x1018a8f4
push eax
call fcn.10187a8d
push dword [0x101f922c]
mov esi, eax
call fcn.10187a8d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1018a8f4
test edi, edi
je 0x1018a8f4
call esi
test eax, eax
je 0x1018a8eb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018a8eb
test byte [ebp - 0xc], 1
jne 0x1018a8f4
or dword [ebp + 0x10], 0x200000
jmp 0x1018a92d
mov eax, dword [0x101f9220]
cmp eax, ebx
je 0x1018a92d
push eax
call fcn.10187a8d
pop ecx
test eax, eax
je 0x1018a92d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018a92d
mov eax, dword [0x101f9224]
cmp eax, ebx
je 0x1018a92d
push eax
call fcn.10187a8d
pop ecx
test eax, eax
je 0x1018a92d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101f921c]
call fcn.10187a8d
pop ecx
test eax, eax
je 0x1018a94d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1018a94f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1018b935
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 [ebp - 0x10], eax
call fcn.1018c970
xor ecx, ecx
mov edx, eax
mov esi, dword [0x101f6c8c]
add esi, 0x1e9f
mov dword [0x101f6c90], esi
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 0x1018b983
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101f6c8c], 0x1ee2
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 0x1018ba9e
jmp 0x1018ba05
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 0x1018ba19
jmp 0x1018ba22
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 [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x1018b9be
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 0x1018b9e9
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1018ba7b
jmp 0x1018ba51
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 0x1018b9be
jmp 0x1018ba19
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 - 0x44], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jb 0x1018b9e9
jmp 0x1018ba9e
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101f6c8c], 0xe82
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018bb77
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 [0x101f6c8c], 0x1094
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1018bc46
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 [0x101f6c8c], 0x1666
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1018c496
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov dword [0x101f6c90], 0x225e
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x1c], ecx
mov dword [0x101f6c8c], 0x6c0
add ecx, 0x272c
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1018bc3d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a55c]
mov dh, byte [eax + 0x1019a52d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1018bc46
lea eax, [ebp - 0x24]
mov dword [0x101f6c90], 0x2682
mov dword [0x101f6c8c], 0x1830
mov dword [ebp - 0x44], eax
call fcn.1018bac0
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1018b80b
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x1018bb9e
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1018beea
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x101f6c90], 0x350
mov dword [ebp - 4], 0
mov dword [0x101f6c8c], 0x1212
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 0x1018bf69
mov eax, dword [ebp - 0x14]
mov dword [0x101f6c90], 0x17f8
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1018bfa2
jmp 0x1018c01e
mov dword [0x101f6c8c], 0xb66
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1018bfda
jmp 0x1018c01e
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 - 0x14], edx
je 0x1018bf2a
jmp 0x1018bf89
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1018bf69
jmp 0x1018bf2a
mov dword [0x101f6c8c], 0xf85
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1018c01e
mov dword [0x101f6c8c], 0x2175
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1018bf4b
jmp 0x1018c01e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1018c01e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1018c01e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x1018c01e
mov eax, 1
mov dword [0x101f6c90], 0xeaf
mov dword [ebp - 0x20], eax
jmp 0x1018bf81
xor eax, eax
mov dword [0x101f6c8c], 0xda6
mov dword [ebp - 0x20], eax
jmp 0x1018bf81
Function at 0x1018c70f
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 [0x101f6c8c], 0x1f4f
mov dword [0x101f6c98], 0
mov byte [0x101f6c9c], 0
mov dword [0x101f6c94], 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 eax, dword [0x101f6c94]
add eax, 1
mov dword [0x101f6c94], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018c754
jmp 0x1018c81e
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101f6ca0], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101f6c98]
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 [0x101f6ca0], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101f6c98], edx
mov dword [0x101f6c90], 0x9a3
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101f6c9c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101f6c9c]
mov esi, dword [0x101f6c98]
mov byte [ebx + esi], cl
mov esi, dword [0x101f6c94]
add esi, 1
mov dword [0x101f6c94], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1018c77f
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [0x101f6c8c]
add ecx, 0x1879
mov dword [0x101f6c90], ecx
mov dword [0x101f6c94], 0
mov dword [ebp - 0x20], eax
jmp 0x1018c77f
Function at 0x1018cae2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f6c94], 0
mov dword [0x101f6c98], 0
mov dword [0x101f6ca4], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x1018cb3f
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101f6c8c], 0x1117
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101f6c94], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101f6c98], edx
mov dword [0x101f6c90], 0x1d4a
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101f6c9c], cl
mov dword [0x101f6c90], 0xde
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101f6c8c]
add edx, 0xfffff139
mov dword [0x101f6c8c], edx
mov cl, byte [0x101f6c9c]
mov edx, dword [0x101f6c98]
mov byte [ebx + edx], cl
mov edx, dword [0x101f6c94]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101f6c98]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x101f6c90]
mov esi, edx
add esi, 0xffffed9e
mov dword [0x101f6c8c], esi
and ecx, 0xff
mov dword [0x101f6ca4], ecx
add edx, 0xffffd6c7
mov dword [0x101f6c90], edx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101f6c8c], 0x1c45
xor ch, cl
mov byte [0x101f6ca8], ch
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101f6c90], 0x1677
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1018cb37
mov eax, dword [0x101f6c94]
mov ecx, dword [0x101f6c98]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1018cb3f
Function at 0x1018cc74
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x101f6c8c]
add edx, 0x25b9
mov dword [0x101f6c8c], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1018c140
lea ecx, [0x1018c42d]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], 0x13a200
mov dword [0x101f6c90], 0xae6
mov edx, dword [0x101f6c78]
mov dword [esp + 0x24], edx
mov edx, dword [0x101f6c7c]
mov dword [esp + 0x68], edx
mov edx, dword [0x101f6c80]
mov dword [esp + 0x40], edx
mov edx, dword [0x101f6c84]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101f6c88]
mov dword [esp + 0x5c], edx
mov dword [0x101f6c8c], 0x6f5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1018cd2e
mov dword [0x101f6c90], 0x3ad
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1018cd12
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1018cd12
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [0x101f6c90], 0x2594
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
call fcn.1018beea
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1018cdc0
lea eax, [esp + 0x20]
mov ecx, dword [0x101f6c8c]
add ecx, 0x20eb
mov dword [0x101f6c8c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1018bb77
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]
mov esp, ebp
pop ebp
ret