Function at 0x1002a240
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ad00
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1008b008]
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 dword [ebp - 0x28], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
push str.Version.dll
mov dword [ebp - 0x34], eax
call fcn.100028f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.10030850
mov ecx, eax
call fcn.10030910
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100028eb
test esi, esi
je 0x1002a462
push 0x1007ea08
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1002a462
push str.Version.dll
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x1d], 0
call fcn.100028f0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
call fcn.10030850
mov ecx, eax
call fcn.10030910
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100028eb
test edi, edi
je 0x1002a45d
push str.GetFileVersionInfoExW
push edi
call esi
push str.GetFileVersionInfoSizeExW
push edi
mov dword [ebp - 0x1c], eax
call esi
cmp dword [ebp - 0x1c], 0
mov ebx, eax
je 0x1002a390
test ebx, ebx
je 0x1002a390
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0
call fcn.100028e0
push eax
push 0
call ebx
mov edi, eax
test edi, edi
je 0x1002a45d
push edi
push 1
call fcn.1004c0ee
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
push esi
push edi
push dword [ebp - 0x18]
call fcn.100028e0
push eax
push 0
call dword [ebp - 0x1c]
test eax, eax
jne 0x1002a3f0
push esi
call fcn.1004e94a
mov al, byte [ebp - 0x1d]
add esp, 4
jmp 0x1002a464
push 0x1007e9dc
push edi
call esi
push 0x1007e9f0
mov ebx, eax
push edi
mov dword [ebp - 0x1c], ebx
call esi
mov esi, eax
test ebx, ebx
je 0x1002a45d
test esi, esi
je 0x1002a45d
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
push 0
call fcn.100028e0
push eax
call esi
mov edi, eax
test edi, edi
je 0x1002a45d
push edi
push 1
call fcn.1004c0ee
add esp, 8
mov esi, eax
mov ecx, ebx
push esi
push edi
push 0
call fcn.100028e0
push eax
call dword [ebp - 0x1c]
test eax, eax
je 0x1002a454
test esi, esi
je 0x1002a45d
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x1007a958
push esi
call dword [ebp - 0x24]
test eax, eax
je 0x1002a454
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1002a454
cmp dword [ebp - 0x14], 0
jbe 0x1002a454
cmp dword [ecx], 0xfeef04bd
jne 0x1002a454
movzx eax, word [ecx + 0xa]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
push esi
call fcn.1004e94a
add esp, 4
mov al, byte [ebp - 0x1d]
jmp 0x1002a464
xor al, al
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.10045825
mov esp, ebp
pop ebp
ret