joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447bd5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, esi
ror eax, 8
mov esi, dword [esp + 0x28]
add eax, edx
ror esi, 8
xor eax, edi
add esi, edi
rol edx, 3
xor esi, ebx
rol edi, 3
xor edx, eax
mov dword [esp + 0x28], ebp
xor edi, esi
mov ebp, ecx
inc ebx
cmp ebx, 0x1b
jb 0x447c06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x447c38
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
test edx, edx
je 0x447d3d
xor eax, eax
lea ecx, [ebx + 0xf]
inc eax
mov dword [esp + 0x2c], ecx
sub eax, ebx
push esi
mov dword [esp + 0xc], eax
push edi
lea eax, [esp + 0x14]
cmp eax, ecx
ja 0x447c6f
lea eax, [esp + 0x23]
mov esi, ebx
lea edi, [esp + 0x14]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + ecx*4]
xor dword [esp + ecx*4 + 0x14], eax
inc ecx
cmp ecx, 4
jb 0x447c7f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0x10
add ecx, edi
add eax, esi
rol edi, 5
xor edi, ecx
rol esi, 8
xor esi, eax
rol ecx, 0x10
add eax, edi
add ecx, esi
rol edi, 7
rol esi, 0xd
xor edi, eax
xor esi, ecx
rol eax, 0x10
sub dword [esp + 0x30], 1
jne 0x447ca4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + ecx*4]
xor dword [esp + ecx*4 + 0x14], eax
inc ecx
cmp ecx, 4
jb 0x447ce3
push 0x10
pop esi
cmp edx, esi
mov ecx, edx
cmova ecx, esi
test ecx, ecx
je 0x447d13
lea edi, [esp + 0x14]
mov esi, ebp
sub edi, ebp
mov ebx, ecx
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ebx, 1
jne 0x447d08
mov ebx, dword [esp + 0x10]
sub edx, ecx
add ebp, ecx
mov ecx, dword [esp + 0x34]
add byte [ecx], 1
jne 0x447d2c
dec ecx
lea eax, [ebx + ecx]
test eax, eax
jg 0x447d1f
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + 0xf]
test edx, edx
jne 0x447c63
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x447d43
Capabilities:
Decompress data using aplib

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x18]
and dword [esp + 0x10], 0
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov al, byte [ecx]
push esi
push edi
mov byte [ebp], al
or edi, 0xffffffff
lea eax, [ebp + 1]
xor esi, esi
mov dword [esp + 0x18], eax
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.00447ee6
pop ecx
test eax, eax
je 0x447eba
lea eax, [esp + 0x14]
push eax
call fcn.00447ee6
test eax, eax
lea eax, [esp + 0x18]
pop ecx
push eax
je 0x447e19
call fcn.00447ee6
pop ecx
test eax, eax
je 0x447ddd
push 4
xor esi, esi
pop ebx
lea eax, [esp + 0x14]
push eax
call fcn.00447ee6
pop ecx
lea esi, [eax + esi*2]
sub ebx, 1
jne 0x447dab
mov edx, dword [esp + 0x18]
test esi, esi
je 0x447dd0
mov eax, edx
sub eax, esi
mov al, byte [eax]
mov byte [edx], al
jmp 0x447dd3
mov byte [edx], 0
mov ebx, dword [esp + 0x10]
inc edx
jmp 0x447ecc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx edi, byte [eax]
inc eax
mov ecx, edi
mov dword [esp + 0x14], eax
and ecx, 1
add ecx, 2
shr edi, 1
je 0x447e0d
mov esi, edx
sub esi, edi
mov al, byte [esi]
mov byte [edx], al
inc edx
inc esi
sub ecx, 1
jne 0x447dfd
jmp 0x447eb1
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x447eb5
call fcn.00447f1d
mov edx, eax
pop ecx
test esi, esi
jne 0x447e50
cmp edx, 2
jne 0x447e50
lea eax, [esp + 0x14]
push eax
call fcn.00447f1d
mov edx, dword [esp + 0x1c]
mov esi, eax
pop ecx
test esi, esi
je 0x447eb5
mov ecx, edx
sub ecx, edi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
sub esi, 1
jne 0x447e43
jmp 0x447eb1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
xor esi, 1
sub edx, esi
shl edx, 8
movzx edi, byte [ecx]
add edi, 0xfffffe00
add edi, edx
inc ecx
push eax
mov dword [esp + 0x18], ecx
call fcn.00447f1d
pop ecx
mov ecx, eax
cmp edi, 0x7d00
jb 0x447e82
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
cmp edi, 0x500
cmovb eax, ecx
cmp edi, 0x80
lea esi, [eax + 2]
cmovae esi, eax
test esi, esi
je 0x447eb5
mov ecx, edx
sub ecx, edi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
sub esi, 1
jne 0x447ea6
mov dword [esp + 0x18], edx
xor esi, esi
inc esi
jmp 0x447ed2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0x18], edx
test ebx, ebx
je 0x447d75
pop edi
pop esi
sub edx, ebp
pop ebp
mov eax, edx
pop ebx
add esp, 0x14
ret
Function at 0x405910
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp edi, 3
jne 0x405950
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
push 0
xor edx, edx
mov eax, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
test ecx, ecx
push edi
cmovne eax, edx
push eax
push 0x454f44
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x40599e
cmp dword [ebp - 0x14], esi
mov ecx, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 8
push edi
mov eax, str.Microsoft_Base_Cryptographic_Provider_v1.0
cmove eax, ecx
push eax
push 0x454f44
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x405a54
test ebx, ebx
je 0x405a54
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x405a54
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x405a31
push 0
push edi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x405a23
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x405a23
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x18]
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
cmovne esi, ecx
test eax, eax
je 0x405a23
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405a31
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x405a41
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x405d90
Capabilities:
Delete file
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x10000
jb 0x405ef5
cmp esi, 0xffffffff
je 0x405ef5
test dword [esi + 0x1c], 0x2000
push ebx
mov ebx, dword [ebp + 0xc]
push edi
je 0x405e86
mov ecx, dword [esi + 0x28]
mov ebx, dword [esi + 0x18]
add ecx, 0xfffffffc
push dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add ebx, ecx
call edi
push 4
push 0
push 0
push 0xf001f
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x14], eax
test eax, eax
je 0x405e03
mov dword [eax], ebx
push dword [esi + 0x14]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
xor ebx, ebx
test byte [ebp + 0xc], 8
mov dword [esi + 8], 0
mov dword [esi + 0x30], 2
jne 0x405e68
mov eax, dword [esi + 0x14]
test eax, eax
je 0x405e40
test dword [esi + 0x1c], 0x3000
jne 0x405e40
push eax
call fcn.0043d262
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x405e4f
push eax
call fcn.0043d262
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x405e5f
push eax
call fcn.0043d262
add esp, 4
push esi
call fcn.0043d262
add esp, 4
or edi, ebx
pop edi
pop ebx
je 0x405ef5
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
test bl, 1
je 0x405eaa
mov eax, dword [esi + 0x18]
test eax, eax
je 0x405eaa
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0x14]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x405e03
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x405e03
cmp dword [ebp - 8], eax
jne 0x405e03
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
test bl, 4
jne 0x405e0c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x405e13
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x407cd0
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 3
push 0
push 3
mov dword [ebp - 0x458], eax
mov eax, dword [ebp + 0x14]
push SysReAllocString
push edi
mov dword [ebp - 0x454], eax
call fcn.00406c00
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x407d3d
push 0x10
push str.Error_opening_file
push str.File_does_not_exist
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push edi
push dword [ebp - 0x454]
lea eax, [ebp - 0x3ec]
push dword [ebp - 0x458]
push str._s__s___s_
push 0x3e7
push eax
call fcn.0040a750
add esp, 0x18
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x450], 0x44
mov word [ebp - 0x40e], ax
xorps xmm0, xmm0
mov dword [ebp - 0x444], eax
mov ax, word [ebp + 0x18]
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x450]
movlpd qword [ebp - 0x44c], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3ec]
movlpd qword [ebp - 0x440], xmm0
push eax
push 0
movlpd qword [ebp - 0x438], xmm0
movlpd qword [ebp - 0x430], xmm0
movlpd qword [ebp - 0x41e], xmm0
movlpd qword [ebp - 0x416], xmm0
movups xmmword [ebp - 0x3fc], xmm0
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407e1f
push 0x1388
push dword [ebp - 0x3fc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x407e9a
call fcn.00414b10
test eax, eax
je 0x407e9a
call fcn.00414b10
cmp dword [eax], 0
je 0x407e9a
mov eax, dword [0x48c5c0]
test eax, eax
je 0x407e43
mov esi, dword [eax + 0x190]
jmp 0x407e49
mov esi, dword [0x48c5c4]
call fcn.00414b10
test eax, eax
je 0x407e5b
call fcn.00414b10
mov edi, dword [eax]
jmp 0x407e5d
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00408940
add esp, 8
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.Error_starting_process__s:__s
push dword [0x48c5c0]
push esi
push 0
push 0x7cb
push str.D:MyProjectsProPilotLibMisc.c
push 2
call edi
add esp, 0x28
push 0
push dword [ebp - 0x3f8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x3fc]
call ebx
push dword [ebp - 0x3f8]
call ebx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x40c]
push eax
push 0x408450
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x40c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x40a1e0
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
xor eax, eax
push esi
mov word [ebp - 0x26], ax
mov dword [ebp - 0x5c], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x64], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x36], xmm0
movlpd qword [ebp - 0x2e], xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40a277
push 0x1388
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x40a2ee
call fcn.00414b10
test eax, eax
je 0x40a2ee
call fcn.00414b10
cmp dword [eax], 0
je 0x40a2ee
mov eax, dword [0x48c5c0]
test eax, eax
je 0x40a29b
mov esi, dword [eax + 0x190]
jmp 0x40a2a1
mov esi, dword [0x48c5c4]
push edi
call fcn.00414b10
test eax, eax
je 0x40a2b4
call fcn.00414b10
mov edi, dword [eax]
jmp 0x40a2b6
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00408940
add esp, 8
push eax
push ebx
push str.Error_starting_process__s:__s
push dword [0x48c5c0]
push esi
push 0
push 0x7cb
push str.D:MyProjectsProPilotLibMisc.c
push 2
call edi
add esp, 0x28
pop edi
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push 0x408450
mov dword [ebp - 0x24], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop esi
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x40a7d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x40a7e0
xor eax, eax
pop esi
pop ebp
ret
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x40a7f9
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40a7f0
sub edx, ecx
mov eax, dword [ebp + 8]
not eax
cmp edx, 8
jb 0x40a8b7
push edi
mov edi, edx
shr edi, 3
nop dword [eax]
movzx ecx, byte [esi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
movzx ecx, byte [esi + 7]
add esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
sub edi, 1
jne 0x40a810
pop edi
test edx, edx
je 0x40a8da
nop dword [eax + eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x454708]
sub edx, 1
jne 0x40a8c0
not eax
pop esi
pop ebp
ret

Function at 0x40b970
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
lea edi, [edx + eax]
mov dword [ebp - 4], edi
cmp eax, 0x10
jb 0x40ba16
mov esi, dword [ebp + 0x10]
lea eax, [edi - 0x10]
push ebx
mov dword [ebp + 8], eax
lea ebx, [esi + 0x24234428]
lea edi, [esi - 0x7a143589]
lea eax, [esi + 0x61c8864f]
nop word [eax + eax]
imul ecx, dword [edx], 0x7a143589
sub ebx, ecx
imul ecx, dword [edx + 4], 0x7a143589
rol ebx, 0xd
imul ebx, ebx, 0x9e3779b1
sub edi, ecx
imul ecx, dword [edx + 8], 0x7a143589
rol edi, 0xd
imul edi, edi, 0x9e3779b1
sub esi, ecx
imul ecx, dword [edx + 0xc], 0x7a143589
rol esi, 0xd
add edx, 0x10
imul esi, esi, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp edx, dword [ebp + 8]
jbe 0x40b9b0
ror eax, 0xe
rol esi, 0xc
rol edi, 7
add eax, esi
add eax, edi
rol ebx, 1
mov edi, dword [ebp - 4]
add eax, ebx
pop ebx
jmp 0x40ba1e
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [edx + 4]
cmp esi, edi
ja 0x40ba4a
nop dword [eax + eax]
imul ecx, dword [edx], 0x3d4d51c3
mov edx, esi
lea esi, [edx + 4]
sub eax, ecx
ror eax, 0xf
imul eax, eax, 0x27d4eb2f
cmp esi, edi
jbe 0x40ba30
cmp edx, edi
jae 0x40ba69
nop
movzx ecx, byte [edx]
inc edx
imul ecx, ecx, 0x165667b1
add ecx, eax
rol ecx, 0xb
imul eax, ecx, 0x9e3779b1
cmp edx, edi
jb 0x40ba50
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul ecx, ecx, 0x85ebca77
pop edi
pop esi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x411ed0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x68], esi
push edi
mov edi, dword [ebp + 8]
cmp ebx, 0xf
jne 0x411f0e
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
movups xmm0, xmmword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x68], esi
movups xmmword [ebp - 0x64], xmm0
jmp 0x411f51
cmp ebx, 0x85
jne 0x411f35
push 0x81
push esi
push edi
call dword [sym.imp.USER32.dll_GetDCEx]
mov esi, eax
lea eax, [ebp - 0x64]
push eax
push edi
mov dword [ebp - 0x68], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x411f51
cmp ebx, 0x14
je 0x411f46
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
push ecx
push esi
mov dword [ebp - 0x6c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x64]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x14]
push 2
push eax
push edi
movups xmmword [ebp - 0x14], xmm0
call esi
push eax
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
mov esi, dword [ebp - 0x6c]
push 0
push esi
push 0x14
push edi
call fcn.004248d0
cmp ebx, 0x85
jne 0x411fc7
mov eax, 2
jmp 0x411fd6
xor eax, eax
cmp ebx, 0x14
sete al
lea eax, [eax*4 + 4]
push eax
push esi
push 0x318
push edi
call fcn.004248d0
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x60]
push 0xcc0020
push 0
push 0
push esi
mov esi, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
push ecx
push 0
push 0
push esi
mov dword [ebp - 0x70], eax
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp ebx, 0xf
jne 0x41204c
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
cmp ebx, 0x14
je 0x412059
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x70]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x414820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], edi
test ebx, ebx
je 0x4148a4
mov esi, dword [0x48c5d4]
mov dword [ebp - 0x70], esi
test esi, esi
je 0x4148a4
cmp ebx, 0x10000
jge 0x4148b7
mov edi, dword [ebp + 0x10]
mov eax, ebx
shl eax, 6
xor edx, edx
xor eax, edi
mov dword [ebp - 0x6c], 0x3f1
shl eax, 3
xor eax, ecx
xor eax, dword [ebp + 0x14]
div dword [ebp - 0x6c]
mov esi, dword [esi + edx*4 + 0xe1c]
test esi, esi
je 0x4148a4
cmp dword [esi], ecx
jne 0x41489d
cmp dword [esi + 8], edi
jne 0x41489d
cmp dword [esi + 4], ebx
jne 0x41489d
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x414996
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x414883
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
push str._08X_s_d
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push ebx
push ecx
push 0x25d
push str.D:MyProjectsProPilotLibLibMain.c
push str._08X_s_d
push 0x64
push eax
call fcn.0040ae30
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4148e4
sub esi, ecx
mov eax, esi
and eax, 3
je 0x414911
push eax
mov eax, esi
lea ecx, [ebp - 0x68]
and eax, 0xfc
add eax, ecx
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00438db0
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x414921
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x414918
mov esi, dword [ebp - 0x70]
mov eax, 0x3ce4585
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3f1
sub edi, eax
mov esi, dword [esi + edi*4 + 0xe1c]
test esi, esi
je 0x4148a4
mov edi, dword [ebp - 0x74]
cmp dword [esi], edi
jne 0x41497c
mov eax, dword [ebp + 0x10]
cmp dword [esi + 8], eax
jne 0x41497c
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
jne 0x41497c
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x41497c
push ebx
push eax
call fcn.0043d41b
add esp, 8
test eax, eax
je 0x414996
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x414950
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret