joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004ac50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004ae1d
pushal
mov esi, section.sect_1
lea edi, [esi - 0x31000]
push edi
or ebp, 0xffffffff
jmp 0x1004ac7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1004ac81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004ac70
mov eax, 1
add ebx, ebx
jne 0x1004ac93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1004ac88
jne 0x1004aca4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1004ac88
xor ecx, ecx
sub eax, 3
jb 0x1004acb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004ad2a
mov ebp, eax
add ebx, ebx
jne 0x1004acc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1004acd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1004acf4
inc ecx
add ebx, ebx
jne 0x1004ace0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1004acd5
jne 0x1004acf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1004acd5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1004ad14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1004ad05
jmp 0x1004ac76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1004ad14
add edi, ecx
jmp 0x1004ac76
pop esi
mov edi, esi
mov ecx, 0x115a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1004ad32
cmp byte [edi], 9
jne 0x1004ad32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1004ad37
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x1004adaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4adf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4ae94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1004ad64
mov ecx, edi
jns 0x1004ad93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4ae98]
or eax, eax
je 0x1004ada9
mov dword [ebx], eax
add ebx, 4
jmp 0x1004ad81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1004ade0
cmp al, 0xef
ja 0x1004add3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1004adb5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1004adc2
mov ebp, dword [esi + 0x4ae9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1004ae14
sub esp, 0xffffff80
jmp 0x100146ff
Function at 0x41a470
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov ecx, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x41a6b2
cmp dword [0x4e9cb0], 0xe69e32f3
jne 0x41a6b5
mov edx, dword [ecx + 8]
lea esi, [edx + 0x1c8]
mov byte [esp + 0xf], 0xff
cmp byte [ecx + 3], 0
mov eax, esi
jne 0x41a4fd
lea ecx, [edx + 0xc7]
mov eax, esi
cmp ecx, 0x7fefe
ja 0x41a4fd
xor ecx, ecx
cmp esi, 1
sbb ecx, ecx
or ecx, 0x20
add edx, 0x1c7
je 0x41a4e2
bsr eax, edx
xor eax, 0x1f
jmp 0x41a4e7
mov eax, 0x20
sub ecx, eax
xor edx, edx
inc edx
shl edx, cl
mov eax, edx
shr eax, 1
lea eax, [eax + eax*4]
shr eax, 2
cmp eax, esi
cmovb eax, edx
mov dword [esp + 4], esi
mov edx, 0x20
mov ecx, 0x20
test eax, eax
je 0x41a515
bsr ecx, eax
xor ecx, 0x1f
sub edx, ecx
mov cl, byte [edx + 0x4d6cc0]
mov esi, eax
shr esi, cl
and esi, 3
and eax, dword [edx*4 + 0x4d6ce4]
lea ecx, [esi + edx*4]
cmp eax, 1
sbb ecx, 0xffffffff
movzx edi, word [ecx + ecx + 0x4d6bb4]
shl edi, 5
mov eax, dword [ebp + 8]
lea ebx, [eax + edi]
add ebx, 0x48
lea esi, [eax + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x41a55d
mov ecx, esi
call fcn.0044d0a0
mov dword [esp + 8], esi
mov eax, dword [ebx]
mov esi, dword [eax]
test esi, esi
je 0x41a630
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x41a5a6
mov edx, dword [ebp + 8]
mov ebx, dword [edx + edi + 0x54]
mov edi, edx
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x41a681
mov edx, ecx
and edx, 0x1fc000
je 0x41a681
prefetcht0 byte [ecx]
jmp 0x41a5ab
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x8fc]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x900]
mov dword [edi + 0x8fc], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x900], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.0044d450
push esi
push dword [0x4f80cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x4ebde8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x90], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.0046f8c3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, ebx
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.0044bde0
test eax, eax
je 0x41a6ab
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x41a5c4
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push dword [esi]
push 0x4d6a98
call fcn.0049b320
push edi
call fcn.0044b460
add esp, 4
mov ecx, ebx
call fcn.0049b410
xor esi, esi
jmp 0x41a5e7
int3
int3
Function at 0x41a720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x41a737
test eax, eax
je 0x41a737
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x41a745
mov ecx, dword [0x4f810c]
test ecx, ecx
jne 0x41a781
cmp dword [0x4f8104], 0
je 0x41a731
mov esi, dword [0x4f8108]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x41a78b
test esi, esi
je 0x41a731
mov ecx, dword [0x4f8104]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x41a731
call dword [section..00cfg]
call ecx
jmp 0x41a745
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41a769
Function at 0x41cd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x422b00
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x41cdd1
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00450820
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x4f8654
call fcn.00451190
mov esi, eax
mov edi, dword [ebp - 0x30]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x41ce23
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
test al, al
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmovs esi, edx
test esi, esi
je 0x41cef9
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], 0
je 0x41cec9
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
movzx esi, al
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x41ced2
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], edx
mov byte [ecx], al
xor edi, edi
cmp esi, 0xffffffff
je 0x41cea0
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x24]
inc ebx
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
movzx edi, al
cmovs edi, edx
add edi, esi
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x41ce72
jmp 0x41cef9
mov dword [ebp - 0x20], 0
jmp 0x41ceac
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call edi
mov esi, eax
jmp 0x41ce96
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x41cf11
push ecx
call fcn.0046ecdd
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x41cdc7
Function at 0x424c30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4f8d18]
test ebx, ebx
jne 0x424ca8
push 0x24
call fcn.0046ecad
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.0046ecad
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x4f8d18], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x424cb2
mov edi, eax
push eax
call fcn.00488da9
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00424cc0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x4298a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x18]
push 0x4c
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.00460cb0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push edi
call fcn.00460cf0
mov dword [esp + 0x14], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x42990d
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x429a64
mov ebx, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test ebx, ebx
js 0x429a98
push ebx
call fcn.0046ecad
add esp, 4
mov edi, eax
push ebx
push 0
push eax
call fcn.00472db0
add esp, 0xc
push edi
push ebx
push dword [esp + 0x1c]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x429a80
lea eax, [esp + 0x2c]
mov dword [eax], 0
lea ecx, [esp + 0x28]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429a80
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x429a80
add ebx, edi
push 0x1c
call fcn.0046ecad
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x4eec30]
xor edx, edx
bt ecx, eax
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
mov word [esp + 0x12], cx
movzx eax, word [eax + 2]
mov word [esp + 0xc], ax
mov dword [esi], fcn.00429e20
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
jae 0x429a6f
push edi
call fcn.0045abf0
add esp, 4
mov dword [esi + 0x10], edi
movzx eax, word [esp + 0x12]
mov word [esi + 0x14], ax
movzx eax, word [esp + 0xc]
mov word [esi + 0x16], ax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
push 0x4d999a
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429aa1
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
lea ecx, [esp + 0x30]
call fcn.00460d50
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0046f8c3
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x429a45
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x4f6c30], 1
jmp 0x4299fb
mov eax, dword [ebp + 8]
mov dword [eax], 0
test edi, edi
je 0x429a45
push edi
call fcn.0046ecdd
add esp, 4
jmp 0x429a45
lea ecx, [esp + 0x18]
call fcn.0049a950
int3
Function at 0x429b40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov ebx, ecx
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x230], eax
movzx edi, word [ecx + 0x16]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x222], ax
movzx eax, word [ebx + 0x16]
mov dword [ebp - 0x228], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x22c], eax
call esi
mov word [ebp - 0x224], ax
lea esi, [ebp - 0x218]
push 0x208
push 0xff
push esi
call fcn.00472db0
add esp, 0xc
mov eax, 0x104
push dword [ebp + 8]
push edi
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push esi
call fcn.00429dc0
add esp, 0x1c
lea eax, [ebp - 0x21c]
mov dword [eax], 0
lea ecx, [ebp - 0x220]
mov dword [ecx], 0xffffffff
push ecx
push eax
mov edi, esi
push esi
mov esi, ebx
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429c2f
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x429c2f
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x429c2f
mov ecx, dword [ebp + 0xc]
dec edx
push edx
push eax
call fcn.00457990
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x208
push 0xff
mov ebx, edi
push edi
call fcn.00472db0
add esp, 0xc
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push dword [ebp - 0x228]
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.00429dc0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429cb1
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x429cb1
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x429c09
push 0x208
push 0xff
mov ebx, edi
push edi
call fcn.00472db0
add esp, 0xc
mov eax, 0x104
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x22c]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.00429dc0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429d30
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x429d30
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x429c09
push 0x208
push 0xff
push edi
call fcn.00472db0
add esp, 0xc
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.00429dc0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429daf
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x429daf
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x429c09
xor ebx, ebx
jmp 0x429c16
Function at 0x429f70
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.00429f80
Function at 0x42a1d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x468], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x420]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x218]
push 0x183
push str..._.._base_files_file_util_win.cc
push 0x4d99f7
push eax
call fcn.00460cb0
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x218]
push 0
push esi
call fcn.00460cf0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.00472db0
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x42a260
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0045b510
add esp, 0xc
push esi
call fcn.0044b460
add esp, 4
lea esi, [esp + 0x10]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.00472db0
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x42a29c
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.0045b510
add esp, 0xc
push esi
call fcn.0044b460
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x42a2bf
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x42a2c9
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x4d99a0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x42a33e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00436590
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x42a304
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x42a30f
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x42a340
test eax, eax
jne 0x42a340
cmp dword [esp + 0xc], 0xfffffffc
jne 0x42a334
call fcn.004bd2a0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x42a340
mov bl, 1
lea ecx, [esp + 0x420]
call fcn.00460d50
mov ecx, dword [esp + 0x468]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1b6
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00460cb0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00460cf0
cmp byte [edi + 0xb], 0
jns 0x42a3d1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00460d50
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42a400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1de
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.00460cb0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00460cf0
cmp byte [edi + 0xb], 0
jns 0x42a461
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.00460d50
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42a4a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00472db0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x42a528
push ebx
call fcn.00488da9
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.00453970
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.004275a0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00453a50
mov ecx, ebx
call fcn.00453a30
mov ecx, edi
call fcn.00453a30
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42a550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00472db0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4d99b0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42a5cc
cmp word [ebp - 0x214], 0
je 0x42a5cc
push edi
call fcn.00488da9
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00453970
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046f8c3
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004538e0
push edi
call fcn.0042a4a0
add esp, 4
mov ecx, esi
test al, al
je 0x42a5fb
push edi
call fcn.00453940
jmp 0x42a607
push 3
push 0x4d9a20
call fcn.00453970
lea ecx, [ebp - 0x220]
call fcn.00453a30
jmp 0x42a5b6