Function at 0x10002800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100327c0
mov eax, dword fs:[0]
push eax
mov eax, 0x20038
call fcn.10019de0
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x20040], edi
mov esi, ecx
mov dword [ebp - 0x20030], esi
xor eax, eax
mov dword [ebp - 0x20028], 0
push eax
push 0x1003ee7c
lea ecx, [ebp - 0x20028]
mov dword [ebp - 0x20018], 0
xor bl, bl
mov dword [ebp - 0x20014], 7
mov word [ebp - 0x20028], ax
call fcn.10002cf0
push 0x7fff
lea eax, [ebp - 0x10010]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10002a6d
lea eax, [ebp - 0x10010]
push 0x5c
push eax
call fcn.1001a498
add esp, 8
test eax, eax
je 0x10002921
lea edx, [eax + 2]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100028c0
sub ecx, esi
sar ecx, 1
lea ecx, [ecx*2 + 2]
test ecx, ecx
je 0x1000291b
test edx, edx
jne 0x100028f0
call fcn.1001c894
mov dword [eax], 0x16
call fcn.1001c7ba
jmp 0x1000291b
cmp ecx, 0xfffe
jbe 0x1000290a
call fcn.1001c894
mov dword [eax], 0x22
call fcn.1001c7ba
jmp 0x1000291b
push ecx
push edx
lea eax, [ebp - 0x10010]
push eax
call fcn.1001aab0
add esp, 0xc
mov esi, dword [ebp - 0x20030]
lea ecx, [ebp - 0x10010]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002930
sub ecx, edx
lea eax, [ebp - 0x10010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20028]
call fcn.10002cf0
push edi
mov edx, esi
lea ecx, [ebp - 0x20028]
call fcn.10001f30
add esp, 4
mov bl, al
cmp dword [edi + 0x10], 0
mov byte [ebp - 0x20029], bl
jne 0x10002a6d
lea eax, [ebp - 0x20034]
push eax
lea eax, [ebp - 0x10010]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x10002ab0
push esi
call fcn.1001ea64
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20030], ebx
test ebx, ebx
je 0x10002aaa
push ebx
push esi
push dword [ebp - 0x20034]
lea eax, [ebp - 0x10010]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10002aa1
lea eax, [ebp - 0x20044]
push eax
lea eax, [ebp - 0x20038]
push eax
push 0x1003efbc
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10002aa1
mov eax, dword [ebp - 0x20038]
push dword [ebp - 0x20030]
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
mov dword [ebp - 0x2003c], ecx
call fcn.1001c5f3
mov eax, dword [ebp - 0x2003c]
push esi
push edi
push ebx
movzx eax, ax
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20010]
push 0x104
push eax
call fcn.10001eb0
add esp, 0x20
test eax, eax
jne 0x10002a67
lea edx, [ebp - 0x20010]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002a45
mov ecx, dword [ebp - 0x20040]
lea eax, [ebp - 0x20010]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.10002cf0
mov bl, byte [ebp - 0x20029]
mov edx, dword [ebp - 0x20014]
cmp edx, 8
jb 0x10002aca
mov ecx, dword [ebp - 0x20028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002ac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002ae8
jmp 0x10002ac0
push ebx
call fcn.1001c5f3
add esp, 4
mov bl, byte [ebp - 0x20029]
push 3
push 0x1003f030
mov ecx, edi
call fcn.10002cf0
jmp 0x10002a6d
push edx
push ecx
call fcn.10019349
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019013
mov esp, ebp
pop ebp
ret
call fcn.1001c7ca
int3