joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, esp
add eax, edi
push 0
push 0
push 0x3c
push 0xc5
call sub.kernel32.dll_GetLocaleInfoA
sub esi, eax
mov ecx, eax
mov eax, ebx
xor eax, eax
mov esi, dword [section..data]
mov dword [ebp - 0x10], esi
mov dword [section..data], esi
mov dword [section..data], esi
mov dword [ebp - 0xc], ebx
mov ebx, edx
add eax, 1
cmp eax, 0x1d4c
jb 0x401028
xor edx, esi
leave
ret

Function at 0x401060
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, ebx
push 0
push 0
push 0xbe
push 0xdd
call sub.kernel32.dll_GetLocaleInfoA
mov esi, dword [0x405004]
sub dword [ebp - 0x10], esi
xor ecx, dword [0x405008]
xor eax, edi
mov dword [0x40500c], edx
push 0x405010
call sub.kernel32.dll_GetLocalTime
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
mov ebx, esp
add edi, dword [0x405004]
leave
ret

Function at 0x4010b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x32
push 0x405026
push 0xd4
push 0
call sub.user32.dll_LoadStringA
mov dword [ebp - 0x1c], eax
sub dword [0x405058], eax
mov eax, dword [ebp - 0x10]
mov edx, ebx
push 0
push 0
push 0xf9
push 0xf3
call sub.kernel32.dll_GetLocaleInfoA
add edx, ebx
xor esi, esp
add esi, ebx
xor edx, ecx
xor edx, edx
mov eax, esp
test eax, eax
jle 0x401112
mov ecx, dword [0x40505c]
sub dword [0x405004], ebx
sub dword [ebp - 0x14], edi
mov ebx, edx
mov esi, dword [0x405058]
sub esi, ebp
mov eax, edx
add edx, 1
cmp edx, 0x10f4
jb 0x4010f7
xor esi, esi
sub dword [0x405060], ecx
mov edx, dword [ebp - 0x10]
test esi, esi
jne 0x40114d
sub edx, ecx
add edx, dword [0x405004]
mov edi, dword [ebp - 0x2c]
mov ebx, ecx
mov edx, ecx
mov dword [0x405064], edx
mov dword [ebp - 0xc], ecx
add esi, 1
cmp esi, 0x412
jb 0x40112d
leave
ret
Function at 0x401170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, ebx
mov eax, dword [0x405026]
mov edi, dword [ebp - 0x24]
mov ebx, edi
sub dword [0x405068], edi
add dword [ebp - 8], edi
push 0x19
call fcn.00401000
add esp, 4
mov dword [ebp - 0x10], edi
xor eax, dword [ebp - 0x14]
xor eax, eax
push eax
push 0xeb
call sub.user32.dll_GetSystemMetrics
pop eax
cmp ecx, 0x74
je 0x4011de
cmp ecx, 0x94
je 0x4011f0
cmp ecx, 0xa8
je 0x401221
xor ecx, eax
xor dword [ebp - 0x10], ebx
jmp 0x401284
mov dword [ebp - 0x1c], edi
add edi, ebx
xor ebx, esp
mov edx, dword [0x405058]
jmp 0x401284
add dword [0x405026], ecx
test esi, esi
jns 0x401211
mov edx, ebx
mov dword [ebp - 0x24], edi
mov edx, dword [0x405058]
mov ecx, ebx
mov dword [section..data], edx
mov dword [ebp - 0xc], edi
add esi, esp
xor dword [0x40506c], edx
jmp 0x401284
push eax
push 0
push 0
push 0x29
push 0xa0
call sub.kernel32.dll_GetLocaleInfoA
pop eax
test esi, esi
jle 0x40124f
mov edx, ebx
mov esi, ebx
mov edi, esi
mov dword [0x405026], esi
jmp 0x401282
xor dword [ebp - 0x20], ebx
test edi, edi
jns 0x40127c
sub ecx, dword [ebp - 0x20]
add edx, ebp
sub ebx, ecx
push eax
push 0
push 0
push 5
push 0xb4
call sub.kernel32.dll_GetLocaleInfoA
pop eax
mov edx, dword [section..data]
mov dword [0x405058], ebx
sub ebx, edi
mov ecx, ebx
mov edx, esp
mov dword [ebp - 8], edx
xor ecx, edx
add eax, 1
cmp eax, 0x32a
jb 0x4011a4
mov esi, edi
push 0xe7
call fcn.00401000
add esp, 4
leave
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7da3257
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xcae2280
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x456e26
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.00456dcf
test eax, eax
je 0x456f7f
lea ecx, [esp + 0x18]
call fcn.00456dcf
lea ecx, [esp + 0x18]
test eax, eax
je 0x456eee
call fcn.00456dcf
test eax, eax
je 0x456eb0
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.00456dcf
lea edi, [eax + edi*2]
dec ebx
jne 0x456e86
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x456ea7
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x456eaa
mov byte [edx], 0
inc edx
jmp 0x456f91
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x456ee6
test ecx, ecx
je 0x456f7a
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x456ed8
jmp 0x456f76
xor ebp, ebp
inc ebp
jmp 0x456f7a
call fcn.00456e05
test edi, edi
jne 0x456f23
cmp eax, 2
jne 0x456f1e
lea ecx, [esp + 0x18]
call fcn.00456e05
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x456f7a
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x456f13
jmp 0x456f76
sub eax, 3
jmp 0x456f26
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00456e05
mov ecx, eax
cmp esi, 0x7d00
jb 0x456f4d
inc ecx
cmp esi, 0x500
jb 0x456f56
inc ecx
cmp esi, 0x80
jae 0x456f61
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x456f7a
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x456f6d
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x456f97
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x456e56
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45711c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x45714e
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x45712f
jmp 0x457152
mov eax, dword [esp + 0x10]
test edi, edi
je 0x45715c
xor byte [esi], al
inc esi
dec edi
jne 0x457156
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x10183596
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a2754]
jne 0x101835a0
repz ret
jmp fcn.10184bc9

Function at 0x10185b08
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.10182fbc
and dword [ebp - 4], 0
cmp dword [0x101a4cf4], 0
mov ebx, eax
jne 0x10185bb9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10185c6a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10185c6a
push eax
call fcn.10182f4a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101a4cf4], eax
call esi
push eax
call fcn.10182f4a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a4cf8], eax
call esi
push eax
call fcn.10182f4a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a4cfc], eax
call esi
push eax
call fcn.10182f4a
pop ecx
mov dword [0x101a4d04], eax
test eax, eax
je 0x10185bb9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10182f4a
pop ecx
mov dword [0x101a4d00], eax
mov eax, dword [0x101a4d00]
cmp eax, ebx
je 0x10185c11
cmp dword [0x101a4d04], ebx
je 0x10185c11
push eax
call fcn.10182fc5
push dword [0x101a4d04]
mov esi, eax
call fcn.10182fc5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10185c11
test edi, edi
je 0x10185c11
call esi
test eax, eax
je 0x10185c08
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10185c08
test byte [ebp - 0xc], 1
jne 0x10185c11
or dword [ebp + 0x10], 0x200000
jmp 0x10185c4a
mov eax, dword [0x101a4cf8]
cmp eax, ebx
je 0x10185c4a
push eax
call fcn.10182fc5
pop ecx
test eax, eax
je 0x10185c4a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10185c4a
mov eax, dword [0x101a4cfc]
cmp eax, ebx
je 0x10185c4a
push eax
call fcn.10182fc5
pop ecx
test eax, eax
je 0x10185c4a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a4cf4]
call fcn.10182fc5
pop ecx
test eax, eax
je 0x10185c6a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10185c6c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10187a7a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x101a2114]
add eax, 0xffffda07
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [0x101a2114], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x10187aba
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [0x101a2114], 0xbdc
mov dword [esp + 0x24], eax
call fcn.10188d36
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x10187bf4
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10187ca6
mov dword [0x101a2118], 0xb1d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
lea eax, [0x10188fc6]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], 0x11de00
mov edx, dword [0x101a2100]
mov dword [esp + 0x84], edx
mov edx, dword [0x101a2104]
mov dword [esp + 0x40], edx
mov edx, dword [0x101a2108]
mov dword [esp + 0x78], edx
mov edx, dword [0x101a210c]
mov dword [esp + 0x4c], edx
mov dword [0x101a2114], 0x135a
mov edx, dword [0x101a2110]
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10187b83
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10187b97
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10187b60
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], esi
mov dword [0x101a2114], 0x111c
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10187f42
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101a2114]
add ecx, 0xfffff0fe
mov dword [0x101a2114], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jmp 0x10187ab0
Function at 0x10187ca6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101a2114], 0x483
mov dword [0x101a2118], 0xa86
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
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xf8
mov esi, dword [edi]
mov edi, eax
shl edi, 8
add edx, edi
add edx, 0xd0
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x151
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10187cdf
lea eax, [0x1018a6a9]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x101a2118], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.1018866e
mov dword [0x101a2114], 0x2e3
mov dword [0x101a2118], 0x2085
call fcn.101881f3
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.1018844f
mov ecx, eax
mov dword [0x101a2134], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xf8
mov esi, dword [edi]
mov edi, eax
shl edi, 8
mov ebx, edx
add ebx, edi
add ebx, 0xc0
mov edi, dword [ebx]
mov ebx, eax
shl ebx, 8
add edx, ebx
add edx, 0xd0
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10188f18
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x151
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x10187ddd
lea eax, [0x1018a6b7]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x101a2114], 0x1ad9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10188a0f
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101887d2
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x51162
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, dword [0x101a2118]
add ecx, 0xfffff632
mov dword [0x101a2114], ecx
mov dword [edx + 4], 0x11de00
mov ecx, dword [ebp - 0x148]
add ecx, 0x4679c
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f60
mov ecx, dword [0x101a2114]
add ecx, 0xffffe960
mov dword [0x101a2118], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10187f42
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1018a6a9]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101a2114], 0x90d
mov dword [0x101a2118], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1018866e
mov eax, dword [0x101a2114]
add eax, 0x1da2
mov dword [0x101a2118], eax
call fcn.101881f3
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018844f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x10187fce
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x101a2118], 0xc01
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 [0x101a2114], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10188297
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x101a2118], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x48], ecx
mov ecx, dword [0x101a2118]
add ecx, 0xffffeed3
mov dword [0x101a2118], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x1c], ecx
mov dword [0x101a2114], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10187fc4
mov eax, dword [ebp - 0x44]
add eax, 0x106b
mov dword [0x101a2118], 0x1479
mov dword [ebp - 0x40], eax
jmp 0x10187fc4
Function at 0x101887d2
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 [0x101a211c], 0
mov dword [0x101a2120], 0
mov dword [0x101a212c], 0
mov ebx, dword [0x101a2114]
add ebx, 0x5f1
mov dword [0x101a2114], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
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 0x10188951
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0x214e
mov dword [0x101a2114], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101a211c], edx
mov dword [0x101a2118], 0xe94
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101a2120], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101a2124], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x101a2114], 0x20fe
mov cl, byte [0x101a2124]
mov edx, dword [0x101a2120]
mov byte [edi + edx], cl
mov edx, dword [0x101a211c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101a2120]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101a212c], ebx
mov dword [0x101a2114], 0x211
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x101a2131], ch
mov byte [0x101a2132], cl
mov dword [0x101a2114], 0x1106
xor ch, cl
mov byte [0x101a2130], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10188951
mov eax, dword [0x101a2114]
mov ecx, dword [0x101a2120]
mov edx, dword [0x101a211c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10188840
mov eax, dword [0x101a2118]
add eax, 0x221
mov dword [0x101a2118], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10188a0f
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]
mov dword [0x101a2120], 0
mov byte [0x101a2124], 0
mov dword [0x101a2114], 0x9b7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101a211c], 0
mov dword [ebp - 0x1c], eax
jmp 0x10188a83
xor eax, eax
mov dword [0x101a211c], 0
mov dword [ebp - 0x20], eax
jmp 0x10188ab5
mov dword [0x101a2114], 0x20f6
mov dword [0x101a2118], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a2114], 0x1a34
mov eax, dword [0x101a211c]
add eax, 1
mov dword [0x101a211c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10188a83
jmp 0x10188a56
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101a2128], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101a2118], 0xa70
mov edi, dword [0x101a2120]
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 [0x101a2128], esi
mov dword [0x101a2114], 0x2605
mov eax, esi
cdq
idiv ecx
mov dword [0x101a2120], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a2124], cl
mov dword [0x101a2118], 0x1d7f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101a2114], 0x14bd
mov cl, byte [0x101a2124]
mov esi, dword [0x101a2120]
mov byte [ebx + esi], cl
mov esi, dword [0x101a211c]
add esi, 1
mov dword [0x101a211c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10188ab5
jmp 0x10188a67
Function at 0x10188b6f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x101a2114]
add ecx, 0x89f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [0x101a2114], eax
mov dword [0x101a2118], 0x1fa4
call fcn.10187946
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 - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edi
je 0x10188bcc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov dword [0x101a2114], 0xfffff354
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101a2118], 0x1e93
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10188d2b
jmp 0x10188cd4
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], eax
jb 0x10188ca6
jmp 0x10188d2b
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101a2114], 0x5ea
mov edi, dword [ebp - 0x20]
add edi, dword [edx + ecx*4]
mov dword [0x101a2118], 0x19e
mov dword [ebp - 0x38], edi
jmp 0x10188d2b
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x56]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x5c], eax
jne 0x10188cee
jmp 0x10188d1b
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
xor esi, esi
mov edi, dword [ebp - 0x2c]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x101a2114], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x5c], esi
jmp 0x10188cee
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
add edx, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ecx
jmp 0x10188ca6
mov eax, dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [ebp - 0x60]
add ecx, edx
mov esi, dword [ebp - 0x20]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
jne 0x10188c7c
mov al, byte [ebp - 0x56]
test al, 1
jne 0x10188c4a
jmp 0x10188c1b
mov eax, dword [ebp - 0x38]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret