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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46d55c]
cmp byte [eax + 0xc], 0
je 0x43f549
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f542
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46eb64], 0
jne 0x43f430
push 0x43f550
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43f558
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb64], eax
cmp dword [0x46cc18], 0
jne 0x43f52b
push 0x43f568
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46cc18], eax
cmp dword [0x46cc18], 0
je 0x43f52b
push 0x43f574
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb68], eax
push 0x43f584
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb6c], eax
push 0x43f598
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb70], eax
push 0x43f5b0
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb74], eax
push 0x43f5c8
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb78], eax
push 0x43f5dc
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb7c], eax
push 0x43f5f4
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb80], eax
push 0x43f60c
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb84], eax
push 0x43f628
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb88], eax
push 0x43f634
mov eax, dword [0x46cc18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f549
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x44ab78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44abc8]
test si, 4
je 0x44ab8c
or bl, 1
test si, 8
je 0x44ab96
or bl, 4
test si, 1
je 0x44aba0
or bl, 8
test si, 2
je 0x44abaa
or bl, 0x10
test si, 0x10
je 0x44abb4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44abc3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44abcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ac04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44abe5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44abf4
or bl, 4
test esi, 0x20000000
je 0x44abff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4512ac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4512be
add esp, 0xfffffff0
call fcn.004034fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e720
mov eax, dword [0x46d1d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x451650
mov eax, dword [0x46d1e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45165c
mov eax, ebx
call fcn.00451668
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
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, 0x44da84
push eax
push 0
push 0
mov eax, dword [0x46d344]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420184]
call fcn.00421820
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420184]
call fcn.00421820
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420184]
call fcn.00421820
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451a88
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451964
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451964
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451964
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4513fb
call fcn.00403554
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451748
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 0x4518f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4518d4
mov dl, 1
mov eax, dword [0x416ddc]
call fcn.004031a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f48
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4518c3
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.0043f73c
test al, al
je 0x4518b6
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, 0x451904
lea eax, [ebp - 0x254]
call fcn.00408d8c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4518b6
xor eax, eax
push ebp
push 0x4518af
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 0x45193c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451898
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041b8
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 0x451898
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4518b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4517b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a910
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 0x4518fa
lea eax, [ebp - 0x260]
call fcn.00403f48
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ebb0]
cmp byte [eax + 0xa5], 0
jne 0x452299
cmp dword [0x46ebc8], 0
jne 0x45225a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4521e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ebc8], eax
cmp dword [0x46ebc4], 0
jne 0x452275
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ebc4], eax
cmp dword [0x46ebcc], 0
jne 0x452299
push esp
push 0
push 0
push 0x452188
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ebcc], eax
pop edx
ret
Function at 0x452390
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4523a7
add esp, 0xfffffff0
call fcn.004034fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e720
mov eax, dword [0x46d330]
cmp word [eax + 2], 0
jne 0x4523cf
mov eax, dword [0x46d330]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453a68
mov eax, dword [0x46d3ec]
cmp word [eax + 2], 0
jne 0x4523e9
mov eax, dword [0x46d3ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453c60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4169c0]
call fcn.004031a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420b8c]
call fcn.00428260
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452570
mov eax, dword [0x46d240]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428630
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454200
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d240]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c4fc
test eax, eax
je 0x4524de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408780
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c524
test eax, eax
je 0x4524f2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041b8
mov eax, dword [0x46d120]
cmp byte [eax], 0
jne 0x452526
mov eax, ebx
call fcn.00452698
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004543dc
mov eax, ebx
call fcn.00454da0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452566
call fcn.00403554
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452918
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ebb0]
cmp dword [eax + 0x30], 0
je 0x4529c2
cmp dword [ebx + 0x94], 0
jne 0x4529bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4528a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4529bc
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 0x452982
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4529bc
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.00418d28
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452991
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453524
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 0x453559
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.00404038
jmp 0x453566
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f9c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4545b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4545f9
mov eax, esi
call fcn.0043af44
test al, al
je 0x4545f9
mov eax, dword [ebx + 0x84]
call fcn.0043ac40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4545f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ac40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x454fd0
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41862c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x1f], 0xb41591e9
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1a], 0x9b006acf
mov byte [ebp - 0x1b], 0x44
mov byte [ebp - 0x16], 0x5b
mov byte [ebp - 0x20], 0x76
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x6d
mov bh, 0x1b
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x418668
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 4]
call fcn.00401871
and dword [ebp - 4], 0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1e], 0x54de4db4
mov word [ebp - 0x20], 0x3a91
mov word [ebp - 0x16], 0xaf2f
mov word [ebp - 0x19], 0x81
mov byte [ebp - 0x1a], 0xf5
mov byte [ebp - 0x17], 0xbd
call fcn.0041ad06
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x418708
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x418724
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ebx, eax
test ebx, ebx
jne 0x4187c1
and dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xb], 0x1f62f857
mov word [ebp - 7], 0x36bc
mov byte [ebp - 0xc], 0xc5
mov byte [ebp - 5], 0xb6
call fcn.0041ac1f
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x418788
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4187a1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ebx, eax
test edi, edi
je 0x4187be
mov eax, dword [edi + 4]
add edi, 4
mov ecx, dword [eax + 4]
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 4]
cmp ebx, 1
jae 0x4187c9
xor ebx, ebx
inc ebx
test edi, edi
je 0x4187dd
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x4187f1
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, esi
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [ebp + 8]
call fcn.00401871
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x418800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x1c], 0xbd116aef
lea esi, [ebp - 0x20]
mov word [ebp - 0x1f], 0xcc32
mov byte [ebp - 0x18], 0x3d
mov byte [ebp - 0x1d], 0x5f
mov byte [ebp - 0x20], 0x8b
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x6d
mov bh, 0xe6
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x41883b
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 4]
call fcn.00401871
and dword [ebp - 4], 0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1e], 0x54de4db4
mov word [ebp - 0x20], 0x3a91
mov word [ebp - 0x16], 0xaf2f
mov word [ebp - 0x19], 0x81
mov byte [ebp - 0x1a], 0xf5
mov byte [ebp - 0x17], 0xbd
call fcn.0041ad06
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4188db
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4188f7
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ebx, eax
test ebx, ebx
jne 0x418998
and dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xb], 0x1f62f857
mov word [ebp - 7], 0x36bc
mov byte [ebp - 0xc], 0xc5
mov byte [ebp - 5], 0xb6
call fcn.0041ac1f
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x41895b
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x418974
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ebx, eax
test edi, edi
je 0x418991
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
test ebx, ebx
jne 0x418998
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
test eax, eax
je 0x4189af
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x4189c3
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, esi
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [ebp + 8]
call fcn.00401871
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x418d23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0xc], 0
lea edx, [ebp - 4]
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xce2e9aeb
call fcn.0041ada0
push eax
lea ecx, [ebp - 0xc]
call fcn.00401929
lea ecx, [ebp - 0x10]
call fcn.00401871
and dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1a], 0x1d8ef049
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], 0x93176fcc
mov word [ebp - 0x1c], 0xce3a
mov byte [ebp - 0x16], 0xe1
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x6d
mov bh, 0xa1
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x418d84
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 4]
call fcn.00401871
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x418de3
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x418dff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
xor ebx, ebx
inc ebx
cmp eax, ebx
jb 0x418e4b
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x418e29
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x418e42
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ebx, eax
test esi, esi
je 0x418e5f
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
je 0x418e73
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [ebp + 8]
call fcn.00401871
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4204d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
jne 0x4204ec
xor bl, bl
jmp 0x420640
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
mov esi, dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
lea edi, [ebp - 0x18]
push eax
mov dword [ebp - 0x16], 0x87f772d5
mov word [ebp - 0x18], 0x54bd
mov word [ebp - 0x12], 0xe01e
call esi
mov bl, 0x64
mov bh, 0xd9
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x10]
call fcn.00401871
add bh, bl
inc edi
mov bl, byte [edi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x42051a
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401929
lea ecx, [ebp - 4]
call fcn.00401871
and dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1f], 0xf86e041
lea edi, [ebp - 0x20]
mov word [ebp - 0x1a], 0xac50
mov byte [ebp - 0x20], 0xa5
mov byte [ebp - 0x1b], 0xa0
call esi
mov bl, 0x65
mov bh, 0xc0
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00401929
lea ecx, [ebp - 0x14]
call fcn.00401871
add bh, bl
inc edi
mov bl, byte [edi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x420584
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401929
lea ecx, [ebp - 4]
call fcn.00401871
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4205e3
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x4205ff
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x14]
cmp dword [eax], 0
setne bl
call fcn.00401871
test edi, edi
je 0x42062c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x420640
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, esi
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [ebp + 8]
call fcn.00401871
pop edi
pop esi
mov al, bl
pop ebx
leave
ret