joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e340
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 [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x10000
jb 0x41e4a5
cmp esi, 0xffffffff
je 0x41e4a5
test dword [esi + 0x1c], 0x2000
push ebx
mov ebx, dword [ebp + 0xc]
push edi
je 0x41e436
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 0x41e3b3
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 0x41e418
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41e3f0
test dword [esi + 0x1c], 0x3000
jne 0x41e3f0
push eax
call fcn.0048737c
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x41e3ff
push eax
call fcn.0048737c
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x41e40f
push eax
call fcn.0048737c
add esp, 4
push esi
call fcn.0048737c
add esp, 4
or edi, ebx
pop edi
pop ebx
je 0x41e4a5
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
test bl, 1
je 0x41e45a
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41e45a
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 0x41e3b3
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x41e3b3
cmp dword [ebp - 8], eax
jne 0x41e3b3
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
test bl, 4
jne 0x41e3bc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x41e3c3
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x41f7a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x51e
push str.D:MyProjectsProPilotLibMisc.c
push 0
push 0x4dd5dc
call fcn.004208b0
mov edi, dword [ebp + 8]
add esp, 0x10
xor esi, esi
test edi, edi
jne 0x41f85a
cmp dword [0x4dd5d0], esi
jle 0x41f825
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
nop word [eax + eax]
mov eax, dword [0x4dd5d4]
push 0
mov edi, dword [eax + esi*4]
push dword [edi + 0x10]
call ebx
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 8]
test eax, eax
je 0x41f812
push dword [eax + 4]
call fcn.0048737c
push dword [edi + 8]
call fcn.0048737c
add esp, 8
push edi
call fcn.0048737c
inc esi
add esp, 4
cmp esi, dword [0x4dd5d0]
jl 0x41f7e0
pop ebx
mov eax, dword [0x4dd5d4]
test eax, eax
je 0x41f837
push eax
call fcn.0048737c
add esp, 4
push 0x4dd5dc
mov dword [0x4dd5d4], 0
mov dword [0x4dd5d0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
mov eax, dword [0x4dd5d0]
test eax, eax
jle 0x41f8f4
mov ecx, dword [0x4dd5d4]
nop dword [eax]
cmp edi, dword [ecx + esi*4]
je 0x41f889
inc esi
cmp esi, eax
jl 0x41f870
push 0x4dd5dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
cmp esi, eax
jge 0x41f8f4
mov eax, dword [edi + 8]
test eax, eax
je 0x41f8a7
push dword [eax + 4]
call fcn.0048737c
push dword [edi + 8]
call fcn.0048737c
add esp, 8
push edi
call fcn.0048737c
mov eax, dword [0x4dd5d0]
add esp, 4
dec eax
mov dword [0x4dd5d0], eax
cmp esi, eax
jge 0x41f8d0
mov ecx, dword [0x4dd5d4]
mov eax, dword [ecx + eax*4]
mov dword [ecx + esi*4], eax
mov eax, dword [0x4dd5d0]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x4dd5d4]
call fcn.004845db
add esp, 8
mov dword [0x4dd5d4], eax
push 0x4dd5dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
Function at 0x41fc30
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x388]
push 0
push esi
push eax
call fcn.00422bc0
lea edx, [ebp - 0x130]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x41fc61
lea eax, [ebp - 0x4c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41fcdc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x4c8], 0x10
jne 0x41fcc5
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x25c]
push 0x4b2b58
push eax
call fcn.00401045
add esp, 0x10
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x4c8]
push eax
push esi
call edi
test eax, eax
jne 0x41fc91
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x4202b0
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x4cdbf8]
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.0041f350
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x42031d
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.0047fe8c
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.00423b40
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 0x4203ff
push 0x1388
push dword [ebp - 0x3fc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x42047a
call fcn.00436990
test eax, eax
je 0x42047a
call fcn.00436990
cmp dword [eax], 0
je 0x42047a
mov eax, dword [0x4eeee0]
test eax, eax
je 0x420423
mov esi, dword [eax + 0x190]
jmp 0x420429
mov esi, dword [0x4eeee4]
call fcn.00436990
test eax, eax
je 0x42043b
call fcn.00436990
mov edi, dword [eax]
jmp 0x42043d
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00420fd0
add esp, 8
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.Error_starting_process__s:__s
push dword [0x4eeee0]
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 0x420a30
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.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x4217a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 1
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4218c8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4218c8
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
test eax, eax
je 0x4218ac
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4218ab
test edi, edi
je 0x421817
cmp byte [edi], 0
je 0x421817
push edi
push esi
call fcn.004812e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4218a2
mov dword [ebp - 4], 1
cmp ebx, 0xffffffff
jne 0x42188d
test esi, esi
je 0x421854
cmp byte [esi], 0
je 0x42183c
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x421831
sub edi, ecx
jmp 0x42183e
xor edi, edi
lea eax, [esi - 1]
add eax, edi
cmp eax, esi
jbe 0x421856
cmp byte [eax], 0
jne 0x421856
dec eax
dec edi
cmp eax, esi
ja 0x421847
jmp 0x421856
xor edi, edi
push 0x1cbe
push str.D:MyProjectsProPilotLibMisc.c
lea eax, [edi + 1]
push eax
push 0
call fcn.004845db
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x421889
test edi, edi
je 0x421883
push edi
push esi
push ebx
call fcn.00481690
add esp, 0xc
mov byte [ebx + edi], 0
jmp 0x4218a2
xor ebx, ebx
jmp 0x4218a2
test ebx, ebx
je 0x4218a2
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x421895
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 4], 0
je 0x4218c8
test ebx, ebx
mov eax, 1
pop edi
cmovne eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423490
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4cdbf8]
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 0x423527
push 0x1388
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x42359e
call fcn.00436990
test eax, eax
je 0x42359e
call fcn.00436990
cmp dword [eax], 0
je 0x42359e
mov eax, dword [0x4eeee0]
test eax, eax
je 0x42354b
mov esi, dword [eax + 0x190]
jmp 0x423551
mov esi, dword [0x4eeee4]
push edi
call fcn.00436990
test eax, eax
je 0x423564
call fcn.00436990
mov edi, dword [eax]
jmp 0x423566
xor edi, edi
push str.Error_starting_process__s:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00420fd0
add esp, 8
push eax
push ebx
push str.Error_starting_process__s:__s
push dword [0x4eeee0]
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 0x420a30
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.0047fe8c
mov esp, ebp
pop ebp
ret

Function at 0x423a70
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 0x423a93
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
call ebx
inc eax
cmp esi, eax
jl 0x423a9c
push edi
call ebx
jmp 0x423a99
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 0x423abf
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.004845db
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 0x424c20
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 0x424cc6
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 0x424c60
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 0x424cce
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [edx + 4]
cmp esi, edi
ja 0x424cfa
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 0x424ce0
cmp edx, edi
jae 0x424d19
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 0x424d00
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 0x431cd0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4cdbf8]
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 0x431d0e
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 0x431d51
cmp ebx, 0x85
jne 0x431d35
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 0x431d51
cmp ebx, 0x14
je 0x431d46
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.00476830
cmp ebx, 0x85
jne 0x431dc7
mov eax, 2
jmp 0x431dd6
xor eax, eax
cmp ebx, 0x14
sete al
lea eax, [eax*4 + 4]
push eax
push esi
push 0x318
push edi
call fcn.00476830
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 0x431e4c
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.0047fe8c
mov esp, ebp
pop ebp
ret
cmp ebx, 0x14
je 0x431e59
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.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x435cf0
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 0x435da2
mov edx, dword [esi + 0x60]
test edx, edx
je 0x435da2
test byte [esi + 0x8c], 1
je 0x435d5a
mov ecx, dword [0x4eeef8]
test ecx, ecx
je 0x435d40
mov eax, dword [ecx + 4]
and eax, 0x900000
cmp eax, 0x900000
jne 0x435d40
push 0
push dword [ecx + 0x1e00]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x435d4a
push esi
push edi
call fcn.00435020
add esp, 8
push 0
push dword [esi + 0x78]
call fcn.0043ff80
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.0043ff80
add esp, 8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x64], 0
pop edi
pop esi
pop ebp
ret
Function at 0x4366a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4cdbf8]
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 0x436724
mov esi, dword [0x4eeef8]
mov dword [ebp - 0x70], esi
test esi, esi
je 0x436724
cmp ebx, 0x10000
jge 0x436737
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 0x436724
cmp dword [esi], ecx
jne 0x43671d
cmp dword [esi + 8], edi
jne 0x43671d
cmp dword [esi + 4], ebx
jne 0x43671d
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x436816
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x436703
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
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.00424110
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x436764
sub esi, ecx
mov eax, esi
and eax, 3
je 0x436791
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.00481690
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x4367a1
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x436798
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 0x436724
mov edi, dword [ebp - 0x74]
cmp dword [esi], edi
jne 0x4367fc
mov eax, dword [ebp + 0x10]
cmp dword [esi + 8], eax
jne 0x4367fc
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
jne 0x4367fc
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x4367fc
push ebx
push eax
call fcn.0048753f
add esp, 8
test eax, eax
je 0x436816
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4367d0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
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.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x436830
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push ecx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x14]
test ebx, ebx
push 0
cmove ebx, eax
mov dword [ebp - 0x40], eax
test esi, esi
mov dword [ebp - 0x24], ebx
cmove esi, ebx
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
mov ebx, eax
mov eax, dword [0x4eeef8]
test eax, eax
je 0x4368ad
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x4368ad
push 0
push eax
push ebx
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call esi
push ebx
mov dword [ebp - 0x20], eax
call esi
mov esi, eax
mov eax, dword [0x4eeef8]
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x4368e4
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x4368e4
push 0
push eax
push esi
call edi
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call edi
push dword [ebp - 0x38]
push esi
call edi
mov esi, eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp + 0xc]
push 0xcc0020
push dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x2c]
push esi
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x436948
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
test eax, eax
je 0x43695b
push 0
push eax
push esi
call edi
test esi, esi
je 0x436966
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x436973
push 0
push eax
push ebx
call edi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret