joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41203e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x433b4e
call fcn.0041e952
cmp byte [ebp + 0x10], 0
jne 0x41207f
mov dl, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00411fc3
cmp byte [ebp + 0x14], 0
je 0x412068
test eax, eax
setne bl
jmp 0x41206d
test eax, eax
sete bl
test eax, eax
je 0x412078
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x412119
mov ebx, dword [ebp + 8]
push 0x5c
push dword [ebx]
call fcn.00420a94
pop ecx
pop ecx
mov esi, eax
push 3
pop edi
test esi, esi
je 0x412107
sub esi, dword [ebx]
sar esi, 1
js 0x412107
push esi
push 0
lea eax, [ebp + 0x10]
mov ecx, ebx
push eax
call fcn.0040343c
and dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
mov dl, byte [ebp + 0xc]
call fcn.00411fc3
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4120fc
lea edx, [esi + 1]
mov ecx, ebx
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00407673
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp - 0x14]
push eax
push eax
push eax
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004045ed
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004045ed
cmp byte [ebp + 0x14], 0
je 0x412114
test edi, edi
sete al
jmp 0x412119
test edi, edi
setne al
call fcn.0041e92c
ret 0x10
Function at 0x412819
Capabilities:
Get disk size

Disassembly:
sub esp, 0x424
mov eax, dword [0x44a078]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
test ecx, ecx
jne 0x41283c
xor al, al
jmp 0x412944
movzx edx, word [ecx]
lea esi, [esp + 0x28]
push 2
pop ebp
test dx, dx
je 0x41285f
mov eax, esi
sub ecx, eax
mov word [esi], dx
add esi, ebp
movzx eax, word [ecx + esi]
mov edx, eax
test ax, ax
jne 0x41284f
xor eax, eax
xor cl, cl
mov word [esi], ax
sub esi, ebp
push 0x5c
xor al, al
pop edx
mov byte [esp + 0x17], al
cmp word [esp + 0x28], dx
jne 0x41288e
cmp word [esp + 0x2a], dx
jne 0x41288e
xor ebx, ebx
inc ebx
cmp word [esi], dx
mov byte [esp + 0x17], bl
setne cl
jmp 0x41289a
xor ebx, ebx
movzx eax, al
inc ebx
cmp word [esi], dx
cmove eax, ebx
lea edi, [esp + 0x2c]
cmp word [esp + 0x2c], dx
je 0x4128ac
add edi, ebp
cmp word [edi], dx
jne 0x4128a5
test cl, cl
jne 0x4128b6
test al, al
je 0x4128c4
jmp 0x4128bd
add esi, ebp
mov word [esi], dx
add esi, ebp
xor eax, eax
mov word [esi], ax
sub esi, ebp
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
lea eax, [esp + 0x20]
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x412924
push 0x5c
pop ecx
cmp word [esi], cx
lea eax, [esi - 2]
cmovne eax, esi
mov esi, eax
jmp 0x4128fe
cmp word [esi], cx
je 0x412906
sub esi, ebp
lea eax, [esp + 0x28]
cmp esi, eax
ja 0x4128f7
cmp esi, edi
jb 0x412835
cmp byte [esp + 0x17], 0
jne 0x412919
cmp esi, edi
jne 0x41291b
add esi, ebp
xor eax, eax
mov word [esi], ax
sub esi, ebp
jmp 0x4128cd
mov eax, dword [esp + 0x43c]
cmp eax, dword [esp + 0x1c]
ja 0x412940
jb 0x412942
mov eax, dword [esp + 0x438]
cmp eax, dword [esp + 0x18]
jb 0x412942
xor ebx, ebx
mov al, bl
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041df7e
add esp, 0x424
ret
Function at 0x412bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x433c47
call fcn.0041e952
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 0xc8
push ebx
jmp 0x412be5
add dword [ebp - 0x10], 2
push esi
call fcn.0041df98
pop ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.0040a7ea
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [edi]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x412be0
test eax, eax
jne 0x412c98
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x412c4a
cmp eax, 2
je 0x412c4a
cmp eax, 7
je 0x412c4a
cmp eax, 4
jne 0x412c98
push dword [esi]
push 0x44171c
push dword [ebp + 8]
call fcn.0040795c
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x412c98
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [esi + eax*2], cx
mov edi, dword [ebp - 0x10]
jmp 0x412c61
dec edi
mov dword [ebp - 0x10], edi
cmp word [esi + edi*2], bx
je 0x412c5d
inc edi
mov dword [ebp - 0x10], edi
call fcn.00404409
push eax
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00403885
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
xor ebx, ebx
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.00403643
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004045ed
push esi
call fcn.0041df98
pop ecx
mov al, bl
call fcn.0041e92c
ret

Function at 0x412ca7
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x433c6a
call fcn.0041e952
mov esi, edx
mov edi, ecx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x74], 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0041fe40
xorps xmm0, xmm0
mov dword [ebp - 0x18], ebx
add esp, 0xc
mov byte [ebp - 0x14], bl
movups xmmword [ebp - 0x28], xmm0
mov ecx, dword [esi]
xor eax, eax
cmp dword [ecx - 0xc], ebx
cmove ecx, eax
mov eax, dword [edi]
xor edx, edx
cmp dword [eax - 0xc], ebx
cmove eax, edx
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x74]
push edx
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x412d1d
mov esi, dword [ebp + 8]
test esi, esi
je 0x412d45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x412d45
cmp dword [ebp + 8], 0
je 0x412d3a
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.0041a9fd
mov al, bl
call fcn.0041e92c
ret
Function at 0x412d55
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x433cbf
call fcn.0041e952
mov dword [ebp - 0x14], edx
mov edi, ecx
xor ebx, ebx
lea eax, [ebp - 0x4c]
push 0x38
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.0041fe40
mov esi, dword [edi]
mov eax, 0x400
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
cmp dword [ebp + 0xc], ebx
lea ecx, [eax + 0x40]
cmovne eax, ecx
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.004070ac
test al, al
je 0x412da2
add esi, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp byte [ebp + 0x10], al
mov dword [ebp - 0x40], esi
sete al
mov dword [ebp - 0x44], 0x43f394
mov ecx, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ecx - 0xc], ebx
cmovne eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jne 0x412de7
mov edx, edi
lea ecx, [ebp + 0x18]
call fcn.004069fe
mov dword [ebp - 4], ebx
xor ebx, ebx
mov edi, dword [ebp + 0x10]
inc ebx
jmp 0x412e02
add ecx, 0xfffffff0
call fcn.00404554
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
push 2
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 1
pop ebx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x10], ebx
call fcn.00404554
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], 2
test bl, 2
je 0x412e2c
lea ecx, [edi - 0x10]
and ebx, 0xfffffffd
call fcn.004045ed
mov byte [ebp - 4], 4
test bl, 1
je 0x412e40
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.004045ed
lea ecx, [ebp + 0x10]
mov edi, esi
call fcn.004070ac
test al, al
je 0x412e51
lea edi, [esi + 8]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], edi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, dword [ebp + 0xc]
test eax, eax
jne 0x412e75
test ebx, ebx
je 0x412e71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor ebx, ebx
jmp 0x412ea5
test ebx, ebx
je 0x412e94
cmp dword [ebp - 0x18], 0
je 0x412ea3
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x18], 0
je 0x412ea3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.004045ed
mov al, bl
call fcn.0041e92c
ret
Function at 0x413157
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44a078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x413193
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x413237
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x18]
mov esi, ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4131e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41322a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0040a58b
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41322a
cmp dword [ebp - 0x10], ebx
je 0x41322a
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x413230
push dword [ebp - 0x20]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x20]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x413230
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.0041df98
pop ecx
cmp dword [ebp - 0x18], 0
je 0x413246
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0041df7e
mov esp, ebp
pop ebp
ret
Function at 0x413582
Capabilities:
Read file on windows

Disassembly:
push 0x414
mov eax, 0x433d9f
call fcn.0041e986
mov edi, edx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x414], ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4135ec
cmp eax, 0x400
jae 0x413653
mov byte [ebp + eax - 0x410], 0
mov ecx, edi
lea eax, [ebp - 0x410]
push eax
call fcn.0040774b
push 0
lea eax, [ebp - 0x414]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call ebx
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x4135cd
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x413642
add eax, 0xfffffffe
mov ecx, edi
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0040762c
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00403643
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.004045ed
test esi, esi
je 0x41364d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041e941
ret
call fcn.0041e5ae
int3

Function at 0x41387d
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x433dcf
call fcn.0041e952
mov ebx, ecx
cmp dword [ebx + 4], 0
mov edi, dword [ebp + 8]
mov dword [ebx + 0x10], edi
jne 0x41389b
xor eax, eax
jmp 0x413915
xor ecx, ecx
test edi, edi
je 0x4138c0
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [ebx + 0x14]
call fcn.0040a772
mov eax, dword [edi]
mov ecx, edi
push dword [ebx + 0x14]
call dword [eax + 0x20]
xor ecx, ecx
lea eax, [ebp + 8]
push eax
push ecx
push ebx
push 0x41391d
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
and dword [ebp - 0x10], 0
mov ebx, eax
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
test edi, edi
je 0x4138eb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp + 8]
test ebx, ebx
je 0x413913
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.0041e92c
ret 4
Function at 0x413e2c
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x433ef0
call fcn.0041e952
mov esi, ecx
mov dword [ebp - 0x24], esi
mov ebx, dword [ebp + 8]
push 0x2e
push dword [ebx]
call fcn.00420a94
pop ecx
pop ecx
test eax, eax
je 0x413fd3
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x413fd3
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040762c
and dword [ebp - 4], 0
call fcn.00404409
push eax
lea ecx, [ebp - 0x18]
call fcn.0040385f
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebx]
push dword [eax]
lea eax, [ebp - 0x18]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.0040795c
mov ecx, dword [esi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x413ea9
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push ecx
lea eax, [ebp - 0x28]
push 0x8000008
push eax
lea ecx, [esi + 0xc]
lea edx, [ebp - 0x18]
call fcn.00412ca7
add esp, 0xc
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x10]
call fcn.00406faf
mov edi, dword [ebp - 0x10]
test al, al
je 0x413ee1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x413fa3
call fcn.00404409
push eax
lea ecx, [ebp + 8]
call fcn.0040385f
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00413582
call fcn.00404409
push eax
lea ecx, [ebp - 0x14]
call fcn.0040385f
mov edx, 0xca
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00414430
push 0x5c
mov byte [ebp - 4], 4
mov esi, dword [edi - 0xc]
push edi
call fcn.00420a94
pop ecx
pop ecx
test eax, eax
jne 0x413f37
or eax, 0xffffffff
jmp 0x413f3b
sub eax, edi
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.004104d4
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
push esi
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push eax
call fcn.0040795c
mov byte [ebp - 4], 4
add esp, 0x10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004045ed
lea ecx, [ebp - 0x14]
call fcn.0040c2fb
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], 0
lea ecx, [ecx - 0x10]
call fcn.004045ed
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004045ed
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.004045ed
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x413fbb
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004045ed
lea ecx, [edi - 0x10]
call fcn.004045ed
mov al, byte [ebp + 0xb]
jmp 0x413fd5
mov al, 1
call fcn.0041e92c
ret 8
Function at 0x414176
Capabilities:
Create thread

Disassembly:
push 0x30
mov eax, 0x433f76
call fcn.0041e952
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
cmp dword [eax], ebx
je 0x4141b3
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x14]
call fcn.0040a772
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [ebp + 8]
push eax
push ebx
push edi
push 0x414424
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 0x10]
cmp dword [ecx], esi
je 0x414266
mov ecx, edi
call fcn.00414298
mov ecx, dword [edi]
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], edx
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], esi
mov edx, dword [eax + 4]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
test edx, edx
jle 0x414248
mov ebx, dword [ebp - 0x34]
add ecx, 0x78
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push edi
mov ecx, eax
call fcn.0040325c
mov ecx, dword [ebp - 0x18]
push dword [eax]
call fcn.0040a5d0
mov eax, dword [eax + 0xc]
add ebx, eax
mov eax, dword [ebp - 0x20]
adc esi, 0
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x414217
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
jmp 0x41424b
mov edx, dword [ebp - 0x34]
mov eax, dword [edi + 0x10]
add edx, dword [ebp - 0x28]
adc esi, dword [ebp - 0x2c]
mov ecx, dword [eax]
push esi
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp + 8]
test ebx, ebx
je 0x41428e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.0041e92c
ret 4
Function at 0x4144e2
Capabilities:
Copy file
Get common file path

Disassembly:
push 0x420
mov eax, 0x433fe4
call fcn.0041e986
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [esi], 0
call fcn.0041a06e
mov ebx, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x44c228]
cmp eax, dword [ecx + 4]
jle 0x41454d
push 0x44c228
call fcn.0041e102
cmp dword [0x44c228], 0xffffffff
pop ecx
jne 0x41454d
and dword [ebp - 4], 0
sub esp, 0x10
mov ecx, 0x44c230
push 0
push 0xa
call fcn.00419fc0
or dword [ebp - 4], 0xffffffff
push 0x44c228
call fcn.0041e0c3
pop ecx
push ecx
push 0x44c230
mov ecx, ebx
call fcn.0041a0ce
test al, al
je 0x41461d
push edi
call fcn.00414633
test al, al
je 0x41461d
mov ebx, 0x208
lea eax, [ebp - 0x21c]
push ebx
push 0
push eax
call fcn.0041fe40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.0041fe40
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push ebx
push 0x443104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x424]
mov ecx, esi
push eax
call fcn.004146b7
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x428], bl
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 1
call fcn.0041aa4d
push ebx
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
dec eax
neg eax
sbb al, al
add al, 1
mov byte [esi + 4], al
jne 0x414610
push edi
mov ecx, esi
call fcn.004146b7
lea ecx, [ebp - 0x42c]
call fcn.0041a9fd
jmp 0x414629
push edi
mov ecx, esi
call fcn.004146b7
mov byte [esi + 4], 0
mov eax, esi
call fcn.0041e941
ret 4

Function at 0x414633
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44a078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push esi
push esi
push 0x24
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x20c]
call fcn.00401c5c
mov ecx, edi
mov ebx, eax
call fcn.00401c5c
cmp eax, ebx
jae 0x41467c
xor al, al
jmp 0x4146a4
test ebx, ebx
je 0x4146a2
lea eax, [ebp - 0x20c]
sub edi, eax
lea eax, [edi + esi*2]
mov ax, word [ebp + eax - 0x20c]
cmp ax, word [ebp + esi*2 - 0x20c]
jne 0x414678
inc esi
cmp esi, ebx
jb 0x414688
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041df7e
mov esp, ebp
pop ebp
ret 4
Function at 0x414791
Capabilities:
Delete file
Get file version info

Disassembly:
push 0x20
mov eax, 0x434014
call fcn.0041e952
mov dword [ebp - 0x24], edx
xor edi, edi
mov esi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.004144e2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41482e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a58b
mov esi, dword [ebp - 0x10]
test al, al
jne 0x4147df
push 8
pop edi
jmp 0x414836
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41482e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x440b30
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x414836
cmp dword [ebp - 0x20], 0
je 0x414836
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
test ecx, ecx
je 0x414820
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x414836
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x414836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp byte [ebp - 0x28], 0
je 0x414845
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x2c]
call fcn.0041df98
pop ecx
push esi
call fcn.0041df98
pop ecx
mov eax, edi
call fcn.0041e92c
ret