Function at 0x10001c00
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x1000f620
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10037030]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x40c]
mov edi, edx
lea edx, [ebp - 0x24]
push edx
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x10001c61
xor eax, eax
jmp 0x10001eda
push esi
call fcn.10004896
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x10001c5a
push ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10001cad
push 0x100351d8
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], eax
call fcn.1000b098
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1000576d
add esp, 4
mov eax, 0x10001c5a
ret
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x10034490
push ebx
call sub.VERSION.dll_VerQueryValueA
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x1c], 0
call esi
mov edx, dword [ebp - 0x18]
movzx ecx, ax
mov eax, dword [ebp - 0x14]
add edx, eax
lea ecx, [ecx]
cmp eax, edx
jae 0x10001cfe
cmp word [eax], cx
je 0x10001d47
add eax, 4
jmp 0x10001cf0
push 1
call esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
call fcn.100019a0
add esp, 4
test eax, eax
jne 0x10001d4b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 1
call fcn.100019a0
add esp, 4
test eax, eax
jne 0x10001d4b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 1
mov eax, 9
call fcn.100019a0
add esp, 4
test eax, eax
jne 0x10001d4b
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
jmp 0x10001d4e
mov esi, dword [ebp - 0x1c]
push 0x1ff
lea ecx, [ebp + 0x201]
push 0
push ecx
mov byte [ebp + 0x200], 0
call fcn.10006cb0
mov edi, esi
push str.CompanyName
shr edi, 0x10
push edi
and esi, 0xffff
push esi
push str.StringFileInfo_04X_04X_s
lea edx, [ebp + 0x200]
call fcn.100047b0
add esp, 0x1c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x200]
push ecx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001db9
mov eax, dword [ebp - 0x14]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001db0
push 0x100344d8
push edi
push esi
lea edx, [ebp + 0x200]
push str.StringFileInfo_04X_04X_s
push edx
call fcn.100056f2
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x200]
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001df9
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001df0
push 0x100344e8
push edi
push esi
push str.StringFileInfo_04X_04X_s
lea edx, [ebp + 0x200]
call fcn.100047b0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x200]
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001e40
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10001e34
push str.OriginalFileName
push edi
push esi
push str.StringFileInfo_04X_04X_s
lea edx, [ebp + 0x200]
call fcn.100047b0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x200]
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001e7f
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001e76
push 0x1003450c
push edi
push esi
push str.StringFileInfo_04X_04X_s
lea edx, [ebp + 0x200]
call fcn.100047b0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x200]
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001ecc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10001ec0
push ebx
call fcn.1000576d
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.10004dbe
add ebp, 0x404
mov esp, ebp
pop ebp
ret