joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a714
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x42a71e
mov eax, dword [esp + 0x2000]
add esp, 0xfffffefc
xor ebx, ebx
xor eax, eax
mov dword [esp], eax
xor esi, esi
jmp 0x42a7a7
cmp esi, 9
je 0x42a7a6
cmp esi, 0x13
je 0x42a7a6
lea eax, [esi + 0x400]
push eax
push 0
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x2014]
push ecx
lea eax, [esp + 0x18]
add eax, ebx
push eax
call fcn.00428dc4
add esp, 0x14
mov edx, eax
lea ecx, [esp + edx + 8]
lea eax, [ecx + ebx - 1]
jmp 0x42a77d
dec edx
dec eax
test edx, edx
jle 0x42a794
mov cl, byte [eax]
mov edi, ecx
and edi, 0xff
cmp edi, 0x20
je 0x42a77b
test cl, cl
je 0x42a77b
test edx, edx
je 0x42a7a6
add ebx, edx
mov byte [esp + ebx + 8], 0xd
inc ebx
mov byte [esp + ebx + 8], 0xa
inc ebx
inc esi
cmp esi, 0x2b
jge 0x42a7b4
cmp ebx, 0x1e00
jl 0x42a740
mov byte [esp + ebx + 8], 0
inc ebx
mov edi, ebx
mov eax, edi
add eax, eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov esi, eax
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov edi, eax
test esi, esi
je 0x42a7e2
test edi, edi
jne 0x42a80b
test esi, esi
je 0x42a7ec
push esi
call sub.KERNEL32.DLL_GlobalFree
test edi, edi
je 0x42a7f6
push edi
call sub.KERNEL32.DLL_GlobalFree
add ebx, ebx
push ebx
push 0x4b493a
call sym.ollydbg.exe__Error
add esp, 8
or eax, 0xffffffff
jmp 0x42a86c
push esi
call sub.KERNEL32.DLL_GlobalLock
mov dword [esp + 4], eax
push edi
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
push ebx
lea eax, [esp + 0xc]
push eax
push ebp
call fcn.004a3530
add esp, 0xc
push ebx
mov edx, dword [esp + 8]
push edx
push ebx
push ebp
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push esi
call sub.KERNEL32.DLL_GlobalUnlock
push edi
call sub.KERNEL32.DLL_GlobalUnlock
push 0
call sub.USER32.DLL_OpenClipboard
call sub.USER32.DLL_EmptyClipboard
push esi
push 0xd
call sub.USER32.DLL_SetClipboardData
push edi
push 1
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
xor eax, eax
add esp, 0x2108
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43c95c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push str.exefile_shellOpen_with_OllyDbgcommand
push 0x80000000
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x43ca56
push 0x4d3764
push str.__s____1_
lea edx, [ebp - 0x20c]
push edx
call fcn.004a6c2c
add esp, 0xc
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x204
push ecx
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x4b8e51
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x43ca0a
lea ecx, [ebp - 0x410]
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004a38bc
add esp, 8
test eax, eax
jne 0x43ca0a
push 0
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push str.___OllyDbg_is_in_Explorers_menu_n
lea edx, [ebp - 0x614]
push edx
call fcn.004a6c2c
add esp, 8
jmp 0x43ca38
push 1
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
lea ecx, [ebp - 0x410]
lea eax, [ebp - 0x614]
push ecx
push str.___Another_copy_of_OllyDbg_is_active:_n_s
push eax
call fcn.004a6c2c
add esp, 0xc
push 1
push 0x157f
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x43ca91
mov esi, str.___OllyDbg_is_not_in_Explorers_menu
lea edi, [ebp - 0x614]
mov eax, edi
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 1
push 0x157e
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
push 0
push 0x157f
push ebx
call sub.USER32.DLL_GetDlgItem
push eax
call sub.USER32.DLL_EnableWindow
lea edx, [ebp - 0x614]
push edx
push 0x157d
push ebx
call sub.USER32.DLL_SetDlgItemTextA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ba50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
push esi
push edi
mov edi, str.DATA
mov ebx, dword [ebp + 8]
push 0
push 1
push 0x20
lea eax, [edi + 0x54d]
push 0x21c
push eax
push 0x4eb0f4
call sym.ollydbg.exe__Createsorteddata
add esp, 0x18
test eax, eax
je 0x46ba8f
or eax, 0xffffffff
jmp 0x46bca3
mov dword [0x4eb278], 0x18
lea edx, [edi + 0x319]
mov dword [0x4eb2bc], edx
mov byte [0x4eb300], 0x10
mov dword [0x4eb27c], 0x100
lea ecx, [edi + 0x55f]
mov dword [0x4eb2c0], ecx
mov byte [0x4eb301], 4
mov dword [0x4eb22c], 2
mov dword [0x4eb230], ebx
push 0x4eb22c
call sym.ollydbg.exe__Defaultbar
xor eax, eax
pop ecx
mov dword [0x4eb311], eax
mov dword [0x4eb31d], 1
mov dx, word [0x4d54b4]
xor eax, eax
mov word [0x4eb321], dx
mov dword [0x4eb325], 0x12
mov dword [0x4eb329], ebx
xor edx, edx
mov cx, word [0x4d5394]
mov word [0x4eb32d], cx
xor ecx, ecx
mov dword [ebp - 0x524], 0xfffffffe
mov dword [ebp - 0x520], 1
mov dword [ebp - 0x51c], ecx
mov dword [0x4eb331], eax
mov byte [ebp - 0x518], 0
xor eax, eax
mov dword [0x4eb335], edx
mov dword [ebp - 0x414], eax
xor edx, edx
mov byte [ebp - 0x410], 0
mov dword [ebp - 0x30c], edx
xor ecx, ecx
mov dword [ebp - 0x310], ecx
lea eax, [ebp - 0x524]
push eax
push 0x4eb0f4
mov dword [0x4eb339], 0x46b304
call sym.ollydbg.exe__Addsorteddata
add esp, 8
xor edx, edx
mov ebx, edx
mov esi, edx
cmp esi, 0xc8
jge 0x46bc00
push esi
lea eax, [edi + 0x4f8]
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.004a6c2c
add esp, 0xc
lea ecx, [ebp - 0x308]
lea eax, [edi + 4]
lea edx, [ebp - 0x104]
push 0x4d53a4
push 0x204
push ecx
push eax
push edx
lea ecx, [edi + 0x503]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp byte [ebp - 0x308], 0
je 0x46bbf7
push ebx
lea eax, [ebp - 0x308]
push eax
call fcn.00469db4
add esp, 8
inc ebx
inc esi
cmp esi, 0xc8
jl 0x46bb9e
xor edx, edx
mov dword [0x4eb200], edx
push 0
push 0x46b7b4
mov ecx, dword [0x4d3b80]
push ecx
lea eax, [edi + 0x568]
push eax
mov edx, dword [0x4d3b78]
push edx
call sub.USER32.DLL_DialogBoxParamA
mov esi, eax
push 0x4d53a4
push 0
push 0
lea eax, [edi + 0x503]
push eax
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov edx, dword [0x4eb210]
xor ebx, ebx
mov dword [ebp - 4], edx
jmp 0x46bc8b
push ebx
lea eax, [edi + 0x4f8]
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.004a6c2c
add esp, 0xc
lea eax, [ebp - 0x104]
lea edx, [edi + 0x503]
push 0x4d53a4
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push eax
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc ebx
add dword [ebp - 4], 0x21c
mov ecx, dword [0x4eb1f8]
dec ecx
cmp ebx, ecx
jl 0x46bc4d
push 0x4eb0f4
call sym.ollydbg.exe__Destroysorteddata
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bcac
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, edi
shl eax, cl
mov dword [ebp - 4], eax
test esi, esi
je 0x46bcd4
cmp dword [ebp - 4], 0x200000
jae 0x46bcdb
mov eax, esi
jmp 0x46bd8d
mov dword [ebp - 0x224], 0x20
lea edx, [ebp - 0x224]
push edx
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov ecx, dword [ebp - 4]
add ecx, 0x400000
mov eax, dword [ebp - 0x210]
cmp ecx, eax
jbe 0x46bd8b
sub eax, 0x400000
cmp eax, 0x200000
jae 0x46bd19
mov eax, 0x200000
xor ebx, ebx
jmp 0x46bd1e
inc ebx
cmp esi, ebx
jbe 0x46bd32
mov ecx, ebx
mov edx, 2
shl edx, cl
imul edx, edi
cmp eax, edx
ja 0x46bd1d
mov ecx, ebx
mov eax, edi
shl eax, cl
shr eax, 0x14
lea ecx, [ebp - 0x204]
push eax
mov edx, dword [ebp - 0x210]
shr edx, 0x14
push edx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
shr edx, 0x14
push edx
push str.You_have_asked_to_allocate__i_MB_memory_for__s._Currently__operating_system_has_only__i_MB_free_virtual_memory._Do_you_want_to_reduce_your_request_to__i_MB_
push ecx
call fcn.004a6c2c
add esp, 0x18
lea eax, [ebp - 0x204]
mov edx, dword [0x4d3b7c]
push 0x2024
push str.Low_memory
push eax
push edx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
jne 0x46bd8b
mov eax, ebx
jmp 0x46bd8d
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478788
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [0x4d7db0]
test ebx, ebx
jne 0x4787a2
xor eax, eax
jmp 0x47884a
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [0x4d5a74]
mov dword [ebp - 8], edx
xor edi, edi
jmp 0x478814
mov eax, dword [ebx]
cmp eax, dword [ebp + 8]
jne 0x4787e4
mov edx, dword [ebx + 0xc]
push edx
call sub.KERNEL32.DLL_ResumeThread
test eax, eax
jg 0x4787d4
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
inc dword [ebp - 4]
jmp 0x47880d
dec dword [ebx + 0x620]
mov esi, 1
dec eax
je 0x47880d
jmp 0x4787bd
cmp dword [ebx + 0x620], 0
jg 0x47880d
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
jne 0x478802
mov edx, dword [ebx]
mov dword [ebp - 8], edx
inc dword [ebp - 4]
inc dword [ebx + 0x620]
mov esi, 1
inc edi
add ebx, 0x66c
cmp edi, dword [0x4d7d98]
jl 0x4787b6
test esi, esi
je 0x478838
cmp dword [0x4d7c90], 0
je 0x478838
push 0
push 0
mov eax, dword [0x4d7c90]
push eax
call sub.USER32.DLL_InvalidateRect
cmp dword [ebp - 4], 1
jle 0x478847
mov edx, dword [0x4d5a74]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x478854
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, dword [0x4d7db0]
test ebx, ebx
je 0x478971
xor esi, esi
xor eax, eax
mov dword [esp], eax
xor ebp, ebp
jmp 0x4788f5
cmp dword [ebx + 0x620], 0
jge 0x47889f
jmp 0x478894
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
inc dword [ebx + 0x620]
mov esi, 1
cmp dword [ebx + 0x620], 0
jl 0x478880
jmp 0x4788ee
cmp dword [ebx + 0x620], 0
jle 0x4788d3
jmp 0x4788c0
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov edi, eax
dec dword [ebx + 0x620]
mov esi, 1
cmp dword [ebx + 0x620], 0
jg 0x4788aa
cmp edi, 1
jg 0x4788ee
inc dword [esp]
jmp 0x4788ee
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
mov edi, eax
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_ResumeThread
test edi, edi
jne 0x4788ee
inc dword [esp]
inc ebp
add ebx, 0x66c
cmp ebp, dword [0x4d7d98]
jl 0x478875
test esi, esi
je 0x47891e
cmp dword [0x4d7c90], 0
je 0x47891e
push 0
push 0
mov edx, dword [0x4d7c90]
push edx
call sub.USER32.DLL_InvalidateRect
cmp dword [esp], 0
jne 0x478971
cmp dword [0x4d7d98], 1
jne 0x47894c
push 0x30
push str.Program_suspended
push str.Your_program_is_suspended_and_cant_run._Please_resume_main_thread.
mov ecx, dword [0x4d3b7c]
push ecx
call sub.USER32.DLL_MessageBoxA
call sym.ollydbg.exe__Createthreadwindow
jmp 0x478971
cmp dword [0x4d7d98], 1
jle 0x478971
push 0x30
push str.Program_suspended
push str.All_threads_of_debugged_program_are_suspended._Please_resume_some_if_you_want_the_program_to_run.
mov eax, dword [0x4d3b7c]
push eax
call sub.USER32.DLL_MessageBoxA
call sym.ollydbg.exe__Createthreadwindow
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4acc50
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x50a614], 0
jne 0x4accd1
cmp dword [0x50a634], 0
jne 0x4acc80
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x50a634], eax
test eax, eax
jne 0x4acc80
push str.GetEnvironmentStrings_failed
call fcn.004ac244
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x50a634]
jmp 0x4acc94
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004a36d4
pop ecx
mov edi, eax
test eax, eax
jne 0x4acc8c
lea edi, [ebp + 1]
push edi
call fcn.004a27b4
pop ecx
mov ebx, eax
mov dword [0x50a618], ebx
test ebx, ebx
jne 0x4accbe
xor eax, eax
jmp 0x4acd94
push edi
mov edx, dword [0x50a634]
push edx
push ebx
call fcn.004a3530
add esp, 0xc
jmp 0x4accf1
xor esi, esi
mov ebx, dword [0x50a614]
jmp 0x4acceb
push eax
call fcn.004a36d4
pop ecx
test eax, eax
jne 0x4acce7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4accdb
lea ebx, [esi + 4]
push 4
mov dword [0x50a61c], ebx
inc ebx
push ebx
call fcn.004a25b4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4acd14
xor eax, eax
jmp 0x4acd94
cmp dword [0x50a614], 0
jne 0x4acd45
xor esi, esi
mov ebx, dword [0x50a618]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4acd36
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004a36d4
pop ecx
mov edi, eax
test eax, eax
jne 0x4acd2c
jmp 0x4acd76
xor esi, esi
mov ebx, dword [0x50a614]
mov eax, dword [esp]
mov edi, eax
jmp 0x4acd70
push eax
call fcn.004a36d4
pop ecx
test eax, eax
je 0x4acd65
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4acd69
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4acd54
mov eax, dword [0x50a614]
test eax, eax
je 0x4acd86
push eax
call fcn.004a27c4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x50a614], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb716
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x53f300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 4]
mov dword [ebx], 0x50d2e8
push eax
call dword [0x50a088]
lea esi, [ebx + 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004226b0
mov dword [esi], eax
lea esi, [ebx + 0x30]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00459973
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [ebx + 0x44]
push eax
call dword [0x50a088]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459430
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x459441
mov eax, 1
pop ebp
ret
mov dword [eax + 0x14], 0
xor ecx, ecx
mov dword [eax + 0x18], 0
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
pop ebp
ret

Function at 0x45caa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [eax], 0
je 0x45cb22
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 0x7fed7fed
mov dword [ebp + 8], 0xeeeeeeee
movzx eax, word [ebx]
test ax, ax
je 0x45cb18
shl dword [ebp + 0xc], 8
push esi
nop dword [eax]
push eax
call fcn.004cb09e
movzx esi, ax
lea ebx, [ebx + 2]
mov eax, dword [ebp + 0xc]
xor edx, edx
add eax, esi
add edi, dword [ebp + 8]
mov ecx, 0x500
add esp, 4
div ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
xor edi, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov ecx, eax
shl ecx, 5
add eax, 3
add ecx, esi
add eax, ecx
movzx ecx, word [ebx]
add eax, edi
mov dword [ebp + 8], eax
mov eax, ecx
test cx, cx
jne 0x45cad0
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x45ddae
Capabilities:
Check for software breakpoints
Inspect section memory permissions

Disassembly:
mov eax, dword [esi + 0x120]
cdq
add eax, dword [esi + 0x110]
adc edx, dword [esi + 0x114]
push edx
push eax
push 0x517598
call fcn.0046c630
mov cl, byte [esi + 0x394]
add esp, 0xc
Function at 0x4a748e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x1b2d2024]
xor eax, ebp
mov dword [esp + 0x58], eax
mov ebx, 0
cmp edx, 0x11
jl 0x4a75fc
mov esi, edx
mov edi, ecx
mov ecx, 4
pcmpeqd xmm0, xmm0
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], ebx
movzx edx, byte [edi + eax]
shl edx, 0x10
movzx ebx, byte [edi + eax + 1]
shl ebx, 8
or ebx, edx
movzx edx, byte [edi + eax + 2]
and edx, 0xfffffff0
or edx, ebx
cmp edx, 0x100
je 0x4a752e
mov ecx, eax
lea eax, [ecx + 5]
cmp eax, esi
jge 0x4a7525
lea eax, [ecx + 1]
movzx edx, byte [edi + ecx + 1]
shl edx, 0x10
movzx ebx, byte [edi + ecx + 2]
shl ebx, 8
or ebx, edx
movzx edx, byte [edi + ecx + 3]
and edx, 0xfffffff0
or edx, ebx
mov ecx, eax
cmp edx, 0x100
jne 0x4a74ed
lea edx, [edi + eax]
lea ecx, [eax + 4]
jmp 0x4a7531
mov ebx, dword [esp + 8]
jmp 0x4a75fc
lea edx, [edi + eax]
mov dword [esp + 0xc], ecx
xor ecx, ecx
dec ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esi
sub ebx, eax
lea ecx, [esp + 0x10]
push ebx
push edx
call fcn.004a260e
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0x14
call fcn.004a289e
test al, al
je 0x4a75f3
mov eax, dword [esp + 0x50]
xor eax, 0x10
or eax, dword [esp + 0x54]
jne 0x4a75f3
lea ecx, [esp + 0x20]
push 0xb
call fcn.004a294e
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 1
call fcn.004a289e
test al, al
je 0x4a75b9
mov ebx, dword [esp + 0x50]
cmp ebx, 1
jne 0x4a7614
lea ebx, [esp + 0x20]
mov ecx, ebx
push 8
call fcn.004a294e
test al, al
je 0x4a75ef
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov ecx, ebx
lea eax, [esp + 0x50]
push eax
push 1
call fcn.004a289e
mov ebx, dword [esp + 0x50]
test al, al
jne 0x4a75b9
mov ebx, dword [esp + 8]
lea ecx, [esp + 0x10]
call fcn.004a264e
and bl, 1
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call 0xffc423eb
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0x10
call fcn.004a289e
mov ebx, dword [esp + 8]
test al, al
je 0x4a75f3
cmp dword [esp + 0x50], 1
jne 0x4a765d
lea ecx, [esp + 0x10]
call fcn.004a264e
mov eax, dword [esp + 0xc]
lea ecx, [eax + 4]
mov bl, 1
cmp ecx, esi
pcmpeqd xmm0, xmm0
jl 0x4a74c4
jmp 0x4a75fc
xor ebx, ebx
jmp 0x4a75f3
Function at 0x4a794e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x1b2d2024]
xor eax, ebp
mov dword [esp + 0x58], eax
xor ebx, ebx
cmp edx, 5
jl 0x4a7b36
mov esi, edx
mov edi, ecx
mov eax, 4
mov dword [esp + 8], 0
xor ebx, ebx
mov dword [esp + 4], edx
jmp 0x4a7a9f
mov edx, ebx
add edx, edi
mov ebx, eax
xor eax, eax
dec eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
lea ecx, [esp + 0x10]
push 4
push edx
call fcn.004a260e
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0x18
call fcn.004a289e
test al, al
je 0x4a7b21
mov eax, dword [esp + 0x50]
xor eax, 1
or eax, dword [esp + 0x54]
jne 0x4a7b21
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 1
call fcn.004a289e
test al, al
je 0x4a7a1e
mov eax, dword [esp + 0x54]
or eax, dword [esp + 0x50]
jne 0x4a7b21
xor esi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 2
call fcn.004a289e
mov ecx, 0
test al, al
je 0x4a7a45
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 5
call fcn.004a289e
test al, al
je 0x4a7a69
mov esi, dword [esp + 0x50]
cmp esi, 0xc
ja 0x4a7b07
mov eax, 0x1e40
bt eax, esi
jae 0x4a7af5
cmp dword [esp + 0xc], 0
mov esi, dword [esp + 4]
jne 0x4a7b21
lea ecx, [esp + 0x10]
call fcn.004a264e
lea eax, [ebx + 4]
cmp eax, esi
jge 0x4a7b2e
movzx ecx, byte [edi + ebx]
shl ecx, 0x10
movzx edx, byte [edi + ebx + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + ebx + 2]
or ecx, edx
cmp ecx, 1
je 0x4a798c
lea eax, [ebx + 5]
cmp eax, esi
jge 0x4a7b2e
lea eax, [ebx + 1]
movzx ecx, byte [edi + ebx + 1]
shl ecx, 0x10
movzx edx, byte [edi + ebx + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + ebx + 3]
or ecx, edx
mov ebx, eax
cmp ecx, 1
jne 0x4a7ac0
lea edx, [edi + eax]
add eax, 4
jmp 0x4a7990
mov eax, 0x180
bt eax, esi
mov eax, dword [esp + 0xc]
jae 0x4a7b10
inc dword [esp + 8]
mov esi, dword [esp + 4]
jmp 0x4a7a8b
cmp esi, 5
jne 0x4a7b07
test eax, eax
mov esi, dword [esp + 4]
jne 0x4a7a8b
lea ecx, [esp + 0x10]
call fcn.004a264e
xor ebx, ebx
jmp 0x4a7b36
cmp dword [esp + 8], 0
setg bl
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call 0xffc423eb
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a7b4e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [0x1b2d2024]
xor eax, ebp
mov dword [esp + 0x68], eax
xor ebx, ebx
cmp edx, 5
jl 0x4a7b93
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
cmp edx, 7
jae 0x4a7ba8
cmp dword [esp + 0x10], 0
setg al
cmp dword [esp + 0xc], 0
setg bl
and bl, al
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call 0xffc423eb
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, ecx
mov eax, 6
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
xor ebx, ebx
mov dword [esp + 0x1c], edx
jmp 0x4a7bfd
lea ecx, [esp + 0x20]
call fcn.004a264e
lea eax, [ebx + 6]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jge 0x4a7b81
movzx ecx, byte [edi + ebx]
shl ecx, 0x10
movzx esi, byte [edi + ebx + 1]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + ebx + 2]
or ecx, esi
cmp ecx, 1
je 0x4a7c50
lea eax, [ebx + 7]
cmp eax, edx
jge 0x4a7b81
lea eax, [ebx + 1]
movzx ecx, byte [edi + ebx + 1]
shl ecx, 0x10
movzx esi, byte [edi + ebx + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + ebx + 3]
or ecx, esi
mov ebx, eax
cmp ecx, 1
jne 0x4a7c1a
lea edx, [edi + eax]
add eax, 6
jmp 0x4a7c54
mov edx, ebx
add edx, edi
mov ebx, eax
xor eax, eax
dec eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x20]
push 6
push edx
call fcn.004a260e
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x60]
push eax
push 0x18
call fcn.004a289e
test al, al
je 0x4a7d0d
mov eax, dword [esp + 0x60]
xor eax, 1
or eax, dword [esp + 0x64]
jne 0x4a7d0d
xor esi, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x30]
lea eax, [esp + 0x60]
push eax
push 8
call fcn.004a289e
test al, al
je 0x4a7cd0
mov esi, dword [esp + 0x60]
lea eax, [esi - 0xb0]
cmp eax, 0xffffff7f
ja 0x4a7d0d
add esi, 0xffffff46
cmp esi, 0xfffffffc
ja 0x4a7d0d
cmp eax, 6
ja 0x4a7be9
jmp dword [eax*4 + 0x1a2d1588]
lea ecx, [esp + 0x20]
call fcn.004a264e
xor ebx, ebx
jmp 0x4a7b93