joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c7144
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 0x5c72f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5c72d3
mov dl, 1
mov eax, dword [0x4799b8]
call fcn.004a3ce0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a1dc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5c72c2
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.005248f4
test al, al
je 0x5c72b5
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5c7304
lea eax, [ebp - 0x394]
call fcn.00426b48
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5c72b5
xor eax, eax
push ebp
push 0x5c72ae
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 0x5c7374
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5c7295
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040af50
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5c7295
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040af50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c72b5
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5c71b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004a3c08
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c72fb
lea eax, [ebp - 0x3a0]
call fcn.0040a1dc
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x71ac9c]
cmp byte [eax + 0xc5], 0
jne 0x5c7f2e
cmp dword [0x71acc4], 0
jne 0x5c7eee
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x7103d0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x71acc4], eax
cmp dword [0x71acc0], 0
jne 0x5c7f09
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x71acc0], eax
cmp dword [0x71acc8], 0
jne 0x5c7f2e
push esp
push 0
push 0
mov eax, dword [0x7103cc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x71acc8], eax
pop edx
ret
Function at 0x5c8458
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c846f
add esp, 0xfffffff0
call fcn.00408a44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004b1358
mov eax, dword [0x713234]
cmp byte [eax], 0
jne 0x5c849c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x7138ac]
cmp word [eax + 2], 0
jne 0x5c84b6
mov eax, dword [0x7138ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ca8e0
mov eax, dword [0x713ae8]
cmp word [eax + 2], 0
jne 0x5c84d0
mov eax, dword [0x713ae8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cacf8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4e9c64]
call fcn.004f069c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5cb1a8
mov dl, 1
mov eax, dword [0x475c8c]
call fcn.004084e0
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x475c8c]
call fcn.004084e0
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4eecbc]
call fcn.004faacc
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c86c0
mov eax, dword [0x71360c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004faf54
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5cb46c
mov dl, 1
mov eax, dword [0x475c8c]
call fcn.004084e0
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x71360c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426948
test eax, eax
je 0x5c85e3
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004267a0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042692c
test eax, eax
je 0x5c85fb
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040af50
push ebx
push 0x5ca2b4
call fcn.005bcf38
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x713234]
cmp byte [eax], 0
jne 0x5c864c
mov eax, ebx
call fcn.005c8888
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005cb814
mov eax, ebx
call fcn.005cc350
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c86b7
call fcn.00408a9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c8bb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5c8c5a
cmp dword [ebx + 0xac], 0
jne 0x5c8c54
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c8af8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c8c54
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 0x5c8c1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c8c54
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0049f5f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c8c29
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x71ac9c]
cmp dword [eax + 0x190], 0
je 0x5c9105
test bl, bl
jne 0x5c9058
cmp dword [esi + 0xb4], 0
jne 0x5c904d
mov eax, esi
call fcn.005cc1a0
push eax
push 0x5c8e9c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c901e
mov eax, dword [0x71ac9c]
cmp byte [eax + 0xeb], 0
je 0x5c901e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c8fff
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c901e
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c9007
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c904d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049f5f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c902d
inc dword [esi + 0xb4]
jmp 0x5c9105
cmp dword [esi + 0xb4], 0
jle 0x5c9105
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c9105
cmp dword [esi + 0x58], 0
je 0x5c90ba
mov eax, dword [0x71ac9c]
cmp byte [eax + 0xeb], 0
je 0x5c90ba
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c909b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c90ba
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c90a3
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c90e9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049f5f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c90c9
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b93d8]
call fcn.0040d3a4
pop edi
pop esi
pop ebx
ret
Function at 0x5c9ec0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5c9f1d
cmp byte [ebx + 0xeb], 0
jne 0x5c9f1d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a374
mov eax, dword [esi]
test eax, eax
je 0x5c9f0a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c9f2a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a5cc
jmp 0x5c9f2a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a5cc
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cba28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cba99
mov eax, esi
call fcn.0051e3ec
test al, al
je 0x5cba99
mov eax, dword [ebx + 0x98]
call fcn.0051df84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cba99
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5cba8a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051df84
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00514594
jmp 0x5cba99
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cb834
pop esi
pop ebx
ret
Function at 0x60c4cc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 0xd], cl
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x60c68a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x60c633
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, esi
test ebx, ebx
je 0x60c50d
sub ebx, 4
mov ebx, dword [ebx]
test ebx, ebx
je 0x60c51e
mov dl, 1
mov eax, esi
call fcn.00425d48
test al, al
jne 0x60c52b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x60c660
lea edx, [ebp - 4]
mov eax, esi
call fcn.0042e308
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x60c6a4
call fcn.0040b42c
test eax, eax
jle 0x60c569
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00426540
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x60c562
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x60c56b
xor eax, eax
test al, al
je 0x60c60e
xor ebx, ebx
inc ebx
push dword [ebp - 4]
push 0x60c6b4
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00425074
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040b188
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00425d48
test al, al
jne 0x60c575
mov eax, dword [ebp - 8]
call fcn.0040ae9c
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae9c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x60c5f1
cmp byte [ebp - 0xd], 0
je 0x60c5db
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0060c324
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x609e50]
call fcn.00614264
call fcn.004b11bc
jmp 0x60c629
cmp byte [ebp - 0xd], 0
je 0x60c603
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0060c118
jmp 0x60c629
xor edx, edx
mov eax, esi
call fcn.0061681c
jmp 0x60c629
cmp byte [ebp - 0xd], 0
je 0x60c620
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0060c118
jmp 0x60c629
xor edx, edx
mov eax, esi
call fcn.0061681c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x60c660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c691
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040a23c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a23c
pop eax
jmp eax
Function at 0x615d04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x615e26
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x615ddb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x615dcc
mov eax, ebx
call fcn.00407294
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x615dd1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x615e3c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x615dd1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
xor edx, edx
or eax, dword [ebp - 8]
or edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x615dd1
call fcn.00615e7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x615e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x615e2d
cmp dword [ebp - 0xc], 0
je 0x615e23
mov eax, dword [ebp - 0xc]
call fcn.004072b0
pop eax
jmp eax

Function at 0x615f8c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x6160a3
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x616053
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, ebx
call fcn.00425cb0
test al, al
je 0x616049
push 0x20
mov ecx, ebx
mov dl, 1
mov eax, dword [0x47cc70]
call fcn.004a4990
mov dword [ebp - 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x24]
lea edx, [ebp - 0x48]
mov ecx, 0x40
mov eax, dword [ebp - 8]
call fcn.004a43fc
cmp word [ebp - 0x48], 0x5a4d
jne 0x616049
cmp dword [ebp - 0xc], 0
je 0x616049
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.004a3ddc
lea edx, [ebp - 0x140]
mov ecx, 0xf8
mov eax, dword [ebp - 8]
call fcn.004a43fc
cmp dword [ebp - 0x140], 0x4550
jne 0x616049
movzx eax, word [ebp - 0x13c]
mov dword [esi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x616080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6160aa
cmp dword [ebp - 8], 0
je 0x6160a0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00408510
pop eax
jmp eax
Function at 0x616c30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x616c39
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x616de8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
xor edx, edx
push ebp
push 0x616d91
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
je 0x616c85
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x616c7e
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x616c87
xor eax, eax
test al, al
je 0x616c9e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x616c97
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg bl
jmp 0x616ca0
xor ebx, ebx
test bl, bl
je 0x616d87
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00425d48
test al, al
je 0x616d87
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00425d48
test al, al
jne 0x616cd8
mov eax, dword [ebp - 0x10]
call fcn.00426740
test al, al
je 0x616d87
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x616d6a
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0042e2c0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.0040b100
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.0042e2c0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.0040b100
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00425cb0
test al, al
je 0x616d69
mov eax, dword [ebp - 8]
call fcn.0040ae9c
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae9c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x616d69
inc dword [ebp - 0x18]
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x616ce4
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x18]
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x616dbe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x616def
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040a23c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a23c
pop eax
jmp eax

Function at 0x652d54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
test ecx, ecx
jbe 0x652d85
dec ecx
test ecx, ecx
jb 0x652d85
inc ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, dword [eax]
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x71b038]
mov edi, dword [eax]
shr edi, 8
xor esi, edi
mov dword [eax], esi
inc ebx
dec ecx
jne 0x652d63
pop edi
pop esi
pop ebx
ret
Function at 0x654f7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6550ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x710aa0]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x6550a3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x710aac], 0
jne 0x655076
mov dword [0x710aac], 0x104
mov eax, dword [0x710aa8]
test eax, eax
je 0x654ff2
cmp word [eax], 0
je 0x654ff2
lea eax, [ebp - 4]
mov edx, dword [0x710aa8]
call fcn.0040aefc
mov eax, dword [ebp - 4]
sub eax, 0xa
movzx esi, word [eax]
jmp 0x654ff6
mov si, 2
movzx eax, si
imul dword [0x710aac]
call fcn.00407294
mov dword [0x710aa8], eax
mov eax, dword [0x710aa8]
push eax
mov eax, dword [0x710aac]
push eax
call sub.kernel32.dll_GetTempPathW
mov dword [0x710aac], eax
mov eax, ebx
mov ecx, dword [0x710aac]
mov edx, dword [0x710aa8]
call fcn.0040a374
mov eax, dword [ebx]
call fcn.00654f60
mov eax, dword [ebx]
call fcn.00655d98
test al, al
jne 0x655089
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, 0x654f58
call fcn.004106d8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x41d180]
call fcn.0042ca4c
call fcn.004098d4
jmp 0x655089
mov eax, ebx
mov ecx, dword [0x710aac]
mov edx, dword [0x710aa8]
call fcn.0040a374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6550aa
mov eax, dword [0x710aa0]
mov edx, dword [eax]
call dword [edx + 4]
pop eax
jmp eax
Function at 0x655a18
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
seta byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x655b00
mov eax, ebx
call fcn.00407294
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x655af9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x655ae1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x655b10
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x655ae1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 0x10
mov dword [esi], edx
and eax, 0xffff
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x655b00
mov eax, dword [ebp - 0xc]
call fcn.004072b0
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x655b14
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, edi
mov edx, dword [0x713c44]
mov edx, dword [edx]
call fcn.0040a5cc
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x655bf5
mov eax, ebx
call fcn.00407294
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x655bee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x655bd6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x655bfc
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x655ba7
mov ecx, dword [ebp - 8]
dec ecx
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.0040a374
jmp 0x655bd6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x655c44
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x655bd6
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 1
je 0x655bd6
mov eax, edi
mov edx, 0x655c54
call fcn.0040a5cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x655bf5
mov eax, dword [ebp - 4]
call fcn.004072b0
pop eax
jmp eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret