Function at 0x10026300
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1003a126
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x478]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push ebx
push 0x1003f364
lea esi, [esp + 0x24]
mov edi, ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.100031f0
push 0x206
lea eax, [esp + 0x5a]
push ebx
mov dword [esp + 0x478], ebx
push eax
mov word [esp + 0x60], bx
call fcn.1002fb20
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x54]
push 0x5c
push edx
call fcn.1002cb34
add esp, 8
cmp eax, ebx
jne 0x100263dc
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x1003e124
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10002fc0
cmp dword [esp + 0x34], 8
jb 0x100265a0
mov eax, dword [esp + 0x20]
push eax
jmp 0x10026598
push 0x206
lea ecx, [esp + 0x262]
push ebx
mov word [eax], bx
push ecx
mov word [esp + 0x268], bx
call fcn.1002fb20
push edi
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x270]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push ebx
lea ecx, [esp + 0x260]
push ecx
mov dword [esp + 0x20], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x100264bb
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002b25a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10026436
push esi
push edi
push ebx
lea eax, [esp + 0x268]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100264b2
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x1003f190
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100264b2
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0x16]
movzx edx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push edx
push eax
push str._d._d._d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
call fcn.10002c60
push esi
call fcn.1002b322
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x470], 1
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x100264e2
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.1002b25a
add esp, 4
cmp dword [esp + 0x34], 8
mov esi, eax
mov eax, dword [esp + 0x20]
jae 0x10026513
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ebx
push ebx
push edi
push esi
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, esi
mov byte [esi + edi], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10026530
sub eax, edx
push eax
push esi
lea eax, [esp + 0x40]
call fcn.10015ee0
push esi
call fcn.1002b322
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
mov esi, 0xf
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push edx
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10002de0
cmp dword [esp + 0x50], 0x10
jb 0x10026580
mov eax, dword [esp + 0x3c]
push eax
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x34], 8
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x100265a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002b322
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.1002b6af
add esp, 0x460
ret 4