joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d804
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42d850
mov eax, esi
call fcn.00442e20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d850
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d850
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42d98f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d890
cmp eax, 0x108
ja 0x42d890
mov eax, esi
call fcn.00442e20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d986
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d98f
jmp 0x42d986
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d96f
cmp eax, 0x20a
ja 0x42d96f
test byte [esi + 0x50], 0x80
jne 0x42d8c2
sub eax, 0x203
je 0x42d8bf
sub eax, 3
je 0x42d8bf
sub eax, 3
jne 0x42d8c2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d8d6
dec eax
je 0x42d8eb
dec eax
je 0x42d908
dec eax
je 0x42d8eb
jmp 0x42d90f
mov ecx, ebx
mov eax, dword [0x44efbc]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c6e8
jmp 0x42d986
cmp byte [esi + 0x5d], 1
jne 0x42d901
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x42d98f
or word [esi + 0x54], 1
jmp 0x42d986
and word [esi + 0x54], 0xfffe
jmp 0x42d986
mov eax, dword [0x450b10]
cmp byte [eax + 0x20], 0
je 0x42d986
mov eax, dword [0x450b10]
cmp dword [eax + 0x1c], 0
je 0x42d986
mov eax, dword [ebx]
mov edx, dword [0x450b10]
cmp eax, dword [edx + 0x1c]
jne 0x42d986
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00442d64
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403674
jmp 0x42d98f
cmp eax, 0xb00b
jne 0x42d986
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c160
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430e24
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 0x430e40
cmp dword [esi + 4], 0
je 0x430e6d
test byte [ebx + 0x55], 1
jne 0x430e5f
mov eax, ebx
call fcn.0042fa30
test eax, eax
jne 0x430e5f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430f7d
mov edx, esi
mov eax, ebx
call fcn.00430948
jmp 0x430f7d
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 0x430f76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432c94
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.0042d738
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430e24
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.00432c94
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430f7d
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 0x4373dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f118]
cmp byte [eax + 0xc], 0
je 0x437549
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437542
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b64], 0
jne 0x437430
push 0x437550
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437558
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
cmp dword [0x44eb00], 0
jne 0x43752b
push 0x437568
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb00], eax
cmp dword [0x44eb00], 0
je 0x43752b
push 0x437574
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x437584
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x437598
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x4375b0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x4375c8
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
push 0x4375dc
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b7c], eax
push 0x4375f4
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b80], eax
push 0x43760c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b84], eax
push 0x437628
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b88], eax
push 0x437634
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437549
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b4dc
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b52b
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442cd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442d24]
test si, 4
je 0x442ce8
or bl, 1
test si, 8
je 0x442cf2
or bl, 4
test si, 1
je 0x442cfc
or bl, 8
test si, 2
je 0x442d06
or bl, 0x10
test si, 0x10
je 0x442d10
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442d1f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442d28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442d60]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442d41
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442d50
or bl, 4
test esi, 0x20000000
je 0x442d5b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449424
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449436
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419524
mov eax, dword [0x44edf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4497c8
mov eax, dword [0x44ee04]
mov dword [eax + 4], ebx
mov dword [eax], 0x4497d4
mov eax, ebx
call fcn.004497e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
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, 0x445bf8
push eax
push 0
push 0
mov eax, dword [0x44ef44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449c30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449af8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449af8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449af8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449573
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4498dc
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 0x449a87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449a68
mov dl, 1
mov eax, dword [0x411c38]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449a57
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.0043773c
test al, al
je 0x449a4a
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, 0x449a98
lea eax, [ebp - 0x254]
call fcn.00408c84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449a4a
xor eax, eax
push ebp
push 0x449a43
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 0x449ad0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449a2c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
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 0x449a2c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449a4a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44994d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415714
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 0x449a8e
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x450bb0]
cmp byte [eax + 0xa5], 0
jne 0x44a441
cmp dword [0x450bc8], 0
jne 0x44a402
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a38c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450bc8], eax
cmp dword [0x450bc4], 0
jne 0x44a41d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450bc4], eax
cmp dword [0x450bcc], 0
jne 0x44a441
push esp
push 0
push 0
push 0x44a330
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450bcc], eax
pop edx
ret
Function at 0x44aad4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bb0]
cmp dword [eax + 0x30], 0
je 0x44ab7e
cmp dword [ebx + 0x94], 0
jne 0x44ab78
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44aa64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ab78
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 0x44ab3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ab78
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.00413b84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ab4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b6dc
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 0x44b711
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.004042d0
jmp 0x44b71e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c830
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c871
mov eax, esi
call fcn.00432ef4
test al, al
je 0x44c871
mov eax, dword [ebx + 0x84]
call fcn.00432c94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c871
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432c94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x1e4dc
mov dword [ebp - 0xc], 0x3000
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esp, ebp
pop ebp
ret

Function at 0x401160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0x11cb
mov dword [ebp - 0x10], 0
jmp 0x40117f
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jae 0x401246
mov dword [ebp - 8], 0x4189
cmp dword [ebp - 0x10], 0
jne 0x4011e8
push 0x104
push 0x40215c
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32cabinet.dll
push 0x40215c
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 1
push 0x40215c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4011e1
cmp dword [ebp - 4], 0
jne 0x4011e8
mov eax, 0x42
jmp 0x401246
mov edx, dword [ebp - 0x10]
add edx, 0x563
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x401176
mov esp, ebp
pop ebp
ret
Function at 0x43b651
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x43b3c1
pop esi
sub ebx, 0xbd757516
call fcn.0043b680
mov eax, 0x303f19c4
add ebx, ebx
or ebx, ebx
xor dword [edi], esi
inc ebx
inc edi
or ebx, eax
cmp edi, ecx
jne fcn.0043b651
mov eax, 0x53912f35
ret
Function at 0x4cdfc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x72fa10]
xor edx, edx
cmp eax, edx
jne 0x4cdfe6
xor eax, eax
mov byte [eax + 0x72f910], al
inc eax
cmp eax, 0x100
jl 0x4cdfce
mov dword [0x72fa10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x72f910
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ce077
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ce04a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ce018
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ce0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ce143
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ce12a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x4d2861
cmp eax, 8
jg 0x4d2861
cmp dword [esp + 0x8c], 2
jl 0x4d2861
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x4d2861
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4d2861
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4d26c7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x4d284a
mov ebp, dword [0x578748]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4d26f9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4d2831
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4d2719
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x578738]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4d2758
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x57873c]
lea ecx, [esp + 0x28]
push ecx
call dword [0x57877c]
test eax, eax
jne 0x4d2818
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.004d1c50
cmp eax, 1
jne 0x4d2842
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004d2500
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4d270d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4d284a
jmp 0x4d26e4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004d1850
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c