joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e59b
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x40e5f0
push edi
push str.psapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetModuleBaseNameA
push eax
mov dword [esi], eax
call edi
push str.EnumProcessModules
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.GetModuleFileNameExA
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.EnumProcesses
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.GetModuleInformation
push dword [esi]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0xc], eax
pop edi
ret

Function at 0x40e67b
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x40e68b
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
and dword [esi], 0
push str.rasapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [esi], eax
je 0x40e6eb
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.RasSetEntryDialParamsA
push eax
call edi
push str.RasEnumConnectionsA
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.RasGetConnectStatusA
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.RasHangUpA
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.RasGetEntryDialParamsA
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.RasDialA
push dword [esi]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
xor eax, eax
cmp dword [esi], eax
setne al
ret

Function at 0x40e9a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.0040e8f1
add esp, 0xc
test eax, eax
jne 0x40e9eb
mov eax, dword [ebp + 0x14]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40e9e2
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x40e9f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.0040e8f1
add esp, 0xc
test eax, eax
jne 0x40ea30
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40ea27
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x40ea35
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x2001f
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.0040e8d8
add esp, 0x10
test eax, eax
jne 0x40ea71
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40ea68
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x40ea76
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20019
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.0040e8d8
add esp, 0x10
test eax, eax
jne 0x40eac7
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 8]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x40ee32
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edi
xor ebx, ebx
call fcn.0040ebda
test eax, eax
jne 0x40ee4e
push 5
push str.regedit.exe
call dword [sym.imp.KERNEL32.DLL_WinExec]
call fcn.0040ebda
test eax, eax
je 0x40eeb1
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000000
je 0x40ee72
push 9
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [esp + 0xc]
push edi
call fcn.0040ed23
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, edi
call fcn.0040eacc
test eax, eax
je 0x40eea6
push dword [edi + 8]
mov ebx, dword [esp + 0x14]
or eax, 0xffffffff
call fcn.0040ec31
push dword [edi + 8]
call fcn.0040ec79
xor ebx, ebx
inc ebx
pop esi
mov eax, ebx
pop ebx
ret 8
Function at 0x40f238
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
call fcn.0040f131
xor ebx, ebx
cmp dword [0x4163bc], ebx
je 0x40f27a
call fcn.004023ff
cmp dword [eax + 0x10], 1
jne 0x40f26b
cmp esi, 0x19
je 0x40f27a
cmp esi, 0x17
je 0x40f27a
cmp esi, 0x16
je 0x40f27a
push ebx
push esi
push edi
push ebx
call dword [0x4163bc]
jmp 0x40f31c
push 0x103
lea eax, [ebp - 0x127]
push ebx
push eax
mov byte [ebp - 0x128], bl
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, 0x19
je 0x40f2a4
cmp esi, 0x17
je 0x40f2a4
cmp esi, 0x16
jne 0x40f2ba
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
jmp 0x40f2ce
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40f306
lea ecx, [ebp - 0x24]
mov eax, esi
call fcn.0040f176
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov eax, 0x104
call fcn.0040e919
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x128]
push eax
push edi
call sub.msvcrt.dll_strcpy
xor eax, eax
cmp byte [edi], bl
pop ecx
pop ecx
setne al
pop ebx
leave
ret
Function at 0x4109ca
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x411400
call fcn.00410bb8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x410a07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410a07
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x410a1f
cmp eax, 0x20b
je 0x410a0c
mov dword [ebp - 0x1c], ebx
jmp 0x410a33
cmp dword [ecx + 0x84], 0xe
jbe 0x410a07
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x410a2d
cmp dword [ecx + 0x74], 0xe
jbe 0x410a07
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x416a94], 0xffffffff
or dword [0x416a98], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x41603c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x416038]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x416a90], eax
call fcn.00410bb4
cmp dword [section..data], ebx
jne 0x410a8e
push fcn.00410bb4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00410ba2
push 0x4113d0
push 0x4113cc
call sub.msvcrt.dll__initterm
mov eax, dword [0x416034]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x416030]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x4113c8
push 0x4113b4
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x410b24
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x410af8
cmp al, 0x22
jne 0x410aea
cmp byte [esi], 0x22
jne 0x410b01
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x410b0b
cmp al, 0x20
jbe 0x410afd
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x410b2f
movzx eax, word [ebp - 0x48]
jmp 0x410b32
cmp byte [esi], 0x20
jbe 0x410b01
inc esi
mov dword [ebp - 0x34], esi
jmp 0x410b24
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x410b4f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x410b84
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00410bf1
ret
Function at 0x401000
Capabilities:
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
lea eax, [ebp - 0x214]
mov ebx, 0x61
add bx, 0x14
mov word [eax], bx
sub bx, 2
mov word [eax + 2], bx
sub bx, 0xe
mov word [eax + 4], bx
add bx, 0xd
mov word [eax + 6], bx
sub bx, 0x3f
mov word [eax + 8], bx
dec bx
mov word [eax + 0xa], bx
sub bx, 4
mov word [eax + 0xc], bx
add bx, 0x36
mov word [eax + 0xe], bx
add bx, 8
mov word [eax + 0x10], bx
mov word [eax + 0x12], bx
mov word [eax + 0x14], 0
push eax
push 0xec0e4ea4
push 0x6a4abc5b
call fcn.00401236
call eax
lea eax, [ebp - 0x214]
mov ebx, 0x61
add bx, 0x12
mov word [eax], bx
sub bx, 0xb
mov word [eax + 2], bx
sub bx, 3
mov word [eax + 4], bx
add bx, 7
mov word [eax + 6], bx
mov word [eax + 8], bx
sub bx, 0x39
mov word [eax + 0xa], bx
dec bx
mov word [eax + 0xc], bx
sub bx, 4
mov word [eax + 0xe], bx
add bx, 0x36
mov word [eax + 0x10], bx
add bx, 8
mov word [eax + 0x12], bx
mov word [eax + 0x14], bx
mov word [eax + 0x16], 0
push eax
push 0xec0e4ea4
push 0x6a4abc5b
call fcn.00401236
call eax
lea eax, [ebp - 0x214]
mov ebx, 0x61
add bx, 0x12
mov word [eax], bx
sub bx, 0xb
mov word [eax + 2], bx
add bx, 4
mov word [eax + 4], bx
add bx, 0xb
mov word [eax + 6], bx
sub bx, 0x16
mov word [eax + 8], bx
add bx, 0xf
mov word [eax + 0xa], bx
sub bx, 7
mov word [eax + 0xc], bx
sub bx, 0x3b
mov word [eax + 0xe], bx
add bx, 0x36
mov word [eax + 0x10], bx
add bx, 8
mov word [eax + 0x12], bx
mov word [eax + 0x14], bx
mov word [eax + 0x16], 0
push eax
push 0xec0e4ea4
push 0x6a4abc5b
call fcn.00401236
call eax
lea eax, [ebp - 0x214]
mov ebx, 0x61
add bx, 0x16
mov word [eax], bx
sub bx, 0xe
mov word [eax + 2], bx
add bx, 5
mov word [eax + 4], bx
sub bx, 5
mov word [eax + 6], bx
add bx, 5
mov word [eax + 8], bx
sub bx, 9
mov word [eax + 0xa], bx
add bx, 0xf
mov word [eax + 0xc], bx
sub bx, 0x46
mov word [eax + 0xe], bx
add bx, 0x36
mov word [eax + 0x10], bx
add bx, 8
mov word [eax + 0x12], bx
mov word [eax + 0x14], bx
mov word [eax + 0x16], 0
push eax
push 0xec0e4ea4
push 0x6a4abc5b
call fcn.00401236
call eax
mov dword [ebp - 0xa], 0x4017e3
mov dword [ebp - 6], 0xd2db8
push 1
push 6
push 0x401787
push dword [ebp - 6]
push dword [ebp - 0xa]
push 1
call fcn.0040132a
test eax, eax
je 0x4011f9
mov dword [ebp - 0xa], 0x4d459b
mov dword [ebp - 6], 0x3f78c9
push 1
push 6
push 0x4017ab
push dword [ebp - 6]
push dword [ebp - 0xa]
push 1
call fcn.0040132a
test eax, eax
je 0x401221
push 0
push 0x73e2d87e
push 0x6a4abc5b
call fcn.00401236
call eax
leave
ret
Function at 0x4d9769
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4d9793
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43f020]
inc edi
sub esi, 1
jne 0x4d977b
pop edi
mov eax, edx
pop esi
ret 0xc

Function at 0x4d9920
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
cmp dword [edi], 2
lea esi, [edi + 4]
jne 0x4d9976
mov eax, dword [esi]
push ebx
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push dword [esp + 0x5c]
call fcn.004d9fd4
mov edx, ebp
mov ebx, ebp
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor eax, ebx
inc edx
mov ebx, eax
cmp edx, 0x20
jb 0x4d995a
mov dword [esi], eax
pop ebx
cmp dword [edi], 3
jne 0x4d99a2
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
push 0x20
push esi
push 0x20
push dword [esp + 0x58]
call fcn.004d9fd4
push 0x20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004f3cbb
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
Function at 0x4d9d7d
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x264
push ebx
mov ebx, dword [esp + 0x280]
mov eax, ecx
mov dword [esp + 4], eax
cmp ebx, 0x18
ja 0x4d9f79
push ebp
push esi
xor ebp, ebp
lea esi, [eax + 0x4b4]
push edi
mov edi, ebp
cmp dword [esi + 0x134], ebx
jne 0x4d9de1
push dword [esp + 0x27c]
mov ecx, esi
call fcn.004e2ba4
test al, al
je 0x4d9de1
push 0x10
push dword [esp + 0x288]
lea eax, [esi + 0x102]
push eax
call fcn.004f45e5
add esp, 0xc
test eax, eax
je 0x4d9f83
inc edi
add esi, 0x178
cmp edi, 4
jb 0x4d9da7
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.004e57b0
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x10
push dword [esp + 0x298]
lea eax, [esp + 0x8c]
push eax
call fcn.004f782b
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004da1df
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004e2de0
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push 0x40
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
mov edi, ebx
mov eax, dword [esp + 0x290]
pop ecx
mov dword [ebx + 0x134], eax
lea eax, [ebx + 0x102]
rep movsd dword es:[edi], dword [esi]
push 0x10
push dword [esp + 0x288]
push eax
movsw word es:[edi], word [esi]
call fcn.004f3cbb
push 0x20
pop edi
push edi
lea eax, [esp + 0x24]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.004f3cbb
push edi
lea eax, [esp + 0x50]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.004f3cbb
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.004f3cbb
fistp word [ebp - 0x3b7cffff]
xor byte [ebp + 0x6a], dl
add dword [edi + 0x56], edx
call fcn.004e2cdf
cmp dword [esp + 0x290], ebp
je 0x4d9f07
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.004f3cbb
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x4d9f3a
push 8
push ebp
push esi
call fcn.004f398b
add esp, 0xc
mov al, byte [esp + ebp + 0x34]
mov ecx, ebp
and ecx, 7
xor byte [ecx + esi], al
inc ebp
cmp ebp, edi
jb 0x4d9f1e
push edi
lea eax, [esp + 0x38]
push eax
call fcn.004e2de0
cmp dword [esp + 0x288], 0
je 0x4d9f6b
push dword [esp + 0x288]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0x100
push eax
push dword [esp + 0x284]
add ecx, 0xa9c
call fcn.004e222b
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004e2de0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 0x20
push 0x20
pop edi
push edi
lea eax, [esi + 0x112]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004f3cbb
add esp, 0xc
lea eax, [esp + 0x14]
push ebp
push ebp
push edi
push eax
call fcn.004e2cdf
push edi
lea eax, [esi + 0x138]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004f3cbb
push edi
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004f3cbb
add esp, 0x18
jmp 0x4d9ee9
Function at 0x4d9fd4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1bc
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
push 0x40
pop edi
cmp ebx, edi
jbe 0x4da029
lea eax, [esp + 0x164]
push eax
call fcn.004e39b1
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.004e39f7
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004e38ce
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x4da030
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4da05b
mov ecx, dword [esp + 0x1e8]
cmp byte [ecx], 0
je 0x4da05b
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x4da0b9
xor edx, edx
test ebx, ebx
je 0x4da07b
mov esi, eax
lea eax, [esp + 0x14]
sub esi, eax
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [esi + ecx]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x4da069
cmp ebx, edi
jae 0x4da095
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.004f398b
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.004e39b1
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.004e39f7
test ebp, ebp
je 0x4da0d6
mov eax, dword [esp + 0x1e8]
cmp byte [eax], 0
jne 0x4da0d6
push 0x1a
pop ecx
lea esi, [esp + 0x94]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push dword [esp + 0x1dc]
lea eax, [esp + 0x98]
push dword [esp + 0x1dc]
push eax
call fcn.004e39f7
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004e38ce
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x4da12a
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x4da12a
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x4da194
test ebx, ebx
je 0x4da14c
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
sub edx, eax
xor esi, esi
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, 0x5c
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x4da13a
cmp ebx, 0x40
jae 0x4da168
push 0x40
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.004f398b
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.004e39b1
push 0x40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.004e39f7
test ebp, ebp
je 0x4da1aa
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
jne 0x4da1aa
push 0x1a
pop ecx
lea esi, [esp + 0xfc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.004e39f7
push dword [esp + 0x1e0]
lea eax, [esp + 0x100]
push eax
call fcn.004e38ce
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x24
Function at 0x4da1df
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x190
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x4da1f9
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x48]
push eax
call fcn.004f3cbb
add esp, 0xc
mov dword [ebp + esi - 0x48], 0x1000000
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.004d9fd4
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004f3cbb
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov byte [ebp + 0x56], 0
mov dword [ebp + 0x48], eax
xor esi, esi
mov byte [ebp + 0x57], 0
push 0x10
pop eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x44], eax
mov edi, dword [ebp + esi + 0x48]
test edi, edi
je 0x4da2c5
lea eax, [ebp + 0x57]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp + 0x56]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.004d9fd4
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004f3cbb
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x1c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, ebx
jb 0x4da2b3
sub edi, 1
jne 0x4da276
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + esi + 0x3c]
call fcn.004f3cbb
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x4da26e
push 0x44
lea eax, [ebp - 0x48]
push eax
call fcn.004e2de0
push ebx
lea eax, [ebp - 4]
push eax
call fcn.004e2de0
push ebx
lea eax, [ebp + 0x1c]
push eax
call fcn.004e2de0
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.004e2de0
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret 0x20
Function at 0x4e03d1
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x4e03ee
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x4e03e6
cmp cl, byte [edx]
jne 0x4e0429
push esi
push edx
push 0xffffffffffffffff
call fcn.004d9769
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e044], eax
jne 0x4e040f
cmp dword [ecx + 0x43e040], esi
je 0x4e041a
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x4e03ff
jmp 0x4e0429
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x4e2815
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ecx
mov edx, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
lea eax, [edx + 0x18]
mov dword [esp + 8], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x4e2895
mov ecx, dword [esp + 0x10]
mov eax, ecx
add ecx, 0x10
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 8]
dec ecx
movups xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x4e2872
mov eax, ecx
shl eax, 4
add eax, dword [esp + 8]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x4e2862
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x4e2885
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x4e2831
pop edi
movups xmmword [edx + 8], xmm2
pop esi
pop ecx
ret 0xc

Function at 0x4e28c9
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebp
push edi
mov ebp, ecx
xor edi, edi
inc edi
mov dword [esp + 0x14], ebp
mov dword [esp + 8], edi
cmp dword [ebp + 4], edi
jle 0x4e2977
push ebx
lea ebx, [ebp + 0x28]
push esi
mov dword [esp + 0x14], ebx
lea eax, [ebx + 2]
xor esi, esi
mov dword [esp + 0x18], eax
lea edi, [esp + 0x20]
mov ebp, eax
push 4
add edi, esi
pop ebx
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp - 1]
mov dl, byte [esi + eax*4 + 0x447dc8]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x4475c8]
xor dl, byte [esi + eax*4 + 0x4471c8]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x4479c8]
mov byte [edi], dl
lea edi, [edi + 4]
sub ebx, 1
jne 0x4e2901
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x4e28f6
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push ebx
call fcn.004f3cbb
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
inc edi
add ebx, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
cmp edi, dword [ebp + 4]
jl 0x4e28ed
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x20
ret