Function at 0x100013c0
Capabilities:
Get file version info
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [esp + 0x88], eax
cmp dword [ebp + 0xc], 0
je 0x10001527
mov eax, dword [ebp + 8]
xor ecx, ecx
lea edx, [esp + 0x60]
mov dword [edx + 8], ecx
mov dword [edx + 4], ecx
mov dword [edx + 0xc], ecx
mov dword [edx], eax
mov ebx, edx
xor edi, edi
dec edi
lea esi, [esp + 0x30]
mov dword [esi + 0x20], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ecx, esi
call fcn.100022d8
lea ecx, [esp + 0x3c]
call fcn.100022d8
lea ecx, [esp + 0x48]
call fcn.100022d8
push esi
push ebx
call fcn.10001de8
add esp, 8
lea ecx, [esp + 0x24]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.100022d8
lea ebx, [esp + 0x18]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov ecx, ebx
call fcn.100022d8
lea esi, [esp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
call fcn.100022d8
lea eax, [esp + 0x60]
mov ecx, dword [eax]
test ecx, ecx
je 0x10001498
cmp word [ecx], 0
je 0x10001498
lea edx, [esp + 0x24]
call fcn.100010bb
test eax, eax
je 0x10001546
mov ebx, eax
xor eax, eax
mov edi, dword [ebp + 0xc]
jmp 0x100014ed
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x24]
push esi
push ebx
call fcn.10001647
add esp, 8
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
test ebx, ebx
jne 0x100014ed
cmp dword [esp + 0xc], 0
je 0x100014db
lea esi, [esp + 0x18]
mov ecx, esi
push 0x100151f8
call fcn.10002494
mov ecx, esi
push dword [esp + 0xc]
push dword [esp + 0x18]
call fcn.100024be
xor ebx, ebx
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.10002524
add esp, 8
mov dword [edi], eax
lea ecx, [esp + 0xc]
call fcn.100022ea
lea ecx, [esp + 0x18]
call fcn.100022ea
lea ecx, [esp + 0x24]
call fcn.100022ea
lea ecx, [esp + 0x48]
call fcn.100022ea
lea ecx, [esp + 0x3c]
call fcn.100022ea
lea ecx, [esp + 0x30]
call fcn.100022ea
jmp 0x1000152c
mov ebx, 0x80004003
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.100028bc
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x84]
mov dword [eax], 0
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1000160c
mov ebx, eax
mov dword [esp + 8], esi
lea esi, [esp + 0x78]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
call fcn.100022d8
mov eax, ebx
shr eax, 1
inc eax
mov ecx, esi
push eax
call fcn.10002340
test al, al
je 0x100015ea
push dword [esp + 0x80]
push ebx
push dword [esp + 0x8c]
push dword [esp + 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100015ea
xor eax, eax
lea ecx, [esp + 0x74]
mov dword [ecx], eax
lea edx, [esp + 0x70]
mov dword [edx], eax
push edx
push ecx
push 0x100151a8
push dword [esp + 0x8c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edi, dword [ebp + 0xc]
je 0x10001625
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10001625
lea ecx, [esp + 0x18]
push eax
call fcn.100023c2
xor ebx, ebx
jmp 0x10001639
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea ecx, [esp + 0x78]
call fcn.100022ea
jmp 0x100014ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100014ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea ecx, [esp + 0x78]
call fcn.100022ea
jmp 0x100014af