joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a0c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x1001ebd8], 0x1aa4
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1001ebd4], 0x82f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x10003a8c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x1001ebd4], eax
mov eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebp
ret
mov eax, 0xe53
mov dword [0x1001ebd4], 0x90f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
je 0x10003b56
jmp 0x10003b8b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x10003ae1
jmp 0x10003aca
mov eax, 0x2400
mov dword [0x1001ebd4], 0x1ebc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
je 0x10003b18
jmp 0x10003b8b
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
jl 0x10003a8c
mov eax, dword [ebp - 0x30]
mov ecx, 0xd73
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x10003b8b
mov eax, 0xd73
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
je 0x10003aa4
jmp 0x10003b8b
mov eax, 0xc5a
mov dword [0x1001ebd4], 0x716
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
jne 0x10003b8b
mov eax, 0xc5a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
je 0x10003a62
jmp 0x10003b8b
mov eax, 1
mov ecx, 0x1f9
mov edx, 0xe53
mov dword [0x1001ebd8], 0x201d
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
cmp word [esi + edi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
je 0x10003a4e
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x10003a4e
Function at 0x10003cbf
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 [0x1001ebe0], 0
mov byte [0x1001ebe4], 0
mov dword [0x1001ebd4], 0x7e8
mov dword [0x1001ebdc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10003d1f
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1001ebdc], 0
mov dword [ebp - 0x20], eax
jmp 0x10003d51
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1001ebd8], 0x126
mov eax, dword [0x1001ebdc]
add eax, 1
mov dword [0x1001ebdc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10003d1f
jmp 0x10003d0e
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 [0x1001ebe8], 0
mov edi, dword [0x1001ebe0]
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 [0x1001ebe8], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1001ebe0], edx
mov dword [0x1001ebd4], 0x1c92
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1001ebe4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1001ebe4]
mov esi, dword [0x1001ebe0]
mov byte [ebx + esi], cl
mov esi, dword [0x1001ebdc]
add esi, 1
mov dword [0x1001ebdc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10003d51
jmp 0x10003d06
Function at 0x1000412c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x1001ebd4], 0x825
mov dword [ebp - 0x10], eax
call fcn.100044a6
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 0x10004172
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 [0x1001ebd8], 0x49
mov esi, dword [edx + eax + 0x24]
mov dword [0x1001ebd4], 0x1e7e
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 0x100042a9
jmp 0x1000421b
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
jne 0x10004254
mov al, byte [ebp - 0x42]
test al, 1
jne 0x100041f3
jmp 0x10004285
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 [0x1001ebd4], 0x2269
mov dword [ebp - 0x34], edi
jmp 0x100042a9
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x1001ebd4], 0x825
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x100041be
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 0x100041be
jmp 0x100041e7
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], eax
jb 0x1000422b
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000461a
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 [0x1001ebdc], 0
mov dword [0x1001ebe0], 0
mov dword [0x1001ebec], 0
mov dword [0x1001ebd4], 0x1403
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 0x10004681
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 edi, eax
add edi, 1
add ecx, 1
mov dword [0x1001ebd4], 0x53e
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1001ebdc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1001ebe0], edx
mov dword [0x1001ebd8], 0xffffed94
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1001ebe4], cl
mov dword [0x1001ebd4], 0x2aff
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1001ebe4]
mov edx, dword [0x1001ebe0]
mov byte [ebx + edx], cl
mov edx, dword [0x1001ebdc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1001ebe0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1001ebec], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x1001ebf0], cl
mov dword [0x1001ebd4], 0x1f0a
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10004679
mov eax, dword [0x1001ebe0]
mov ecx, dword [0x1001ebdc]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10004681
Function at 0x1000477b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov edx, dword [0x1001ebd4]
add edx, 0x13c2
mov dword [0x1001ebd8], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10003dfa
mov ecx, 0x20fb
lea edx, [0x1000370b]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x64], esi
mov dword [esp + 0x34], 0x144c00
mov esi, dword [0x1001ebc0]
mov dword [esp + 0x6c], esi
mov esi, dword [0x1001ebc4]
mov dword [esp + 0x50], esi
mov dword [0x1001ebd4], 0xdb4
mov esi, dword [0x1001ebc8]
mov dword [esp + 0x48], esi
mov esi, dword [0x1001ebcc]
mov dword [esp + 0x5c], esi
mov esi, dword [0x1001ebd0]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x1000482f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10004865
jmp 0x10004846
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
je 0x10004819
mov eax, 0x207e
mov ecx, dword [esp + 0x14]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x1000482f
mov eax, dword [esp + 0xc]
add eax, 0xffffd9c1
mov ecx, dword [esp + 0xc]
add ecx, 0xffffeccb
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [0x1001ebd4], eax
mov eax, dword [esp + 0x10]
mov esi, dword [edx + eax + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x1001ebd8], ecx
call fcn.10003a0c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x100048fa
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100035c8
mov ecx, dword [0x1001ebd8]
add ecx, 0x1f05
mov dword [0x1001ebd4], ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1001ebd4]
add ecx, 0xffffe0bc
mov dword [0x1001ebd4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x40c506
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
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.00408e31
mov dword [ebp - 0x14], eax
cmp dword [0x81983c], esi
jne 0x40c5f9
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c586
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c6d9
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c6d9
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c6d9
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81983c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x819840], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x819844], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81984c], eax
test eax, eax
je 0x40c5f6
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x819848], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c61e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c611
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c633
push 4
pop eax
jmp 0x40c6db
cmp dword [ebp - 0x14], esi
je 0x40c633
push dword [0x81983c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c618
mov eax, dword [0x819848]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c691
cmp dword [0x81984c], edi
je 0x40c691
push eax
call ebx
push dword [0x81984c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c691
test eax, eax
je 0x40c691
call ecx
test eax, eax
je 0x40c686
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 0x40c686
test byte [ebp - 8], 1
jne 0x40c691
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c6c1
mov eax, dword [0x819840]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
call eax
mov esi, eax
test esi, esi
je 0x40c6be
mov eax, dword [0x819844]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81983c]
call ebx
test eax, eax
je 0x40c6d9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c6db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404268
mov esp, ebp
pop ebp
ret
Function at 0x40afb2
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40afb4
ret
Function at 0x10001e8c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100787c0]
jne 0x10001e96
repz ret
jmp fcn.1000213d

Function at 0x1000276f
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 [0x10078794], 0xa6f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000556a]
mov dh, byte [eax + 0x1000553b]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10002791
lea eax, [ebp - 0x24]
mov dword [0x10078798], 0x24b7
mov dword [ebp - 0x34], eax
call fcn.10002d52
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100024d6
mov dword [0x10078798], 0x1689
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100028ac
mov eax, dword [0x10078794]
mov ecx, dword [ebp - 0x38]
add eax, 0xffffff6a
mov dword [0x10078794], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000262e
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10078794], 0xefb
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ecx, dword [0x10078794]
add ecx, 0x1cd0
mov dword [0x10078794], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x4c], ecx
add ecx, 0x1bd7
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100028a3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10002bac
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x10078798], 0x1aa4
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10078794], 0x82f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x10002c71
mov eax, 0x2400
mov dword [0x10078794], 0x1ebc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x10002ca7
jmp 0x10002c61
mov eax, 0xd73
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x10002bf1
jmp 0x10002c61
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
jl 0x10002c71
jmp 0x10002c87
mov eax, 0xc5a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x10002cca
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x10002d24
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
jne 0x10002c31
mov eax, dword [ebp - 0x28]
mov ecx, 0xd73
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10002c18
jmp 0x10002c61
mov eax, 0xc5a
mov dword [0x10078794], 0x716
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x10002c4a
jmp 0x10002c61
mov eax, 0xe53
mov dword [0x10078794], 0x90f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10002c61
mov eax, 1
mov ecx, 0x1f9
mov edx, 0xe53
mov dword [0x10078798], 0x201d
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
cmp word [esi + edi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jne 0x10002c61
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x10078794], eax
mov eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x10002e60
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 [0x100787a0], 0
mov byte [0x100787a4], 0
mov dword [0x10078794], 0x7e8
mov dword [0x1007879c], 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 dword [0x10078798], 0x126
mov eax, dword [0x1007879c]
add eax, 1
mov dword [0x1007879c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002ea5
jmp 0x10002f73
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100787a8], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x100787a0]
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 [0x100787a8], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100787a0], edx
mov dword [0x10078794], 0x1c92
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100787a4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x100787a4]
mov esi, dword [0x100787a0]
mov byte [ebx + esi], cl
mov esi, dword [0x1007879c]
add esi, 1
mov dword [0x1007879c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10002eda
jmp 0x10002f87
xor eax, eax
mov dword [0x1007879c], 0
mov dword [ebp - 0x20], eax
jmp 0x10002eda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100032e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10078794], 0x825
mov dword [ebp - 0x10], eax
call fcn.10003653
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 0x1000332d
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 [0x10078798], 0x49
mov esi, dword [edx + eax + 0x24]
mov dword [0x10078794], 0x1e7e
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 0x10003456
jmp 0x100033a3
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x100033d7
jmp 0x10003404
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x10078794], 0x825
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x10003379
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x10003433
jmp 0x1000340d
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], eax
jb 0x100033b3
jmp 0x10003456
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 edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10078794], 0x2269
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret