joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50c764
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x50c776
add esp, 0xfffffff0
call fcn.004056e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004523ac
mov eax, dword [0x67ce1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x50cba0
mov eax, dword [0x67ce38]
mov dword [eax + 4], ebx
mov dword [eax], 0x50cbac
mov eax, ebx
call fcn.0050cbb8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x5075dc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0050d1ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50cfcc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50cfcc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50cfcc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50cfcc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50cfcc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50c8ed
call fcn.0040573c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x50cd6c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50cf17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x50cef8
mov dl, 1
mov eax, dword [0x43c9a0]
call fcn.00449b30
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406c58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x50cee7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049dcf4
test al, al
je 0x50ceda
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x50cf28
lea eax, [ebp - 0x394]
call fcn.0042014c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x50ceda
xor eax, eax
push ebp
push 0x50ced3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x50cf98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x50cebc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407af4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x50cebc
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ceda
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x50cddd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00449a6c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50cf1e
lea eax, [ebp - 0x3a0]
call fcn.00406c58
ret

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

Disassembly:
push ecx
mov eax, dword [0x6832f8]
cmp byte [eax + 0xad], 0
jne 0x50db36
cmp dword [0x683310], 0
jne 0x50daf6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6761c0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x683310], eax
cmp dword [0x68330c], 0
jne 0x50db11
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x68330c], eax
cmp dword [0x683314], 0
jne 0x50db36
push esp
push 0
push 0
mov eax, dword [0x6761bc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x683314], eax
pop edx
ret
Function at 0x50de4c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x50de63
add esp, 0xfffffff0
call fcn.004056e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004523ac
mov eax, dword [0x67cb54]
cmp byte [eax], 0
jne 0x50de90
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x67d20c]
cmp word [eax + 2], 0
jne 0x50deaa
mov eax, dword [0x67d20c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0050ff14
mov eax, dword [0x67d448]
cmp word [eax + 2], 0
jne 0x50dec4
mov eax, dword [0x67d448]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00510118
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x469bfc]
call fcn.00470160
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x510690
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x46e2f8]
call fcn.00479920
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x50e0a4
mov eax, dword [0x67cf68]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00479db4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x510978
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.00405150
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x67cf68]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041ff48
test eax, eax
je 0x50dfd5
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041fce4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041ff2c
test eax, eax
je 0x50dfed
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407af4
push ebx
push 0x50f900
call fcn.00503920
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x67cb54]
cmp byte [eax], 0
jne 0x50e03e
mov eax, ebx
call fcn.0050e218
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00510ba4
mov eax, ebx
call fcn.005117d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50e09b
call fcn.0040573c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50e4e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x50e586
cmp dword [ebx + 0x94], 0
jne 0x50e580
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x50e430
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x50e580
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x50e546
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x50e580
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00445588
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x50e555
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x50e7a4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6832f8]
cmp dword [eax + 0x170], 0
je 0x50e909
test bl, bl
jne 0x50e857
cmp dword [esi + 0x9c], 0
jne 0x50e84c
mov eax, esi
call fcn.00511624
push eax
push 0x50e6b0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x50e81d
mov eax, dword [0x6832f8]
cmp byte [eax + 0xd3], 0
je 0x50e81d
mov eax, dword [esi + 0xd8]
call fcn.00408d8c
mov edi, eax
cmp edi, 0
jl 0x50e81d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x50e806
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x50e84c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00445588
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x50e82c
inc dword [esi + 0x9c]
jmp 0x50e909
cmp dword [esi + 0x9c], 0
jle 0x50e909
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x50e909
cmp dword [esi + 0x44], 0
je 0x50e8b4
mov eax, dword [0x6832f8]
cmp byte [eax + 0xd3], 0
je 0x50e8b4
mov eax, dword [esi + 0xd8]
call fcn.00408d8c
mov edi, eax
cmp edi, 0
jl 0x50e8b4
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x50e89d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x50e8e3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00445588
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x50e8c3
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x5017f8]
call fcn.00408f4c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x50f54c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x50f5b7
cmp byte [ebx + 0xd3], 0
jne 0x50f5b7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406de0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x50f5a4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x50f5c4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407038
jmp 0x50f5c4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407038
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x510d8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x510dfa
mov eax, esi
call fcn.00497c30
test al, al
je 0x510dfa
mov eax, dword [ebx + 0x84]
call fcn.00497884
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x510dfa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x510dee
push 0
mov eax, dword [ebx + 0x84]
call fcn.00497884
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048e800
jmp 0x510dfa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00510bc4
pop esi
pop ebx
ret

Function at 0x512398
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
push 0xff
mov eax, edi
mov ecx, 1
mov edx, dword [0x51235c]
call fcn.00408f4c
add esp, 4
cmp dword [ebp - 4], 0
je 0x512465
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00407a50
jmp 0x512441
movzx edx, word [eax]
cmp edx, 0x30
jge 0x5123f1
sub edx, 0x20
je 0x512410
sub edx, 5
je 0x51240b
sub edx, 9
je 0x51243e
jmp 0x51243c
add edx, 0xffffffd0
sub edx, 0xa
jb 0x51243e
add edx, 0xfffffff9
sub edx, 0x1a
jb 0x512414
add edx, 0xfffffffa
sub edx, 0x1a
jb 0x512414
jmp 0x51243c
xor bl, 1
jmp 0x51243e
xor ebx, ebx
jmp 0x51243e
test bl, bl
je 0x51243e
movzx edx, byte [eax]
mov byte [ebp - 5], dl
movzx edx, byte [ebp - 5]
add dl, 0x9f
sub dl, 0x1a
jae 0x51242e
sub byte [ebp - 5], 0x20
mov edx, dword [edi]
movzx ecx, byte [ebp - 5]
mov byte [edx + esi], cl
inc esi
xor ebx, ebx
jmp 0x51243e
xor ebx, ebx
add eax, 2
cmp esi, 0x100
jge 0x51244f
cmp word [eax], 0
jne 0x5123d8
push esi
mov eax, edi
mov ecx, 1
mov edx, dword [0x51235c]
call fcn.00408f4c
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x51bc88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x51bd56
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x51bd2e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 8
call fcn.00404b28
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x51bd68
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x51bcf6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x51bdd8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, dword [0x67d7f8]
mov word [eax], 0x2e
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.00420048
mov eax, dword [ebp - 0x34]
mov edx, dword [0x67d4a8]
call fcn.00421004
fstp xword [ebp - 0x30]
wait
fld xword [ebp - 0x30]
fstp qword [ebp - 8]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51bd40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51bd5d
lea eax, [ebp - 0x34]
call fcn.00406c58
ret
Function at 0x51e728
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x51e7cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407a50
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x51e7b9
lea eax, [ebp - 4]
mov edx, edi
call fcn.00407bcc
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407a50
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x51e7b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x51e7e0
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x51e7b9
cmp dword [ebp - 0xc], 0x34
jne 0x51e7b9
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e7d6
lea eax, [ebp - 4]
call fcn.00406c58
ret
Function at 0x51e7e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d3c
mov eax, dword [ebp - 8]
call fcn.00406d3c
xor eax, eax
push ebp
push 0x51e943
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x51e829
lea edx, [ebp - 4]
xor eax, eax
call fcn.00425e40
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a50
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
setg bl
test bl, bl
je 0x51e928
mov eax, edi
call fcn.004044b8
mov esi, eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a50
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x51e954
push esi
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x51e890
mov eax, esi
call fcn.004044d4
jmp 0x51e928
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x51e994
call fcn.00420210
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00407ca4
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.00407a50
push eax
push esi
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x51e919
cmp dword [ebp - 0x1c], 1
jbe 0x51e919
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.00407aa0
mov edx, dword [ebp - 0x1c]
dec edx
mov eax, dword [ebp - 0x10]
call fcn.00407bcc
jmp 0x51e921
mov eax, dword [ebp - 0x10]
call fcn.00406c58
mov eax, esi
call fcn.004044d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e94a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406cb8
ret

Function at 0x526b78
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x683664
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x526b9a
shr eax, 1
xor eax, 0xedb88320
jmp 0x526b9c
shr eax, 1
dec edx
jne 0x526b88
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x526b81
mov byte [0x683a64], 1
pop esi
pop ebx
ret

Function at 0x526bb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x683a64], 0
jne 0x526bcf
call fcn.00526b78
mov eax, edi
dec eax
test eax, eax
jl 0x526bf7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x683664]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x526bd9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x529984
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x529a1e.0
jmp dword [ecx*4 + 0x5299b7]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5299e9
sub dl, 8
je 0x5299f8
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x52962c
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529684
jmp case.0x529a1e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x529a1e.0
movzx ecx, byte [ecx + 0x529a25]
jmp dword [ecx*4 + 0x529a36]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529730
jmp case.0x529a1e.0
cmp dl, 3
jne 0x529a63
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529788
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529744
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5297cc
jmp case.0x529a1e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x529a8e
sub dl, 8
je 0x529a9a
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5297f8
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529864
jmp case.0x529a1e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x529ab9
sub dl, 8
je 0x529ac5
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529920
jmp case.0x529a1e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x529948
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x529b67
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00528b30
test eax, eax
je 0x529b67
mov eax, ebx
call fcn.00529b70
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x529b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8