joyce8/EMBER2024-capa huggingface dataset:
Function at 0x608085
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x6080ad
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x6080be
push 2
call edi
test ax, ax
jge 0x6080be
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.005fc2bb
cmp dword [esi + 0x30], ebx
jne 0x608198
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.005fc2bb
cmp eax, dword [esp + 0x34]
jne 0x608198
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x608134
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x608179
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x608198
cmp eax, 0x205
je 0x608198
cmp eax, 0x201
je 0x608198
cmp eax, 0x204
je 0x608198
cmp eax, ebx
jne 0x60815f
cmp dword [esp + 0x1c], 0x1b
je 0x608198
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x9997dc]
jbe 0x60818e
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x6080f1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x402bc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x403dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x402c86
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push 0
call edi
test eax, eax
mov dword [ebx + 0x7c], eax
jne 0x402c86
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402c74
push 0x6a
push esi
call edi
test eax, eax
je 0x402c6d
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402ca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push ebx
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x402d23
mov edx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x10c
ret
mov eax, ebx
pop ebx
add esp, 0x10c
ret
Function at 0x4030e0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [0x406614]
push 0x40
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov ecx, 0x1369e
mov edi, ebx
add esi, 0x4da90
mov edx, edi
test edx, edx
rep movsd dword es:[edi], dword [esi]
jne 0x40311b
pop edi
pop esi
pop ebx
ret
push 0
push 0
push ebx
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x403144
push 0x8000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x1003d230
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e637
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1006e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 4
cmovae eax, dword [ebp + 8]
push 0x10044884
push eax
call fcn.10008698
add esp, 0xc
test eax, eax
setns bl
push 0x10044890
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x1003d2d9
lea edx, [eax + 0x72]
push eax
test bl, bl
je 0x1003d2c0
push 0x8c
lea ecx, [edx + 0x19]
call fcn.1003c090
add esp, 8
mov esi, 0x80004005
jmp 0x1003d393
push 0x73
mov ecx, 0x71
call fcn.1003c090
add esp, 8
mov esi, 0x80004005
jmp 0x1003d393
push str.CLRCreateInstance
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1003d318
test bl, bl
je 0x1003d30e
push eax
mov edx, 0x8d
push 0x8c
mov ecx, 0x8b
call fcn.1003c090
add esp, 8
mov esi, 0x80004005
jmp 0x1003d38c
mov ecx, dword [ebp - 0x14]
call fcn.1003cfa0
jmp 0x1003d38a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1003d325
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x10044cec
push 0x10044cfc
call esi
test eax, eax
jns 0x1003d34c
test bl, bl
je 0x1003d30e
push eax
mov edx, 0x8e
jmp 0x1003d2f5
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1003d369
mov eax, dword [ecx]
jmp 0x1003d36b
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp + 8]
push edx
push eax
call fcn.10001a20
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.1003d100
add esp, 0x18
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1003d3a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x1003d3b6
inc eax
push eax
push dword [ebp + 8]
call fcn.100011f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003dcf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003dd03
test al, 0x10
jne 0x1003dd03
mov al, 1
ret
xor al, al
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop ds
rol dword [ebx], 1
xor al, 0x76
push ebp
test byte [ecx], dh
xchg edi, eax
pop esp
adc eax, 0xaf34d523
invalid
Function at 0x100014cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
xor eax, eax
lea ecx, [esp + 0x80]
lea edx, [esp + 0x78]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
jmp 0x10001587
mov eax, dword [esp + 0x60]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x5c], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov dword [esp + 0x58], ecx
je 0x100015ad
jmp 0x10001521
mov eax, dword [esp + 0x58]
sub eax, 0xb
mov dword [esp + 0x54], eax
je 0x100015ad
jmp 0x100015cc
xor eax, eax
mov dword [esp + 0x74], 0x477
mov ecx, esp
lea edx, [esp + 0x74]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov dword [esp + 0x50], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x4c]
sub edx, 0xf
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
je 0x100015e9
jmp 0x1000156d
mov eax, dword [esp + 0x4c]
sub eax, 0x4b
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
je 0x100015e9
jmp 0x10001655
mov eax, dword [esp + 0x64]
mov ecx, esp
mov dword [ecx], 0xa3a
mov ecx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
xor eax, eax
mov dword [esp + 0x60], eax
jmp 0x100014fa
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [sym.imp.USER32.dll_WindowFromPoint]
call ecx
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0x1d9
mov dword [esp + 0x60], eax
je 0x10001533
jmp 0x100014fa
mov dword [esp + 0x70], 0x42c
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
call eax
sub esp, 8
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x6c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
call fcn.102bbb70
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 4], ecx
mov dword [eax], 0x873412
call sub.KERNEL32.dll_Thread32Next
sub esp, 8
mov dword [esp + 0x24], eax
jmp 0x100016a8
mov eax, dword [esp + 0x38]
add eax, 1
mov ecx, esp
mov dword [ecx], 0x26
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteAtom]
mov dword [esp + 0x20], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xef2
mov dword [ecx], 0x8b5072
mov ecx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov word [esp + 0x1e], ax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
jne 0x10001655
mov eax, dword [esp + 0x4c]
add eax, 1
mov ecx, dword [sym.imp.USER32.dll_DestroyCaret]
mov dword [esp + 0x14], eax
call ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x105
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], ecx
jne 0x10001587
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x102bbf7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102e50d0]
jne 0x102bbf86
repz ret
jmp fcn.102bc22d
Function at 0x102bcb5e
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 esi, dword [0x102e50b0]
add esi, 0x647
mov dword [0x102e50ac], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x102bcc3b
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
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 ecx, dword [0x102e50ac]
add ecx, 0xffffe677
mov dword [0x102e50ac], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.102bd00c
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 + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov dword [0x102e50ac], 0x828
add ecx, 0x11e5
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x102bcc32
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 + 0x102be692]
mov dh, byte [eax + 0x102be663]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x102bcc3b
lea eax, [ebp - 0x24]
mov dword [0x102e50ac], 0x16fa
mov dword [0x102e50b0], 0xec7
mov dword [ebp - 0x44], eax
call fcn.102bc9c8
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.102bc52e
mov dword [0x102e50ac], 0x632
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x102bcb8d
jmp 0x102bcb95
Function at 0x102bccc5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x102e50ac]
add edx, 0xffffda67
mov dword [0x102e50b0], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102e50ac], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x102bcd7f
mov dword [0x102e50b0], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x102bcdff
jmp 0x102bce4b
mov dword [0x102e50ac], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x102bcde0
jmp 0x102bce4b
mov eax, dword [ebp - 0x24]
mov dword [0x102e50b0], 0x2ce7
mov dword [0x102e50ac], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x102bcdae
jmp 0x102bce4b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
je 0x102bcd54
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
jl 0x102bcd7f
jmp 0x102bcd54
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102bce4b
mov dword [0x102e50ac], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x102bcd32
jmp 0x102bce4b
mov dword [0x102e50ac], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x102bcd10
jmp 0x102bce4b
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x102bce32
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x102e50ac], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bce55
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 [0x102e50ac], 0x77
mov dword [ebp - 0x10], eax
call fcn.102bd7b4
xor ecx, ecx
mov edx, eax
mov dword [0x102e50b0], 0x265c
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 0x102bcea5
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 [0x102e50ac], 0x16b1
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 0x102bcfae
jmp 0x102bcf41
mov al, byte [ebp - 0x31]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x38]
add edx, 1
mov ah, byte [ebp - 0x39]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x102bcf16
mov al, byte [ebp - 0x39]
test al, 1
jne 0x102bcf95
jmp 0x102bcf6f
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x31], bh
mov byte [ebp - 0x39], cl
je 0x102bcf09
jmp 0x102bcee0
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 - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
jmp 0x102bcf16
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], eax
jb 0x102bcf53
jmp 0x102bcfae
mov eax, dword [ebp - 0x50]
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 [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bd588
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102e50b0], 0x102f
mov dword [0x102e50b8], 0
mov byte [0x102e50bc], 0
mov dword [0x102e50ac], 0x194
mov dword [0x102e50b4], 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 [0x102e50ac], 0x540
mov eax, dword [0x102e50b4]
add eax, 1
mov dword [0x102e50b4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102bd5d7
xor eax, eax
mov ecx, 0x225b
mov dword [0x102e50b0], 0x225b
mov dword [0x102e50b4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov esi, eax
add esi, 0x8b2
mov dword [0x102e50c0], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [ebp - 0x28]
add ebx, 0xffffeb81
mov dword [0x102e50b0], ebx
mov ebx, dword [0x102e50b8]
mov edi, dword [ebp - 0x18]
movzx edi, byte [edi + ecx]
add edi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x102e50c0], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x2c]
idiv edi
mov dword [0x102e50b8], edx
mov dword [0x102e50ac], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x102e50bc], bl
mov dword [0x102e50b0], 0xf5e
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x102e50ac]
add ecx, 0xffffe36b
mov dword [0x102e50ac], ecx
mov bl, byte [0x102e50bc]
mov ecx, dword [0x102e50b8]
mov byte [esi + ecx], bl
mov ecx, dword [0x102e50b4]
add ecx, 1
mov dword [0x102e50b4], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jge 0x102bd704
mov eax, dword [0x102e50b0]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x102bd628
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret