Function at 0x2438c0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x2bea08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2da130]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x1c], edi
call fcn.0028cc1d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x24390b
push 0x80004005
call fcn.002418a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2ca3d8
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
call fcn.002410d0
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [esp + 0x14]
mov ebx, eax
cmp ebx, edi
jne 0x243987
add esi, 0xfffffff0
push esi
call fcn.00241a00
add eax, 0x10
add esp, 4
mov dword [ebp], eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x243971
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x2439ad
push 0x105
lea ecx, [esp + 0x18]
call fcn.00241660
mov esi, dword [esp + 0x14]
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.002a1b8f
add esp, 8
cmp eax, edi
jl 0x243b68
cmp eax, dword [esi - 8]
jg 0x243b68
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x243a03
push edx
lea ecx, [esp + 0x18]
call fcn.00241660
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, edi
je 0x243abe
push 1
push ebx
call fcn.002a1bae
mov edx, dword [esi - 0xc]
mov edi, eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
add esp, 8
or eax, ecx
jge 0x243a47
push edx
lea ecx, [esp + 0x18]
call fcn.00241660
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ebx
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x243a9c
push edi
call fcn.002a1bee
add esp, 4
push 0x2ca3d8
lea ecx, [esp + 0x18]
call fcn.002410d0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00241a00
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x243af7
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x2c9d90
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x243b0c
push edi
call fcn.002a1bee
add esp, 4
push 0x2ca3d8
lea ecx, [esp + 0x18]
call fcn.002410d0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00241a00
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x243971
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x243971
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
lea ecx, [esp + 0x24]
push 0x2c9d94
push ecx
call fcn.002414a0
push edi
call fcn.002a1bee
mov esi, dword [esp + 0x30]
add esi, 0xfffffff0
push esi
call fcn.00241a00
add eax, 0x10
mov dword [ebp], eax
add esp, 0x20
mov dword [esp + 0x2c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x243af7
push 0x80070057
call fcn.002418a0
int3