joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd81
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a385
cmp eax, 0x3f6
jae 0x40bf95
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a28a
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bdc9
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bdcc
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40be11
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bded
jmp 0x40bde1
cmp byte [eax + esi], 0x22
je 0x40bde9
inc eax
cmp byte [eax + esi], bl
jne 0x40bddb
jmp 0x40bded
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40be04
cmp byte [eax + esi + 1], 0x2f
je 0x40be04
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bdd4
jmp 0x40be11
add eax, esi
cmp byte [eax], 0x20
jne 0x40be0d
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40be25
cmp byte [0x41a392], bl
je 0x40be25
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00407691
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40be51
push str..inf
push eax
call fcn.0040a59b
test eax, eax
jne 0x40be51
mov dword [ebp - 0x38], 0x412648
push ebx
push dword [ebp - 0x34]
call fcn.0040576d
mov byte [ebp - 1], al
cmp al, bl
je 0x40be79
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.00405823
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40beb8
cmp byte [ebp - 1], bl
jne 0x40beb8
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a478
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a5e3
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.0040576d
test al, al
je 0x40bf93
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40beea
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf93
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40bf00
cmp byte [ebp + 8], bl
je 0x40bf37
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40bf21
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bf21
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040b6eb
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf56
push str..exe
push dword [ebp - 8]
call fcn.0040a59b
test eax, eax
je 0x40bf84
cmp byte [0x419f88], bl
je 0x40bf6a
cmp byte [ebp + 8], bl
jne 0x40bf6a
push 0x1b58
jmp 0x40bf7e
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf93
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40d33d
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x41fdc0
call fcn.0040e40d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x40d379
push esi
call fcn.0040b486
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x419ad8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push str.sfxname
call edi
call fcn.00406ea6
test eax, eax
je 0x40d3af
push 0x400
push 0x4192d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x40d3b7
xor eax, eax
mov word [0x4192d8], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0x64
push edi
mov dword [0x414c78], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push dword [0x414c78]
mov dword [0x4192d4], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [ebp - 8]
mov dword [0x4192d0], eax
call fcn.00411577
push esi
mov ecx, 0x414c88
call fcn.004098e1
lea ecx, [ebp - 0x40]
call fcn.0040647a
lea ecx, [ebp - 0x24]
call fcn.0040647a
push 0x64
call fcn.0040aca2
push 0x64
mov dword [ebp - 0x28], eax
call fcn.0040aca2
push ebx
push 0x40cc25
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x418ecc], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x418ec8], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
lea ecx, [ebp - 0x24]
mov dword [0x419f80], ebx
mov dword [0x418ec8], ebx
mov dword [0x418ecc], ebx
call fcn.00406490
lea ecx, [ebp - 0x40]
call fcn.00406490
lea ecx, [ebp - 8]
call fcn.004115ef
cmp byte [0x419f88], bl
je 0x40d478
call fcn.0040b72a
push 0x80
push ebx
push 0x419ee8
call fcn.0040a28a
cmp dword [0x41a824], ebx
jbe 0x40d49b
push dword [0x41a818]
call fcn.0040a206
push dword [0x4192d4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4192d0]
cmp eax, ebx
je 0x40d4b5
push eax
call esi
cmp dword [0x414c7c], ebx
jne 0x40d4d4
cmp dword [0x419f78], ebx
je 0x40d4d4
push 0xff
mov ecx, 0x414c7c
call fcn.004032fa
mov eax, dword [0x41a828]
mov dword [0x419f78], 2
cmp eax, ebx
je 0x40d4ed
push eax
call fcn.0040b6eb
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x414c7c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d85f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x402bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402bd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402c10
lea ebx, [ebx]
cmp esi, eax
jae 0x402c14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402c00
cmp esi, eax
jb 0x402c1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40c66e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40c69c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40c6ba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040c5d8
jmp 0x40c6ba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40c6ba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040c5d8
test edi, edi
mov eax, edi
jne 0x40c6a4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x434e28]
test ecx, ecx
je 0x40c77d
jmp 0x40c66d
ret 8

