joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x54000]
push edi
or ebp, 0xffffffff
jmp 0x45ad32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45ad39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ad28
mov eax, 1
add ebx, ebx
jne 0x45ad4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45ad5c
jne 0x45ad7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ad7b
dec eax
add ebx, ebx
jne 0x45ad68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45ad40
add ebx, ebx
jne 0x45ad77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45adcd
xor ecx, ecx
sub eax, 3
jb 0x45ad93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45ae02
sar eax, 1
mov ebp, eax
jmp 0x45ad9e
add ebx, ebx
jne 0x45ad9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ad6c
inc ecx
add ebx, ebx
jne 0x45adac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ad6c
add ebx, ebx
jne 0x45adb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45adae
jne 0x45adca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45adae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45adec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45adde
jmp 0x45ad2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45adec
add edi, ecx
jmp 0x45ad2e
pop esi
mov edi, esi
mov ecx, 0x455
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45ae0a
cmp byte [edi], 0
jne 0x45ae0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45ae0f
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45ae7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1270]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa12f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ae3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa1300]
or eax, eax
je 0x45ae78
mov dword [ebx], eax
add ebx, 4
jmp 0x45ae59
call dword [esi + 0xa12fc]
mov ebp, dword [esi + 0xa1304]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45aeb2
sub esp, 0xffffff80
jmp 0x409b60
Function at 0x407530
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 [0x4a9bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edi
jg 0x407564
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407558
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov esi, dword [ebp + 0x18]
cmp esi, 3
jne 0x40757f
pop edi
lea eax, [esi - 2]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 8]
push 0
push esi
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0x480130
push eax
call ebx
test eax, eax
jne 0x4075b8
push 8
push esi
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0x480130
lea eax, [ebp - 8]
push eax
call ebx
test eax, eax
je 0x407674
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407674
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x407674
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 0x407651
push 0
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x407643
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 0x407643
push dword [ebp + 0xc]
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_CryptEncrypt]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
cmovne edi, ecx
test eax, eax
je 0x407643
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407651
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x407661
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0046300c
mov esp, ebp
pop ebp
ret
Function at 0x4083a0
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 [0x4a9bf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x10000
jb 0x408505
cmp esi, 0xffffffff
je 0x408505
test dword [esi + 0x1c], 0x2000
push ebx
mov ebx, dword [ebp + 0xc]
push edi
je 0x408496
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 0x408413
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 0x408478
mov eax, dword [esi + 0x14]
test eax, eax
je 0x408450
test dword [esi + 0x1c], 0x3000
jne 0x408450
push eax
call fcn.00468056
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x40845f
push eax
call fcn.00468056
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x40846f
push eax
call fcn.00468056
add esp, 4
push esi
call fcn.00468056
add esp, 4
or edi, ebx
pop edi
pop ebx
je 0x408505
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
mov esp, ebp
pop ebp
ret
test bl, 1
je 0x4084ba
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4084ba
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 0x408413
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x408413
cmp dword [ebp - 8], eax
jne 0x408413
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
test bl, 4
jne 0x40841c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x408423
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046300c
mov esp, ebp
pop ebp
ret
Function at 0x409e80
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x4a9bf0]
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.00409250
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x409eed
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.0046300c
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.0040d540
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 0x409fcf
push 0x1388
push dword [ebp - 0x3fc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x40a04a
call fcn.0041fd60
test eax, eax
je 0x40a04a
call fcn.0041fd60
cmp dword [eax], 0
je 0x40a04a
mov eax, dword [0x4bd720]
test eax, eax
je 0x409ff3
mov esi, dword [eax + 0x190]
jmp 0x409ff9
mov esi, dword [0x4bd724]
call fcn.0041fd60
test eax, eax
je 0x40a00b
call fcn.0041fd60
mov edi, dword [eax]
jmp 0x40a00d
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040b160
add esp, 8
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.Error_starting_process__s:__s
push dword [0x4bd720]
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 0x40ac70
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.0046300c
mov esp, ebp
pop ebp
ret
Function at 0x40be70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x4a9bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x3ec]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x3f4], eax
sub edx, edi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40bea0
lea eax, [ebp - 0x3ec]
push 0x5c
push eax
call fcn.0046f111
mov esi, eax
add esp, 8
test esi, esi
je 0x40beca
mov byte [esi], 0
inc esi
jmp 0x40bed3
mov esi, edi
mov byte [ebp - 0x3ec], 0
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x3ec]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bf30
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x3f4]
push 0
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
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.0046300c
mov esp, ebp
pop ebp
ret
Function at 0x40ce90
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4a9bf0]
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 0x40cf27
push 0x1388
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x40cf9e
call fcn.0041fd60
test eax, eax
je 0x40cf9e
call fcn.0041fd60
cmp dword [eax], 0
je 0x40cf9e
mov eax, dword [0x4bd720]
test eax, eax
je 0x40cf4b
mov esi, dword [eax + 0x190]
jmp 0x40cf51
mov esi, dword [0x4bd724]
push edi
call fcn.0041fd60
test eax, eax
je 0x40cf64
call fcn.0041fd60
mov edi, dword [eax]
jmp 0x40cf66
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040b160
add esp, 8
push eax
push ebx
push str.Error_starting_process__s:__s
push dword [0x4bd720]
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 0x40ac70
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.0046300c
mov esp, ebp
pop ebp
ret

