joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435d80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x435d9c
cmp dword [esi + 4], 0
je 0x435dc9
test byte [ebx + 0x55], 1
jne 0x435dbb
mov eax, ebx
call fcn.0043498c
test eax, eax
jne 0x435dbb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435ed9
mov edx, esi
mov eax, ebx
call fcn.004358a4
jmp 0x435ed9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x435ed2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437c08
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00432694
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00435d80
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437c08
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435ed9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c350
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47567c]
cmp byte [eax + 0xc], 0
je 0x43c4bd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c4b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x476b5c], 0
jne 0x43c3a4
push 0x43c4c4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c4cc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b5c], eax
cmp dword [0x473b38], 0
jne 0x43c49f
push 0x43c4dc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x473b38], eax
cmp dword [0x473b38], 0
je 0x43c49f
push 0x43c4e8
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b60], eax
push 0x43c4f8
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b64], eax
push 0x43c50c
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b68], eax
push 0x43c524
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b6c], eax
push 0x43c53c
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b70], eax
push 0x43c550
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b74], eax
push 0x43c568
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b78], eax
push 0x43c580
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b7c], eax
push 0x43c59c
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b80], eax
push 0x43c5a8
mov eax, dword [0x473b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c4bd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44035c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c6c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4403ab
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404eec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447b54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447ba4]
test si, 4
je 0x447b68
or bl, 1
test si, 8
je 0x447b72
or bl, 4
test si, 1
je 0x447b7c
or bl, 8
test si, 2
je 0x447b86
or bl, 0x10
test si, 0x10
je 0x447b90
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447b9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447ba8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447be0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447bc1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447bd0
or bl, 4
test esi, 0x20000000
je 0x447bdb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e2a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e2b6
add esp, 0xfffffff0
call fcn.00404218
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c9a0
mov eax, dword [0x47526c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e648
mov eax, dword [0x47527c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e654
mov eax, ebx
call fcn.0044e660
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413ca8]
call fcn.00403ec8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413ca8]
call fcn.00403ec8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413ca8]
call fcn.00403ec8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413ca8]
call fcn.00403ec8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413ca8]
call fcn.00403ec8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44aa78
push eax
push 0
push 0
mov eax, dword [0x47540c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4208ac]
call fcn.00421d14
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4208ac]
call fcn.00421d14
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4208ac]
call fcn.00421d14
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044eab0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e978
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e978
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e978
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e3f3
call fcn.00404270
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e75c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e907
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e8e8
mov dl, 1
mov eax, dword [0x41430c]
call fcn.00403ec8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c6c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e8d7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043c6b0
test al, al
je 0x44e8ca
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44e918
lea eax, [ebp - 0x254]
call fcn.0040a300
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e8ca
xor eax, eax
push ebp
push 0x44e8c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44e950
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e8ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404eec
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44e8ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404eec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e8ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e7cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004189b4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e90e
lea eax, [ebp - 0x260]
call fcn.00404c6c
ret

Function at 0x44f250
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x476ba8]
cmp byte [eax + 0xa5], 0
jne 0x44f2c1
cmp dword [0x476bc0], 0
jne 0x44f282
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f20c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476bc0], eax
cmp dword [0x476bbc], 0
jne 0x44f29d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476bbc], eax
cmp dword [0x476bc4], 0
jne 0x44f2c1
push esp
push 0
push 0
push 0x44f1b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476bc4], eax
pop edx
ret
Function at 0x44f954
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476ba8]
cmp dword [eax + 0x30], 0
je 0x44f9fe
cmp dword [ebx + 0x94], 0
jne 0x44f9f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f8e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f9f8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f9be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f9f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004162e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f9cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45055c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450591
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d5c
jmp 0x45059e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45152c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45156d
mov eax, esi
call fcn.00437e68
test al, al
je 0x45156d
mov eax, dword [ebx + 0x84]
call fcn.00437c08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45156d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437c08
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456c00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x456c6b
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x456c39
call fcn.00403e2c
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404eec
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00456be8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456c72
lea eax, [ebp - 0xc]
call fcn.00404c6c
ret

Function at 0x458ae4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x458c2c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 0xd], 0
cmp byte [0x473ebc], 0
jne 0x458b21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x458c88
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x458b32
call fcn.00403e34
test eax, eax
jb 0x458c1e
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
add esi, 1
jae 0x458b4a
call fcn.00403e34
and esi, 0xff
cmp esi, 0xff
jbe 0x458b5d
call fcn.00403e2c
xor eax, eax
mov al, byte [esi + 0x476c30]
add edi, eax
jae 0x458b6e
call fcn.00403e34
and edi, 0xff
cmp edi, 0xff
jbe 0x458b81
call fcn.00403e2c
mov cl, byte [edi + 0x476c30]
cmp esi, 0xff
jbe 0x458b94
call fcn.00403e2c
mov byte [esi + 0x476c30], cl
cmp eax, 0xff
jbe 0x458ba6
call fcn.00403e2c
cmp edi, 0xff
jbe 0x458bb3
call fcn.00403e2c
mov byte [edi + 0x476c30], al
cmp esi, 0xff
jbe 0x458bc6
call fcn.00403e2c
xor ecx, ecx
mov cl, byte [esi + 0x476c30]
add eax, ecx
jae 0x458bd7
call fcn.00403e34
and eax, 0xff
cmp edx, 0x7fff
jbe 0x458be9
call fcn.00403e2c
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
cmp eax, 0xff
jbe 0x458bfb
call fcn.00403e2c
xor cl, byte [eax + 0x476c30]
cmp edx, 0x7fff
jbe 0x458c0e
call fcn.00403e2c
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x14]
jne 0x458b40
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x458c88
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d9bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45da4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [esi + 0x30], 0
jne 0x45da03
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00408ebc
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404cc0
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x34]
call fcn.004091b8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00405280
mov esi, eax
push ebx
mov ecx, esi
sub ecx, 1
jno 0x45da27
call fcn.00403e34
mov eax, dword [ebx]
mov edx, 1
call fcn.0040519c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da55
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c90
ret

Function at 0x45ecd0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x45eeac
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x45eec9
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x45efdb
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x45eefc
je 0x45ef48
sub ecx, 0x2b
je 0x45ef3e
sub ecx, 4
je 0x45ef43
dec ecx
sub ecx, 0xa
jb 0x45ef2d
jmp 0x45ef4b
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x45ef0e
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x45ef1c
jmp 0x45ef4b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x45ef4b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x45ef4b
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x45ef4b
mov byte [eax], 0x3e
jmp 0x45ef4b
mov byte [eax], 0x3f
jmp 0x45ef4b
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x45eedb
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x45ef9b
cmp byte [esp + 3], 0xff
jne 0x45ef9b
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x45efd3
cmp dl, 0xff
je 0x45efd3
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x45eed4
add esp, 0xc
pop ebp
pop edi
pop esi
ret
Function at 0x45f9bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, edx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
add eax, 0x3c
mov esi, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 8]
mov dword [edx], eax
cmp esi, eax
jbe 0x45fa24
mov ecx, dword [ebp - 8]
push ecx
push edi
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
add eax, 0x28
push eax
call fcn.0045f080
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add dword [edx + 0x38], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x45fb2f
cmp ebx, edi
jne 0x45fa32
mov eax, 0x1001
jmp 0x45fb2f
mov edx, esi
sub edx, dword [ebp - 0x10]
push edx
push edi
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
add ecx, 0x28
push ecx
call fcn.0045f080
mov eax, esi
mov edx, esi
sub eax, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
sub dword [ebp - 8], edx
add edi, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ecx + 0x18]
xor eax, dword [edx + 0x28]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x20]
xor eax, dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x24]
xor eax, dword [edx + 0x34]
mov edx, ebx
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00461510
add ebx, esi
cmp esi, dword [ebp - 8]
ja 0x45fae1
mov eax, ebx
sub eax, esi
mov edx, dword [eax]
xor edx, dword [edi]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
xor ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00461510
add edi, esi
add ebx, esi
sub dword [ebp - 8], esi
cmp esi, dword [ebp - 8]
jbe 0x45faa6
mov eax, ebx
mov ecx, dword [ebp - 4]
sub eax, esi
mov edx, dword [eax]
mov dword [ecx + 0x18], edx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ecx + 0x20], edx
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
push eax
push edi
mov ecx, dword [ebp - 4]
add ecx, 0x28
push ecx
call fcn.0045f080
add esp, 0xc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
sub dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45fb38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
jae 0x45fb98
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.0045f080
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x45fc75
cmp esi, edi
jne 0x45fba6
mov eax, 0x1001
jmp 0x45fc75
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
push edx
push edi
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0045f080
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
add edi, eax
add esp, 0xc
sub dword [ebp - 4], edx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00461510
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x45fc4b
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00461510
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
jae 0x45fc09
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.0045f080
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8