Function at 0x100443a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jb 0x100443df
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push str._d._d._d._d
push eax
call fcn.10008eb0
mov eax, dword [ebp - 0x2c]
shl eax, 0x10
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
shl eax, 0x10
add eax, dword [ebp - 0x38]
push 0x1025abd4
push 0x4000
mov dword [ebp - 0x24], eax
call fcn.101e2340
mov edi, eax
add esp, 0x20
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x10044568
mov ecx, dword [esi]
mov esi, dword [ecx]
cmp esi, ecx
je 0x1004455f
push ebx
mov edi, edi
push 0x4000
push 0
push edi
call fcn.102134e7
lea eax, [esi + 8]
push 0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10042a60
add esp, 0x18
lea eax, [ebp - 0x1c]
xor bl, bl
cmp dword [ebp - 8], 8
jb 0x1004446d
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je case.default.0x100444c5
cmp eax, 0x4000
jae case.default.0x100444c5
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
jb 0x1004448e
mov ecx, dword [ebp - 0x1c]
push edi
push eax
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je case.default.0x100444c5
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10219e0c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je case.default.0x100444c5
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
movzx eax, byte [ebp + 0xc]
cmp eax, 3
ja case.default.0x100444c5
jmp dword [eax*4 + 0x100445ac]
cmp edx, dword [ebp - 0x24]
jne 0x100444d6
cmp ecx, dword [ebp - 0x28]
je 0x10044516
xor bl, bl
mov ecx, dword [esi]
mov edi, ecx
test bl, bl
jne 0x10044518
mov eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [ebx + 4]
push eax
push ebx
call fcn.100218c0
push 0x20
push esi
call fcn.102134ff
add esp, 0x10
jmp 0x1004451b
cmp ecx, dword [ebp - 0x28]
jl 0x100444d6
jg 0x10044516
cmp edx, dword [ebp - 0x24]
jb 0x100444d6
mov edi, dword [esi]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10044551
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10044547
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100445a5
push edx
push ecx
call fcn.102134ff
add esp, 8
cmp edi, dword [ebx]
mov esi, edi
mov edi, dword [ebp - 0x3c]
jne 0x10044440
pop ebx
push edi
call fcn.10213517
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
cmp ecx, dword [ebp - 0x28]
jg 0x100444d6
jl 0x10044516
cmp edx, dword [ebp - 0x24]
ja 0x100444d6
jmp 0x10044516
cmp edx, dword [ebp - 0x24]
jne 0x10044516
cmp ecx, dword [ebp - 0x28]
jne 0x10044516
mov edi, dword [esi]
mov ecx, edi
jmp 0x100444e0
call fcn.10200ab0
mov edi, edi
int3