joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push 2
push esi
push eax
mov edi, edx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x408], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, esi
jne 0x404db2
call fcn.0040419f
mov esi, eax
jmp 0x404e77
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x404dcb
call fcn.0040419f
jmp 0x404e69
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x404dc1
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x404dfb
mov esi, 0x8007000e
jmp 0x404e6b
push 2
push eax
call fcn.004145fb
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x404e1b
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.004134bb
jmp 0x404e27
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], esi
je 0x404df4
push edi
push dword [ebp - 0x408]
push edi
push ebx
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x404dc1
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x414]
call fcn.0040581c
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x404e90
lea eax, [ebp - 0x408]
call fcn.00412a18
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414657
leave
ret 0xc
Function at 0x405fad
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00414670
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406010
cmp dword [ebp - 0x114], 5
jae 0x40600c
cmp dword [ebp - 0x114], 4
jne 0x406010
cmp dword [ebp - 0x110], 0x5a
jb 0x406010
xor eax, eax
jmp 0x406013
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414657
leave
ret
Function at 0x40ab3d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
lea esi, [ebx + 0x1b8]
call fcn.004063fc
cmp byte [ebx + 0x2fa], 2
jb 0x40abae
lea eax, [ebx + 0x32c]
lea edi, [ebx + 0x1dc]
call fcn.0040331c
lea eax, [ebx + 0x330]
lea edi, [ebx + 0x1e0]
call fcn.0040331c
jmp 0x40abcd
mov edi, 0x4298bc
push edi
lea eax, [ebx + 0x1dc]
push eax
call fcn.004028bd
push edi
lea eax, [ebx + 0x1e0]
push eax
call fcn.004028bd
push 1
push 0
push dword [ebx + 0x1b8]
mov dword [ebx + 0x1d8], 3
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004019f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00414657
leave
ret
Function at 0x40b6e6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x3cc], 0
je 0x40b746
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x33c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x3a0]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
and dword [esi + 0x3cc], 0
mov esi, dword [esi + 0x1e8]
test esi, esi
je 0x40b746
push 1
push 0
push dword [esi + 4]
mov byte [esi + 0x70], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop esi
ret
Function at 0x40bc07
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040ab3d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0040628c
mov esi, eax
mov eax, dword [esi + 8]
xor ecx, ecx
lea edx, [ebx + 0x34]
test eax, eax
jle 0x40bc48
mov edi, dword [esi + 4]
cmp dword [edi], edx
je 0x40bc4b
inc ecx
add edi, 4
cmp ecx, eax
jl 0x40bc3c
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x40bc7f
test ecx, ecx
js 0x40bc7f
cmp ecx, eax
jge 0x40bc7f
lea edx, [eax - 1]
cmp ecx, edx
je 0x40bc7c
mov edx, dword [esi + 4]
sub eax, ecx
shl eax, 2
lea ecx, [edx + ecx*4]
lea edx, [eax - 4]
push edx
lea edx, [ecx + 4]
push edx
push eax
push ecx
call fcn.00402c36
add esp, 0x10
dec dword [esi + 8]
mov eax, dword [esi + 0x14]
xor ecx, ecx
lea edx, [ebx + 0x38]
test eax, eax
jle 0x40bc9a
mov edi, dword [esi + 0x10]
cmp dword [edi], edx
je 0x40bc9d
inc ecx
add edi, 4
cmp ecx, eax
jl 0x40bc8e
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x40bcd1
test ecx, ecx
js 0x40bcd1
cmp ecx, eax
jge 0x40bcd1
lea edx, [eax - 1]
cmp ecx, edx
je 0x40bcce
mov edx, dword [esi + 0x10]
sub eax, ecx
shl eax, 2
lea ecx, [edx + ecx*4]
lea edx, [eax - 4]
push edx
lea edx, [ecx + 4]
push edx
push eax
push ecx
call fcn.00402c36
add esp, 0x10
dec dword [esi + 0x14]
push dword [0x4326a4]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp byte [ebx + 0x2c5], 0
jne 0x40bcf1
lea esi, [ebx + 0x1ec]
call fcn.00403f50
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 4
Function at 0x40be8f
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
xor ecx, ecx
push edi
xor edi, edi
cmp dword [ebx + 0x3cc], edi
sete cl
mov dword [ebx + 0x3cc], ecx
cmp ecx, edi
je 0x40bff3
cmp dword [0x4326a4], edi
jne 0x40bee8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x40a2fb
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4326a4], eax
lea eax, [ebx + 0x3a0]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call esi
push 1
mov dword [ebp - 0x54], eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx + 0x1e8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push dword [eax + 4]
call esi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
lea esi, [ebx + 0x3d0]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edi
mov dword [ebx + 0x3d4], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0x2c
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], 1
mov dword [ebx + 0x3d8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
lea edi, [ebp - 0x34]
add eax, dword [ebp - 0x58]
mov dword [ebx + 0x3dc], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0
push 0x26
push 0xf2
push 8
push 8
push dword [ebx + 4]
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0x9c4
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor edi, edi
jmp 0x40c024
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x3a0]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [ebx + 0x1e8]
push 1
push edi
push dword [ebx + 4]
mov byte [ebx + 0x70], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00414657
leave
ret
Function at 0x40ff28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and dword [ebx], 0
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x40ff56
cmp eax, 0x79
jne 0x40ff4d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x40ff56
cmp dword [esi + 0xa8], 0x20
jne 0x40ffc8
cmp dword [ebp + 8], 0xf100
jne 0x40ffc8
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x40ff85
mov eax, esi
call fcn.004122aa
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40ffc8
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x40ffc8
test byte [esi + 0x84], 0x40
jne 0x40ffbd
mov al, byte [esi + 0x85]
test al, 2
je 0x40ffb2
test al, 4
jne 0x40ffb2
test al, 8
je 0x40ffb2
mov al, 1
call fcn.00412328
push edi
mov edi, esi
call fcn.00412283
pop edi
jmp 0x40ffc2
cmp eax, 0x20
je 0x40ffc8
mov dword [ebx], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x412465
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x4124af
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x4124d6
shr eax, 2
test al, 1
je 0x4124df
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x412512
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x42a9bc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x412511
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret

Function at 0x414657
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f064]
jne 0x414661
repz ret
jmp fcn.004161d9
Function at 0x41eb8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00418b7d
and dword [ebp - 0x14], 0
cmp dword [0x4324a4], 0
mov dword [ebp - 0x18], eax
jne 0x41ec3f
push 0x4297c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ece7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4297b8
push ebx
call edi
test eax, eax
je 0x41ece7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4297a8
push ebx
mov dword [0x4324a4], eax
call edi
push eax
call esi
push 0x429794
push ebx
mov dword [0x4324a8], eax
call edi
push eax
call esi
push 0x429778
push ebx
mov dword [0x4324ac], eax
call edi
push eax
call esi
mov dword [0x4324b4], eax
test eax, eax
je 0x41ec3f
push 0x429760
push ebx
call edi
push eax
call esi
mov dword [0x4324b0], eax
mov eax, dword [0x4324b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ec98
cmp dword [0x4324b4], ecx
je 0x41ec98
push eax
call esi
push dword [0x4324b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ec98
test ebx, ebx
je 0x41ec98
call edi
test eax, eax
je 0x41ec8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ec8f
test byte [ebp - 8], 1
jne 0x41ec98
or dword [ebp + 0x10], 0x200000
jmp 0x41eccb
mov eax, dword [0x4324a8]
cmp eax, dword [ebp - 0x18]
je 0x41eccb
push eax
call esi
test eax, eax
je 0x41eccb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41eccb
mov eax, dword [0x4324ac]
cmp eax, dword [ebp - 0x18]
je 0x41eccb
push eax
call esi
test eax, eax
je 0x41eccb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4324a4]
call esi
test eax, eax
je 0x41ece7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ece9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414657
leave
ret
Function at 0x422ee7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x432508], 0
push esi
push edi
jne 0x422e5d
call fcn.00422dc9
test eax, eax
je 0x422ea2
mov eax, dword [0x432508]
cmp eax, 1
jne 0x422e7e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x422ea2
jmp 0x422ee4
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x422ee4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x422ea6
xor eax, eax
jmp 0x422ee4
mov eax, dword [esi]
push dword [0x432508]
call edi
mov edi, eax
test edi, edi
je 0x422ec8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x422ee4
lea edi, [esi + 0xff0]
push esi
push dword [0x432508]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x422ece
mov eax, esi
pop edi
pop esi
ret
jmp 0x422e49

Function at 0x4238f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00423780
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xc], ecx
shr ecx, 3
and ecx, 0x3f
mov dword [ebp - 8], edx
mov eax, 0x38
cmp ecx, 0x38
jb 0x423959
mov eax, 0x78
sub eax, ecx
push 0x431210
call fcn.00423780
lea eax, [ebp - 0xc]
push eax
mov eax, 8
call fcn.00423780
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
push 0x58
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
push 0
push esi
mov dword [edi + 0xc], ecx
call fcn.00414670
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.00414657
mov esp, ebp
pop ebp
ret 8
Function at 0x423b70
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x431350]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x431350]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x431350]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x431350]
mov byte [eax + 0xf], dl
ret

Function at 0x423c50
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x431250]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x431250]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x431250]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x431250]
mov byte [eax + 0xf], dl
ret
Function at 0x4248a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x4248f3
mov ebx, ecx
and ebx, 0x80000003
jns 0x4248d4
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x4248c5
mov ecx, dword [esi + 0x18]
mov eax, esi
call fcn.00423d30
mov eax, dword [esi + 0x18]
dec eax
cmp eax, 1
jl 0x4249a2
mov ecx, eax
add ecx, ecx
lea ebx, [esi + ecx*8 + 0x3d]
mov dword [ebp - 4], eax
call fcn.004239d0
mov eax, esi
call fcn.00423b70
movzx edx, byte [ebx - 1]
xor byte [esi], dl
movzx eax, byte [ebx]
xor byte [esi + 4], al
movzx ecx, byte [ebx + 1]
xor byte [esi + 8], cl
movzx edx, byte [ebx + 2]
xor byte [esi + 0xc], dl
movzx eax, byte [ebx + 3]
xor byte [esi + 1], al
movzx ecx, byte [ebx + 4]
xor byte [esi + 5], cl
movzx edx, byte [ebx + 5]
xor byte [esi + 9], dl
movzx eax, byte [ebx + 6]
xor byte [esi + 0xd], al
movzx ecx, byte [ebx + 7]
xor byte [esi + 2], cl
movzx edx, byte [ebx + 8]
xor byte [esi + 6], dl
movzx eax, byte [ebx + 9]
xor byte [esi + 0xa], al
movzx ecx, byte [ebx + 0xa]
xor byte [esi + 0xe], cl
movzx edx, byte [ebx + 0xb]
xor byte [esi + 3], dl
movzx eax, byte [ebx + 0xc]
xor byte [esi + 7], al
movzx ecx, byte [ebx + 0xd]
xor byte [esi + 0xb], cl
movzx edx, byte [ebx + 0xe]
xor byte [esi + 0xf], dl
mov edi, esi
call fcn.004242d0
sub ebx, 0x10
dec dword [ebp - 4]
jne 0x424915
call fcn.004239d0
mov eax, esi
call fcn.00423b70
movzx eax, byte [esi + 0x3c]
xor byte [esi], al
movzx ecx, byte [esi + 0x3d]
xor byte [esi + 4], cl
movzx edx, byte [esi + 0x3e]
xor byte [esi + 8], dl
movzx eax, byte [esi + 0x3f]
xor byte [esi + 0xc], al
movzx ecx, byte [esi + 0x40]
xor byte [esi + 1], cl
movzx edx, byte [esi + 0x41]
xor byte [esi + 5], dl
movzx eax, byte [esi + 0x42]
xor byte [esi + 9], al
movzx ecx, byte [esi + 0x43]
xor byte [esi + 0xd], cl
movzx edx, byte [esi + 0x44]
xor byte [esi + 2], dl
movzx eax, byte [esi + 0x45]
xor byte [esi + 6], al
movzx ecx, byte [esi + 0x46]
xor byte [esi + 0xa], cl
movzx edx, byte [esi + 0x47]
xor byte [esi + 0xe], dl
movzx eax, byte [esi + 0x48]
xor byte [esi + 3], al
movzx ecx, byte [esi + 0x49]
xor byte [esi + 7], cl
movzx edx, byte [esi + 0x4a]
xor byte [esi + 0xb], dl
movzx eax, byte [esi + 0x4b]
xor byte [esi + 0xf], al
mov ecx, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x424a4a
lea ebx, [ebx]
mov edi, eax
shr edi, 2
mov edx, eax
add edi, esi
and edx, 3
mov dl, byte [edi + edx*4]
mov edi, dword [ebp + 8]
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x424a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4