Function at 0x40eaa8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431b88]
jne 0x40eab2
repz ret
jmp fcn.00413c6c
Function at 0x41cc30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004136b8
xor ebx, ebx
cmp dword [0x435b20], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41cd05
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41cc70
xor eax, eax
jmp 0x41cdc9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ae28
push edi
call esi
cmp eax, ebx
je 0x41cc69
push eax
call fcn.00413655
mov dword [esp], 0x42ae18
push edi
mov dword [0x435b20], eax
call esi
push eax
call fcn.00413655
mov dword [esp], 0x42ae04
push edi
mov dword [0x435b24], eax
call esi
push eax
call fcn.00413655
mov dword [0x435b28], eax
lea eax, [ebp - 8]
push eax
call fcn.0041005f
test eax, eax
pop ecx
pop ecx
je 0x41ccd3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ec15
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41cd05
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00413655
cmp eax, ebx
pop ecx
mov dword [0x435b30], eax
je 0x41cd05
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413655
pop ecx
mov dword [0x435b2c], eax
mov eax, dword [0x435b2c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41cd7e
cmp dword [0x435b30], esi
je 0x41cd7e
push eax
call fcn.004136c1
pop ecx
call eax
cmp eax, ebx
je 0x41cd4b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x435b30]
call fcn.004136c1
pop ecx
call eax
test eax, eax
je 0x41cd4b
test byte [ebp - 0x18], 1
jne 0x41cd7e
lea eax, [ebp - 0xc]
push eax
call fcn.00410096
test eax, eax
pop ecx
je 0x41cd66
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ec15
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41cd75
or dword [ebp + 0x10], 0x200000
jmp 0x41cdaf
or dword [ebp + 0x10], 0x40000
jmp 0x41cdaf
mov eax, dword [0x435b24]
cmp eax, esi
je 0x41cdaf
push eax
call fcn.004136c1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41cdaf
mov eax, dword [0x435b28]
cmp eax, esi
je 0x41cdaf
push dword [ebp - 4]
push eax
call fcn.004136c1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x435b20]
call fcn.004136c1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4240e4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x431b88]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00424079
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00410360
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x424133
cmp dword [ebp - 0x1c], 5
jb 0x42414b
jmp 0x424147
cmp dword [ebp - 0x10], 1
jne 0x42414b
cmp dword [ebp - 0x1c], 4
ja 0x424147
jne 0x42414b
cmp dword [ebp - 0x18], 0
jbe 0x42414b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42afe8
call fcn.00423f6a
test eax, eax
jge 0x42416c
mov byte [0x4332a4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040eaa8
add ebp, 0x78
leave
ret
Function at 0x100014f0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
and dword [edx + 0x4e537e81], ebx
pop ds
adc ch, byte [ebx + 0x20]
sub byte [eax], al
and ebx, eax
xor al, 0x37
cmp al, 0xa9
fadd qword [ebx - 0x7f]
enter 0x54c5, 0x4f
push ebp
invalid

Function at 0x1012f010
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101579ec]
add eax, 0xe9a
mov dword [0x101579ec], eax
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 0x1012f0b5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp word [eax], 0x6f
je 0x1012f0fa
jmp 0x1012f149
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1012f149
mov eax, dword [0x101579f0]
add eax, 0x26b1
mov dword [0x101579f0], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2], 0x6c
je 0x1012f132
jmp 0x1012f149
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1012f0e2
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1012f0b5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1012f04b
jmp 0x1012f149
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x61
jne 0x1012f149
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2a], dx
mov ax, word [ebp - 0x2a]
cmp ax, 0x64
je 0x1012f071
jmp 0x1012f149
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x1012f150
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x1012f150
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop ebp
ret
Function at 0x1012f1f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101579f8], 0
mov byte [0x101579fc], 0
mov dword [0x101579ec], 0xcd2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101579f4], 0
mov dword [ebp - 0x1c], eax
jmp 0x1012f250
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x101579f4], 0
mov dword [ebp - 0x20], eax
jmp 0x1012f282
mov eax, dword [ebp - 0x1c]
mov dword [0x101579ec], 0x11d2
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101579f4]
add eax, 1
mov dword [0x101579f4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1012f250
jmp 0x1012f23f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10157a00], 0
mov edx, dword [0x101579ec]
mov esi, edx
add esi, 0xfffff4ea
mov dword [0x101579ec], esi
mov esi, dword [0x101579f8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10157a00], ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffff1c3
mov dword [0x101579ec], edx
mov eax, ebx
cdq
idiv ecx
mov dword [0x101579f8], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x101579fc], cl
mov dword [0x101579f0], 0x17dd
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x101579ec], 0x742
mov cl, byte [0x101579fc]
mov ebx, dword [0x101579f8]
mov byte [edi + ebx], cl
mov ebx, dword [0x101579f4]
add ebx, 1
mov dword [0x101579f4], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x1012f282
jmp 0x1012f237
Function at 0x1012fd50
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]
mov dword [0x101579ec], 0x26fd
mov dword [0x101579f4], 0
mov dword [0x101579f8], 0
mov dword [0x10157a04], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1012fee0
jmp 0x1012fec2
mov eax, dword [0x101579ec]
mov ecx, dword [0x101579f4]
mov edx, dword [0x101579f8]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0x78a
mov dword [0x101579ec], ecx
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101579f4], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101579f8], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101579fc], cl
mov dword [0x101579ec], 0xb52
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101579fc]
mov edx, dword [0x101579f8]
mov byte [edi + edx], cl
mov edx, dword [0x101579f4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101579f8]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x101579ec], 0x1ac5
and ebx, 0xff
mov dword [0x10157a04], ebx
mov dword [0x101579f0], 0xe6b
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x34]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x10157a09]
mov byte [0x10157a08], dl
mov byte [0x10157a09], ch
mov byte [0x10157a0a], cl
mov dword [0x101579ec], 0x120f
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x20], ebx
je 0x1012fede
jmp 0x1012fda9
xor eax, eax
mov ecx, 0x26fd
mov edx, eax
mov esi, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
jmp 0x1012fdc9
jmp 0x1012fee0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10130a50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101304f0
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101579ec], 0x239b
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10130b9b
jmp 0x10130b63
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jne 0x10130b3e
mov eax, dword [ebp - 0x2c]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jb 0x10130b75
jmp 0x10130b94
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 dl, byte [ebp - 0x42]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x48], eax
jne 0x10130b0a
jmp 0x10130aa2
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
mov byte [ebp - 0x25], bl
je 0x10130aa2
jmp 0x10130ada
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x101579ec], 0xbb6
mov dword [ebp - 0x24], esi
jmp 0x10130b9b
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x10130b0a
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10130b9b
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret