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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb05b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x57b070]
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 dword [ebp - 0x13c], ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x138], edi
cmp dword [eax + 4], ebx
jbe 0x4628b8
mov esi, eax
mov eax, ebx
lea edi, [ebp - 0x138]
and eax, 1
mov ecx, esi
lea edi, [edi + eax*2]
call fcn.00462320
movzx eax, word [eax + ebx*2]
push eax
call fcn.004b701e
xor word [edi], ax
inc ebx
add esp, 4
cmp ebx, dword [esi + 4]
jb 0x462881
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x144]
mov eax, 4
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
mov word [ebp - 0x1a], ax
lea ecx, [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov byte [ebp - 0x18], 1
push 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00462700
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
push str.Local_
lea eax, [ebp - 0x134]
mov dword [ebp - 4], ecx
push 0x558df8
push eax
call fcn.004623d0
push str.mutex_file_
lea eax, [ebp - 0x134]
push 0x558df8
push eax
call fcn.004623d0
push edi
lea eax, [ebp - 0x134]
push str.0x_p
push eax
call fcn.004623d0
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x128]
add esp, 0x24
cmp byte [ebp - 0x18], 0
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
push esi
call fcn.0046ff80
test al, al
jne 0x4629dc
cmp dword [esi], 0
je 0x46299d
nop dword [eax + eax]
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], 0
jne 0x462990
push 0x128
call fcn.004a35dc
mov edi, eax
add esp, 4
mov ecx, edi
mov dword [ebp - 0x13c], edi
call fcn.00461c60
push 0x55ef50
push 0x558df8
mov dword [edi + 0x124], 0
push edi
mov dword [esi], edi
call fcn.004623d0
add esp, 0xc
xor bl, bl
jmp 0x4629de
mov bl, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x462a07
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x462a07
push eax
call fcn.004ac7ec
add esp, 4
mov al, bl
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.004a35cb
mov esp, ebp
pop ebp
ret 8

Function at 0x4631d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp byte [ecx + 0x11c], 0
lea eax, [ecx + 0xc]
jne 0x4631df
mov eax, dword [ecx + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4631f1
xor al, al
ret
shr eax, 4
not al
and al, 1
ret
Function at 0x463200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov cl, byte [esi + 0x11c]
lea eax, [esi + 0xc]
test cl, cl
jne 0x463228
mov eax, dword [esi + 8]
cmp word [eax + 6], 0x3a
jne 0x4632c0
lea eax, [esi + 0xc]
test cl, cl
jne 0x46323d
mov eax, dword [esi + 8]
cmp word [eax + 8], 0
jne 0x4632c0
push esi
lea ecx, [ebp - 0x258]
call fcn.00461d10
push 0x5528b0
lea eax, [ebp - 0x258]
push 0x558df8
push eax
call fcn.004623d0
add esp, 0xc
lea eax, [ebp - 0x24c]
cmp byte [ebp - 0x13c], 0
cmove eax, dword [ebp - 0x250]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x463292
xor bl, bl
jmp 0x463298
shr ebx, 4
and bl, 1
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4633df
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
jmp 0x4633d2
push esi
lea ecx, [ebp - 0x130]
call fcn.00461d10
mov al, byte [esi + 0x11c]
lea ecx, [esi + 0xc]
test al, al
jne 0x4632dc
mov ecx, dword [esi + 8]
cmp word [ecx + 6], 0x3a
jne 0x463305
lea ecx, [esi + 0xc]
test al, al
jne 0x4632ed
mov ecx, dword [esi + 8]
cmp word [ecx + 8], 0x5c
jne 0x463305
lea ecx, [esi + 0xc]
test al, al
jne 0x4632fe
mov ecx, dword [esi + 8]
cmp word [ecx + 0xa], 0
je 0x46334b
mov edi, dword [esi + 4]
test edi, edi
je 0x46334b
test al, al
lea eax, [esi + 0xc]
jne 0x463316
mov eax, dword [esi + 8]
cmp word [eax + edi*2 + 2], 0x5c
jne 0x46334b
lea eax, [edi - 1]
push edi
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x12c], eax
call fcn.00462700
cmp byte [ebp - 0x14], 0
lea eax, [ebp - 0x124]
cmove eax, dword [ebp - 0x128]
xor ecx, ecx
mov word [eax + edi*2 + 2], cx
cmp byte [ebp - 0x14], 0
lea eax, [ebp - 0x124]
cmove eax, dword [ebp - 0x128]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x463371
xor bl, bl
jmp 0x4633b6
mov al, byte [esi + 0x11c]
lea ecx, [esi + 0xc]
test al, al
jne 0x463381
mov ecx, dword [esi + 8]
cmp word [ecx + 6], 0x3a
jne 0x4633b0
lea ecx, [esi + 0xc]
test al, al
jne 0x463392
mov ecx, dword [esi + 8]
cmp word [ecx + 8], 0x5c
jne 0x4633b0
test al, al
je 0x4633a2
add esi, 0xc
jmp 0x4633a5
mov esi, dword [esi + 8]
cmp word [esi + 0xa], 0
jne 0x4633b0
mov bl, 1
jmp 0x4633b6
shr ebx, 4
and bl, 1
cmp byte [ebp - 0x14], 0
mov dword [ebp - 0x130], vtable.t_str.0
jne 0x4633df
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x124]
cmp eax, ecx
je 0x4633df
push eax
call fcn.004ac7ec
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x4638b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb191
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x57b070]
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 esi, ecx
mov edi, dword [ebp + 8]
call fcn.00463200
test al, al
je 0x463979
cmp byte [ebp + 0xc], 0
je 0x463972
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x463905
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x258]
push eax
call fcn.00462ac0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push eax
push 0x55efc0
mov ecx, edi
call fcn.00464450
mov ecx, eax
call fcn.004646f0
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x46396b
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x46396b
push eax
call fcn.004ac7ec
add esp, 4
xor al, al
jmp 0x463b13
mov al, 1
jmp 0x463b13
lea ecx, [ebp - 0x134]
call fcn.00462a60
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00464230
test al, al
je 0x463a08
cmp dword [ebp - 0x130], 2
jb 0x4639f2
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
test bl, bl
cmove eax, ecx
movzx edx, word [eax + 6]
lea eax, [ebp - 0x128]
cmove eax, ecx
movzx eax, word [eax + 8]
mov dword [ebp - 0x380], eax
lea eax, [ebp - 0x128]
cmove eax, ecx
movzx eax, word [eax + 0xa]
cmp edx, 0x3a
jne 0x4639f2
cmp word [ebp - 0x380], 0x5c
jne 0x4639f2
test ax, ax
je 0x463a08
push 0
push edi
lea ecx, [ebp - 0x134]
call fcn.004638b0
test al, al
je 0x463aba
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x463a17
mov eax, dword [esi + 8]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea eax, [esi + 0xc]
jne 0x463abe
cmp byte [esi + 0x11c], 0
jne 0x463a3a
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x37c]
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00464450
mov ecx, eax
call fcn.004645e0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, edi
call fcn.00464450
lea ecx, [ebp - 0x37c]
push ecx
push 0x55f014
mov ecx, eax
call fcn.004646f0
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x463aba
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x463aba
push eax
call fcn.004ac7ec
add esp, 4
xor bl, bl
jmp 0x463ae8
cmp byte [esi + 0x11c], 0
jne 0x463aca
mov eax, dword [esi + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.0046f8a0
add esp, 0x10
mov ecx, esi
call fcn.00464350
mov bl, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x463b11
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
cmp ecx, eax
je 0x463b11
push ecx
call fcn.004ac7ec
add esp, 4
mov al, bl
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.004a35cb
mov esp, ebp
pop ebp
ret 8
Function at 0x463b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb1d6
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x57b070]
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 esi, ecx
mov edi, dword [ebp + 8]
call fcn.00463200
test al, al
lea eax, [esi + 0xc]
je 0x463bf2
cmp byte [esi + 0x11c], 0
jne 0x463b8b
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x138]
push eax
call fcn.00462ac0
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 0
push eax
push 0x55eff4
mov ecx, edi
call fcn.00464450
mov ecx, eax
call fcn.004646f0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x463bee
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x463bee
push eax
call fcn.004ac7ec
add esp, 4
xor al, al
jmp 0x463c6d
cmp byte [esi + 0x11c], 0
jne 0x463bfe
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x463c1a
shr eax, 4
not al
and al, 1
je 0x463c1a
mov al, 1
jmp 0x463c6d
push ecx
lea ecx, [ebp - 0x490]
call fcn.0046cdb0
push 1
push esi
push edi
lea ecx, [ebp - 0x490]
mov dword [ebp - 4], 2
call fcn.0046cf10
test al, al
jne 0x463c5e
mov ecx, edi
call fcn.00464450
push 0x55efe4
push 0x558df8
push eax
call fcn.004623d0
add esp, 0xc
xor bl, bl
jmp 0x463c60
mov bl, 1
lea ecx, [ebp - 0x490]
call fcn.0046ce50
mov al, bl
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.004a35cb
mov esp, ebp
pop ebp
ret 8
Function at 0x4667d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x58f4bc]
push ebx
mov ebx, dword [ebp + 8]
test al, 1
jne 0x46680f
or eax, 1
mov ecx, 0x58f4c0
mov dword [0x58f4bc], eax
call fcn.00461c60
push 0x4ffcd0
call fcn.004a3ba1
add esp, 4
cmp byte [0x58ed68], 0
jne 0x466988
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x466981
push edi
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x41c], 0
push 0
push eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x418], 0
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x466980
push esi
push edi
call fcn.004b12a2
mov esi, eax
add esp, 4
test esi, esi
je 0x46697f
push esi
push edi
push dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x466976
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x420]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x466976
cmp dword [ebp - 0x418], 4
jb 0x466976
mov ecx, dword [ebp - 0x420]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x414]
push str.StringFileInfo_04x_04xCompanyName
push eax
call fcn.00468ee0
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
call edi
test eax, eax
je 0x466976
mov eax, dword [ebp - 0x418]
cmp eax, 2
jbe 0x466976
mov ecx, dword [ebp - 0x424]
cmp word [ecx + eax*2 - 2], 0
jne 0x46696a
push ecx
mov ecx, 0x58f4c0
call fcn.00461ed0
jmp 0x466976
push eax
push ecx
mov ecx, 0x58f4c0
call fcn.00461f40
push esi
call fcn.004ac7ec
add esp, 4
pop esi
pop edi
mov byte [0x58ed68], 1
cmp byte [0x58f5dc], 0
mov eax, 0x58f4cc
mov ecx, ebx
cmove eax, dword [0x58f4c8]
add eax, 4
push eax
call fcn.00461ed0
mov ecx, dword [ebp - 4]
mov al, byte [0x58ed68]
xor ecx, ebp
pop ebx
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 4
Function at 0x4694a0
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x92c
mov eax, dword [0x57b070]
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, ecx
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x934]
call fcn.00462ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x928]
cmp byte [ebp - 0x818], 0
cmove eax, dword [ebp - 0x92c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 0xffffffff
je 0x469523
shr eax, 4
not al
and al, 1
jne 0x469647
lea ecx, [ebp - 0x934]
call fcn.00463200
test al, al
jne 0x469539
xor esi, esi
jmp 0x469650
push edi
lea eax, [ebp - 0x810]
push str._s.
push eax
call fcn.004472f0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x58f968
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469647
nop dword [eax + eax]
mov edx, 0x5570a0
mov ecx, 0x58f994
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4695a6
test ax, ax
je 0x4695a2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4695a6
add ecx, 4
add edx, 4
test ax, ax
jne 0x469580
xor eax, eax
jmp 0x4695ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x46962c
mov eax, 0x556974
mov ecx, 0x58f994
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4695e6
test dx, dx
je 0x4695e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4695e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4695c0
xor eax, eax
jmp 0x4695eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x46962c
push 0x58f994
push edi
lea eax, [ebp - 0x810]
push 0x5570a4
push eax
call fcn.004472f0
add esp, 0x10
test byte [0x58f968], 0x10
je 0x46961f
lea ecx, [ebp - 0x810]
call fcn.004694a0
jmp 0x46962c
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call ebx
push 0x58f968
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x469570
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 4
push 0
push edi
call ebx
mov esi, eax
cmp byte [ebp - 0x818], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x46967c
mov eax, dword [ebp - 0x92c]
lea ecx, [ebp - 0x928]
cmp eax, ecx
je 0x46967c
push eax
call fcn.004ac7ec
add esp, 4
mov eax, esi
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.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x469760
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb741
mov eax, dword fs:[0]
push eax
sub esp, 0xa58
mov eax, dword [0x57b070]
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, ecx
call fcn.004696a0
test al, al
jne 0x4697a0
xor eax, eax
jmp 0x4699a4
xor esi, esi
lea ecx, [ebp - 0x934]
push esi
push esi
push esi
push esi
push esi
push edi
call fcn.00462ac0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x928]
cmp byte [ebp - 0x818], 0
cmove eax, dword [ebp - 0x92c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x469860
shr eax, 4
not al
and al, 1
je 0x469860
push esi
push esi
push esi
push esi
push esi
push edi
lea ecx, [ebp - 0xa58]
call fcn.00462ac0
mov byte [ebp - 0xa60], 0
mov dword [ebp - 0xa64], esi
push esi
push esi
lea eax, [ebp - 0xa64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa58]
call fcn.00463480
lea ecx, [ebp - 0xa64]
call fcn.004643f0
cmp byte [ebp - 0x93c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x469976
mov eax, dword [ebp - 0xa50]
lea ecx, [ebp - 0xa4c]
cmp eax, ecx
je 0x469976
push eax
call fcn.004ac7ec
add esp, 4
jmp 0x469976
lea ecx, [ebp - 0x934]
call fcn.00463200
test al, al
jne 0x469876
xor esi, esi
jmp 0x469976
push edi
lea eax, [ebp - 0x810]
push str._s.
push eax
call fcn.004472f0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x58f5e8
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46996d
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov edx, 0x5570a0
mov ecx, 0x58f614
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4698e6
test ax, ax
je 0x4698e2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4698e6
add ecx, 4
add edx, 4
test ax, ax
jne 0x4698c0
xor eax, eax
jmp 0x4698eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x469956
mov ecx, 0x556974
mov eax, 0x58f614
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x469926
test dx, dx
je 0x469922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x469926
add eax, 4
add ecx, 4
test dx, dx
jne 0x469900
xor eax, eax
jmp 0x46992b
sbb eax, eax
or eax, 1
test eax, eax
je 0x469956
push 0x58f614
push edi
lea eax, [ebp - 0x810]
push 0x5570a4
push eax
call fcn.004472f0
add esp, 0x10
lea ecx, [ebp - 0x810]
mov dl, 1
call fcn.00469760
push 0x58f5e8
push esi
call ebx
test eax, eax
jne 0x4698b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
cmp byte [ebp - 0x818], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4699a2
mov eax, dword [ebp - 0x92c]
lea ecx, [ebp - 0x928]
cmp eax, ecx
je 0x4699a2
push eax
call fcn.004ac7ec
add esp, 4
mov eax, esi
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.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x4699d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
mov edi, edx
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x469a10
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004b12a2
add esp, 4
mov esi, eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x469a91
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5528b0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x469a91
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx eax, word [ecx + 0xa]
mov word [edi], ax
movzx eax, word [ecx + 8]
mov word [edi + 2], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 4], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 6], ax
test edx, edx
je 0x469a8f
movzx eax, word [ecx + 0x12]
mov word [edx], ax
movzx eax, word [ecx + 0x10]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x16]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x14]
mov word [edx + 6], ax
mov bl, 1
test esi, esi
je 0x469a9e
push esi
call fcn.004ac7ec
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x469b07
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret
push 0x55a3ac
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004b2db6
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x20c]
call fcn.004699d0
add esp, 0x10
test al, al
je 0x469af5
movzx eax, word [ebp - 0x214]
mov dword [edi + 4], eax
movzx eax, word [ebp - 0x212]
mov dword [edi + 8], eax
movzx eax, word [ebp - 0x210]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi], 0x114
mov dword [edi + 0x10], 2
mov word [edi + 0x14], ax
test esi, esi
je 0x469ba2
movzx eax, word [ebp - 0x21c]
mov dword [esi + 4], eax
movzx eax, word [ebp - 0x21a]
mov dword [esi + 8], eax
movzx eax, word [ebp - 0x218]
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], ax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x46c9e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
mov edi, edx
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x46ca20
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004b12a2
add esp, 4
mov esi, eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x46ca7b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5528b0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x46ca7b
mov ecx, dword [ebp - 8]
mov bl, 1
movzx eax, word [ecx + 0xa]
mov word [edi], ax
movzx eax, word [ecx + 8]
mov word [edi + 2], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 4], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 6], ax
test esi, esi
je 0x46ca88
push esi
call fcn.004ac7ec
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret