joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45aea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dl, byte [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
mov byte [ebp - 0x18], cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x17], dl
mov dword [ebp - 0x1c], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45aed5
sub eax, ecx
lea ebx, [eax + 1]
mov eax, dword [esi + 0x2a0]
mov dword [ebp - 0x24], ebx
test eax, eax
je 0x45af0b
mov cl, byte [esi + 0x2a5]
push eax
lea edx, [esi + 0x200]
push edx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x17], cl
call fcn.004986a0
add esp, 0xc
test ebx, ebx
jne 0x45af27
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp - 0x24]
mov edi, dword [esi + 0x2a0]
mov eax, ebx
sub eax, edi
sub eax, dword [ebp - 0x1c]
mov ecx, 0xc
sub ecx, edi
cmp ecx, eax
jae 0x45af48
mov ebx, 0xc
sub ebx, edi
jmp 0x45af4a
mov ebx, eax
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x1c]
push ebx
push edx
lea ecx, [ebp + edi - 0x14]
push ecx
call fcn.004986a0
add edi, ebx
add esp, 0xc
cmp edi, 0xc
jne 0x45b050
mov al, byte [esi + 0x2a4]
mov dl, byte [ebp + 0x18]
add dl, byte [ebp - 0x1c]
mov byte [ebp - 0x16], al
inc al
mov byte [esi + 0x2a4], al
xor eax, eax
mov byte [ebp - 0x15], dl
xor ecx, ecx
jmp 0x45af90
movzx edx, byte [ebp + ecx - 0x18]
movzx edi, ax
shl eax, 8
shr edi, 8
xor edx, edi
xor ax, word [esi + edx*2]
movzx edi, byte [ebp + ecx - 0x17]
movzx eax, ax
mov edx, eax
shl eax, 8
shr edx, 8
xor edx, edi
xor ax, word [esi + edx*2]
movzx edx, byte [ebp + ecx - 0x16]
movzx eax, ax
mov edi, eax
shr edi, 8
xor edx, edi
shl eax, 8
xor ax, word [esi + edx*2]
movzx edx, byte [ebp + ecx - 0x15]
movzx eax, ax
mov edi, eax
shr edi, 8
shl eax, 8
xor edx, edi
xor ax, word [esi + edx*2]
add ecx, 4
movzx eax, ax
cmp ecx, 0x10
jl 0x45af90
not eax
movzx eax, ax
mov ecx, eax
xor edi, edi
push edi
shr ecx, 8
push 0x12
lea edx, [ebp - 0x18]
mov byte [ebp - 8], cl
mov ecx, dword [ebp - 0x28]
push edx
mov byte [ebp - 7], al
call fcn.004026e0
mov al, byte [ebp - 0x17]
add dword [ebp - 0x1c], ebx
mov dword [esi + 0x2a0], edi
cmp al, byte [esi + 0x2a5]
jne 0x45b02f
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x17], cl
mov dword [ebp + 0x18], edi
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jb 0x45af24
pop edi
pop esi
mov eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x2a0]
push ebx
push eax
lea eax, [edx + esi + 0x200]
push eax
call fcn.004986a0
add dword [esi + 0x2a0], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45b090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x2a0]
test edi, edi
je 0x45b19a
mov al, byte [ebp + 0xc]
mov cl, byte [esi + 0x2a5]
mov dl, byte [ebp + 0x10]
mov byte [ebp - 0x18], al
mov al, byte [esi + 0x2a4]
mov byte [ebp - 0x16], al
inc al
mov byte [esi + 0x2a4], al
push edi
lea eax, [esi + 0x200]
mov byte [ebp - 0x17], cl
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x15], dl
call fcn.004986a0
mov edx, 0xc
sub edx, edi
push edx
lea eax, [ebp + edi - 0x14]
push 0
push eax
call fcn.00499330
add esp, 0x18
xor eax, eax
xor ecx, ecx
jmp 0x45b110
movzx edx, byte [ebp + ecx - 0x18]
movzx edi, ax
shl eax, 8
shr edi, 8
xor edx, edi
xor ax, word [esi + edx*2]
movzx edi, byte [ebp + ecx - 0x17]
movzx eax, ax
mov edx, eax
shl eax, 8
shr edx, 8
xor edx, edi
xor ax, word [esi + edx*2]
movzx edx, byte [ebp + ecx - 0x16]
movzx eax, ax
mov edi, eax
shr edi, 8
xor edx, edi
shl eax, 8
xor ax, word [esi + edx*2]
movzx edx, byte [ebp + ecx - 0x15]
movzx eax, ax
mov edi, eax
shr edi, 8
shl eax, 8
xor edx, edi
xor ax, word [esi + edx*2]
add ecx, 4
movzx eax, ax
cmp ecx, 0x10
jl 0x45b110
not eax
movzx eax, ax
mov ecx, eax
push 0
shr ecx, 8
push 0x12
lea edx, [ebp - 0x18]
mov byte [ebp - 8], cl
push edx
mov ecx, ebx
mov byte [ebp - 7], al
call fcn.004026e0
mov dword [esi + 0x2a0], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 0xc
Function at 0x460f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xa4], 0
jle 0x460fb9
cmp dword [esi + 0xb8], 0
je 0x460fb9
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test al, al
je 0x460fb9
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x460380
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x460fb9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x464790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8459
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
lea edi, [esi + 4]
mov dword [esi], vtable.CCore2InStream.0
mov dword [ebp - 4], eax
mov dword [edi], vtable.CCore2InStream::CInternalStream.0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [esi + 0x28], ecx
push eax
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
call fcn.00463db0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00403fa0
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call edx
lea eax, [eax + eax*4]
add eax, eax
push eax
mov dword [esi + 0x18], eax
call fcn.00497a23
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
mov dword [edi + 4], eax
add esp, 4
mov dword [edi + 8], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x464f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
add ecx, 0xffffffda
cwde
cmp ecx, 0x6f
ja 0x464f7c
add eax, 0xfffffea8
cmp eax, 0x1c
ja 0x464f7c
mov eax, dword [esi + 4]
push 5
push 0
push 0
push str.http:__infrarecorder.org
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x154]
test eax, eax
je 0x464f8f
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x465910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b858c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x103
lea eax, [ebp - 0x218]
push eax
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x6ac]
push ecx
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x6a4], eax
test eax, eax
je 0x465a0b
push eax
call fcn.00497a23
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x6a4]
push edi
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jle 0x465a02
lea edx, [ebp - 0x6ac]
push edx
lea eax, [ebp - 0x6a8]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x6a8]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea esi, [ebx + 0x36]
push str.StringFileInfo_04x_04xFileVersion
push esi
call fcn.00433830
add esp, 0x10
lea eax, [ebp - 0x6a4]
push eax
lea ecx, [ebp - 0x6b0]
push ecx
push esi
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp - 0x6b0]
push 0x4c7818
push edx
push str.Version__s__unicode___s_
push esi
call fcn.00433830
add esp, 0x10
push edi
call fcn.004996ce
add esp, 4
push 0x1a
push str.Installed_version:_Unknown
lea ecx, [ebx + 0x138]
call fcn.00401bf0
push 0x4ef570
lea ecx, [ebp - 0x234]
call fcn.004011b0
xor esi, esi
push 0x4c5168
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], esi
call fcn.004011b0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.004015c0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.004016d0
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x288]
call fcn.00405320
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.00405480
test al, al
je 0x465b38
push 1
lea ecx, [ebp - 0x6a0]
call fcn.00405870
lea edx, [ebp - 0x6a0]
push edx
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 3
call fcn.00405a90
add esp, 8
test al, al
je 0x465b2e
cmp dword [0x4eab80], esi
jbe 0x465b2e
lea ecx, [ebp - 0x6a0]
call fcn.00405a10
cmp dword [esi*8 + 0x4eab84], eax
je 0x465ae2
inc esi
cmp esi, dword [0x4eab80]
jb 0x465ac3
jmp 0x465b2e
push 0x13
push str.Installed_version:
lea ecx, [ebx + 0x138]
call fcn.00401bf0
mov esi, dword [esi*8 + 0x4eab88]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465b00
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebx + 0x138]
call fcn.00404c50
push 0x17
push 0x4c7754
lea ecx, [ebx + 0x138]
call fcn.00404c50
mov dword [ebp - method.ckcore::OutStream.virtual_0], vtable.ckcore::OutStream.0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0
call fcn.00405400
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.004016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
Function at 0x465b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b62f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.00465910
cmp dword [esi + 0x158], 0
je 0x465c18
push 0
push edi
mov dword [esi + 0x154], edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [ebp - 0x30], esp
push edi
mov ecx, esi
mov dword [eax], 0x4e81cc
call fcn.00465890
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0043d600
jmp 0x465ca2
xor eax, eax
lea edx, [esi + 0x36]
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465c34
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401bf0
push 0x2b
push str._copyright
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00404c50
push 0x3b
push str.Please_visit_http:__infrarecorder.org_for_more_information.
lea ecx, [ebp - 0x2c]
call fcn.00404c50
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x465c82
lea eax, [ebp - 0x2c]
push 0x40
push str.About_InfraRecorder
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x18], esi
jb 0x465ca2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049855c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 4
Function at 0x46abc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push str.English__default_
push 0
mov ebx, ecx
mov eax, dword [ebx + 0x50]
push 0x143
push eax
call esi
mov ecx, dword [ebx + 0x50]
push 0
push 0
push 0x14e
push ecx
call esi
push 0x103
lea edx, [ebp - 0x414]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call fcn.00433e00
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 4
push str.languages_
lea ecx, [ebp - 0x414]
push ecx
call edi
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..irl
lea ecx, [ebp - 0x20c]
push ecx
call edi
lea edx, [ebp - 0x680]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebx + 0x58]
mov dword [ebp - 0x890], eax
mov eax, dword [ebx + 0x54]
cmp eax, edx
je 0x46acc1
mov dword [ebp - 0x88c], eax
mov eax, edx
cmp edx, edx
je 0x46acb8
jmp 0x46ac90
mov edi, dword [ebp - 0x88c]
add dword [ebp - 0x88c], 0x208
mov esi, eax
add eax, 0x208
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
jne 0x46ac90
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x88c]
mov dword [ebx + 0x58], ecx
cmp dword [ebp - 0x890], 0xffffffff
je 0x46adf9
mov edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x4ccb4c
lea edx, [ebp - 0x654]
push edx
call edi
test eax, eax
je 0x46add0
push 0x4ccb50
lea eax, [ebp - 0x654]
push eax
call edi
test eax, eax
je 0x46add0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x888]
push edx
call edi
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebx + 0x54]
call fcn.0046ab20
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x20c]
push edx
call edi
lea eax, [ebp - 0x20c]
push 0x4ccd04
push eax
call fcn.00433f00
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x430]
push edx
mov ecx, ebx
call fcn.0046a9f0
mov eax, dword [ebp - 0x430]
mov edi, 8
cmp dword [ebp - 0x41c], edi
jae 0x46ad79
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebx + 0x50]
push 0
push 0x143
push eax
call esi
push 0x4e85ac
lea ecx, [ebp - 0x654]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x46adb9
mov edx, dword [ebx + 0x50]
push eax
push eax
push 0x146
push edx
call esi
push 0
dec eax
push eax
mov eax, dword [ebx + 0x50]
push 0x14e
push eax
call esi
cmp dword [ebp - 0x41c], edi
jb 0x46add0
mov ecx, dword [ebp - 0x430]
push ecx
call fcn.0049855c
add esp, 4
mov eax, dword [ebp - 0x890]
lea edx, [ebp - 0x680]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46acd0
mov ecx, dword [ebp - 0x890]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret
Function at 0x46e420
Capabilities:
Get disk size
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.004961f0
mov eax, dword [esi + 4]
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0046df20
mov ecx, dword [ebp - 0x4c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
call fcn.004966e0
add esp, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00496110
mov ecx, edi
call fcn.00420760
cmp dword [eax + 0x14], 8
jb 0x46e498
mov eax, dword [eax]
mov dx, word [eax]
mov word [ebp - 0x18], dx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x16], 0x3a
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x46e4e3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x4e92d8], eax
mov dword [0x4e92dc], ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00496130
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 4
Function at 0x472e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x28]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x34]
call fcn.004961f0
mov ecx, dword [esi + 4]
push 0
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.0046df20
mov edx, dword [ebp - 0x30]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x34]
push ecx
mov ecx, 0x4ef308
mov dword [ebp - 0x14], 0x4c7fdc
mov dword [ebp - 0x10], eax
call fcn.004208d0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.004728c0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00496130
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4770e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ecx + 4]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x801a
push ecx
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x477142
lea edx, [ebp - 0x20c]
push edx
call fcn.00433850
add esp, 4
push str.InfraRecorderlogs_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x477165
push 0x103
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call fcn.00433e00
add esp, 4
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004011b0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00499155
mov esp, ebp
pop ebp
ret 4

Function at 0x477430
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4ef2a4]
push esi
push edi
mov esi, ecx
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x44]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xba
push edx
call edi
push eax
mov eax, dword [esi + 0x44]
push 0
push 0xb6
push eax
call edi
pop edi
pop esi
ret

Function at 0x477ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8f58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004770e0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00403fa0
cmp dword [eax + 0x14], 8
jb 0x477b08
mov eax, dword [eax]
push 0xa
push 0
push eax
push 0x4c858c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004016d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4782e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
test ecx, ecx
je 0x4782ee
lea edi, [ecx - 0x24]
jmp 0x4782f0
xor edi, edi
cmp byte [ecx + 0x1c], 0
mov esi, dword [ebp + 0xc]
je 0x478327
mov eax, dword [edi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x478318
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47832c
test esi, esi
jne 0x478327
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47832c
cmp esi, 1
je 0x478342
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [edi + 0x24]
call fcn.00477b50
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x478420
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [esi + 4]
call fcn.0043d790
push 0x2000000
push 1
push 1
lea ecx, [esi + 0x24]
call fcn.00477f60
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f9
push ecx
call ebx
push 0
push 0x100000
push 0xc5
push eax
mov dword [esi + 0x44], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 4]
push 0x3fa
push eax
call ebx
push eax
lea ecx, [esi + 0x48]
call fcn.00453da0
cmp byte [0x4ef345], 0
je 0x478639
mov ecx, esi
call fcn.00477190
push 0x103
lea ecx, [ebp - 0x48c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x48c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4a0], eax
test eax, eax
je 0x478580
push eax
call fcn.00497a23
mov ecx, dword [ebp - 0x4a0]
add esp, 4
mov edi, eax
push edi
push ecx
push 0
lea edx, [ebp - 0x48c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jle 0x478577
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x4a4]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
lea ecx, [ebp - 0x184]
push str.StringFileInfo_04x_04xFileVersion
push ecx
call fcn.00433830
add esp, 0x10
lea edx, [ebp - 0x4a0]
push edx
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x184]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [esi + 0x20]
mov edx, dword [edx + 4]
lea eax, [esi + 0x20]
push ecx
push str.InfraRecorder_version__s
push eax
call edx
add esp, 0xc
push edi
call fcn.004996ce
add esp, 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 8]
lea edi, [esi + 0x20]
push str.__x86_
push edi
call ecx
add esp, 8
lea edx, [ebp - 0x49c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
lea eax, [ebp - 0x84]
push eax
push str.dddd__MMMM_dd_yyyy
lea ecx, [ebp - 0x49c]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
movzx edx, word [ebp - 0x490]
movzx eax, word [ebp - 0x492]
movzx ecx, word [ebp - 0x494]
push edx
push eax
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x284]
push str.Started:__s_.2d:_.2d:_.2d.
push eax
call fcn.00433830
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x284]
push edx
push edi
call eax
mov edx, dword [0x4efe2c]
mov eax, dword [0x4efe28]
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
push edx
mov edx, dword [0x4efe24]
push eax
mov eax, dword [0x4efe20]
push edx
mov edx, dword [0x4efe1c]
push eax
mov eax, dword [0x4efe18]
push edx
push eax
push str.Versions:_MSW___d._d__IE___d._d__CC___d._d.
push edi
call ecx
add esp, 0x40
mov ecx, esi
call fcn.00477310
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10