Function at 0x40d470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push edi
test esi, esi
je 0x40d493
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
call ebx
inc eax
cmp esi, eax
jl 0x40d49c
push edi
call ebx
jmp 0x40d499
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push esi
mov ecx, dword [ebx]
push ecx
test eax, eax
je 0x40d4bf
call eax
add esp, 8
mov dword [ebx], eax
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00466ae4
add esp, 8
mov dword [ebx], eax
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40d5c0
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 0x40d5d0
xor eax, eax
pop esi
pop ebp
ret
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x40d5e9
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40d5e0
sub edx, ecx
mov eax, dword [ebp + 8]
not eax
cmp edx, 8
jb 0x40d6a7
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 + 0x47f860]
movzx ecx, byte [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
movzx ecx, byte [esi + 7]
add esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47f860]
sub edi, 1
jne 0x40d600
pop edi
test edx, edx
je 0x40d6ca
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 + 0x47f860]
sub edx, 1
jne 0x40d6b0
not eax
pop esi
pop ebp
ret

Function at 0x40e760
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 0x40e806
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 0x40e7a0
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 0x40e80e
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [edx + 4]
cmp esi, edi
ja 0x40e83a
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 0x40e820
cmp edx, edi
jae 0x40e859
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 0x40e840
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 0x41b2b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4a9bf0]
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 0x41b2ee
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 0x41b331
cmp ebx, 0x85
jne 0x41b315
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 0x41b331
cmp ebx, 0x14
je 0x41b326
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.00443c20
cmp ebx, 0x85
jne 0x41b3a7
mov eax, 2
jmp 0x41b3b6
xor eax, eax
cmp ebx, 0x14
sete al
lea eax, [eax*4 + 4]
push eax
push esi
push 0x318
push edi
call fcn.00443c20
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 0x41b42c
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.0046300c
mov esp, ebp
pop ebp
ret
cmp ebx, 0x14
je 0x41b439
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.0046300c
mov esp, ebp
pop ebp
ret
Function at 0x41f190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x41f242
mov edx, dword [esi + 0x60]
test edx, edx
je 0x41f242
test byte [esi + 0x8c], 1
je 0x41f1fa
mov ecx, dword [0x4bd734]
test ecx, ecx
je 0x41f1e0
mov eax, dword [ecx + 4]
and eax, 0x900000
cmp eax, 0x900000
jne 0x41f1e0
push 0
push dword [ecx + 0x1e00]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41f1ea
push esi
push edi
call fcn.0041e5f0
add esp, 8
push 0
push dword [esi + 0x78]
call fcn.00428fa0
mov edx, dword [esi + 0x60]
add esp, 8
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
mov eax, dword [esi + 0x5c]
mov edx, dword [ecx + edx*4]
mov eax, dword [ecx + eax*4]
movq qword [eax + 0x78], xmm0
movq qword [edx + 0x78], xmm0
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
push dword [eax + 0xa0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 2
push dword [esi + 0x78]
call fcn.00428fa0
add esp, 8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x64], 0
pop edi
pop esi
pop ebp
ret
Function at 0x41fa70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4a9bf0]
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 0x41faf4
mov esi, dword [0x4bd734]
mov dword [ebp - 0x70], esi
test esi, esi
je 0x41faf4
cmp ebx, 0x10000
jge 0x41fb07
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 0x41faf4
cmp dword [esi], ecx
jne 0x41faed
cmp dword [esi + 8], edi
jne 0x41faed
cmp dword [esi + 4], ebx
jne 0x41faed
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x41fbe6
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x41fad3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
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.0040dc20
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41fb34
sub esi, ecx
mov eax, esi
and eax, 3
je 0x41fb61
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.004643e0
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x41fb71
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x41fb68
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 0x41faf4
mov edi, dword [ebp - 0x74]
cmp dword [esi], edi
jne 0x41fbcc
mov eax, dword [ebp + 0x10]
cmp dword [esi + 8], eax
jne 0x41fbcc
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
jne 0x41fbcc
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x41fbcc
push ebx
push eax
call fcn.00467f7f
add esp, 8
test eax, eax
je 0x41fbe6
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x41fba0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046300c
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.0046300c
mov esp, ebp
pop ebp
ret