Function at 0x4342d0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file size
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488a7a
mov eax, dword fs:[0]
push eax
sub esp, 0x154
push ebx
push esi
push edi
mov eax, dword [0x4ab4ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004341c0
mov byte [ebp - 4], 1
lea edi, [esi + 0x18]
mov ecx, 7
xor eax, eax
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
mov byte [ebp - 4], 2
lea ebx, [esi + 0x34]
xor edx, edx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov word [ebx + 4], dx
mov byte [ebp - 4], 3
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov word [esi + 0x58], dx
mov byte [ebp - 4], 4
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], eax
mov word [esi + 0x74], dx
mov byte [ebp - 4], 5
mov dword [esi + 0xa4], ecx
xor ecx, ecx
mov dword [esi + 0xa0], eax
mov word [esi + 0x90], cx
mov byte [ebp - 4], 6
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov al, byte [ebp + 0x24]
mov byte [esi + 0x50], al
test al, al
je 0x43438f
call fcn.00431bc0
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x43439b
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434754
push 0xffffffffffffffff
push 0
lea edx, [ebp + 8]
push edx
mov ecx, edi
call fcn.00404f40
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4343c5
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x10], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4343d4
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00405130
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4343f9
lea eax, [ebp + 0xc]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x18], 8
jb 0x43443f
mov eax, dword [edi + 4]
jmp 0x434442
lea eax, [edi + 4]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4346cc
push ebx
call fcn.0043c457
add esp, 4
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x10], eax
jb 0x43446b
mov edi, dword [edi + 4]
jmp 0x43446e
add edi, 4
push eax
push ebx
xor ebx, ebx
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x434671
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0x48e858
push edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x434644
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
mov dword [ebp - 0x60], ecx
movzx ecx, word [eax + 8]
mov dword [ebp - 0x58], edx
movzx edx, word [eax + 0xa]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x160]
push ecx
mov dword [ebp - 0x54], edx
call fcn.00434270
mov edi, eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00434270
mov ebx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.00434270
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00434270
mov byte [ebp - 4], 0xa
push 0x48e874
push eax
lea edx, [ebp - 0x9c]
push edx
call fcn.004059f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x144]
push edx
call fcn.00406120
mov byte [ebp - 4], 0xc
push 0x48e874
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004059f0
add esp, 0x44
mov byte [ebp - 4], 0xd
push ebx
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00406120
mov byte [ebp - 4], 0xe
push 0x48e874
push eax
lea edx, [ebp - 0x10c]
push edx
call fcn.004059f0
mov byte [ebp - 4], 0xf
push edi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00406120
add esp, 0x24
mov bl, 0x10
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.004372e0
mov byte [ebp - 4], 0x11
push eax
mov ecx, esi
call fcn.00436a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00407b60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c]
call fcn.00403ac0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10c]
call fcn.00403ac0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
call fcn.00403ac0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.00403ac0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x144]
call fcn.00403ac0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c]
call fcn.00403ac0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb8]
call fcn.00403ac0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
call fcn.00403ac0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call fcn.00403ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
jmp 0x4346b6
push str.FILE
lea ecx, [ebp - 0x30]
call fcn.00405d80
mov bl, 0x12
mov byte [ebp - 4], bl
push str.Failed_to_get_file_version.
lea ecx, [ebp - 0x4c]
call fcn.00405d80
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push edx
jmp 0x43469c
push str.FILE
lea ecx, [ebp - 0x30]
call fcn.00405d80
mov bl, 0x14
mov byte [ebp - 4], bl
push str.Failed_to_get_file_version_information.
lea ecx, [ebp - 0x4c]
call fcn.00405d80
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0041d4f0
add esp, 8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.00403ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00403ac0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00457575
add esp, 4
jmp 0x4347e1
push str.FILE
lea ecx, [ebp - 0x4c]
call fcn.00405d80
mov bl, 0x16
mov byte [ebp - 4], bl
push str.Failed_to_get_size_of_file_version_information.
lea ecx, [ebp - 0x30]
call fcn.00405d80
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041d4f0
add esp, 8
mov byte [ebp - 4], bl
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x434718
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00456b63
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x34], ebx
jb 0x43473f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00456b63
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
jmp 0x4347e1
push 4
xor eax, eax
mov edi, 7
xor ebx, ebx
push str.FILE
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00405130
mov byte [ebp - 4], 0x18
push str._not_found.
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.004059f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0041d4f0
add esp, 0x14
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x34], 8
jb 0x4347b3
mov edx, dword [ebp - 0x48]
push edx
call fcn.00456b63
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
jb 0x4347d5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00456b63
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp byte [esi + 0x50], 0
je 0x4347ec
call fcn.0042bb90
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 8
jb 0x434805
mov eax, dword [ebp + 0xc]
push eax
call fcn.00456b63
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], cx
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 0x20