Function at 0x404cd0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x1278
call fcn.004b7ac0
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x1274], eax
mov eax, dword [esp + 0x1280]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1288]
xor ebx, ebx
push 0x257
lea ecx, [esp + 0x2d]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x34], bl
call fcn.004b6dc0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x404d32
xor eax, eax
jmp 0x404ff2
push ebp
push esi
call fcn.004b7c73
add esp, 4
mov ebp, eax
push ebp
push esi
push ebx
push edi
mov dword [esp + 0x2c], ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404d71
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x50d24c
call fcn.00404690
add esp, 4
push eax
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x404d85
cmp ebp, ebx
je 0x404d7e
push ebp
call fcn.004b722a
add esp, 4
xor eax, eax
jmp 0x404ff1
push 0xfff
lea edx, [esp + 0x289]
push ebx
push edx
mov byte [esp + 0x290], bl
call fcn.004b6dc0
push 0x50d23c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.00404690
add esp, 0x10
lea edx, [esp + 0x2c]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404db8
push 0x50d228
call fcn.00404690
add esp, 4
lea edx, [esp + 0x5e]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404dd3
push 0x50d218
call fcn.00404690
add esp, 4
lea edx, [esp + 0x90]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404df1
push 0x50d208
call fcn.00404690
add esp, 4
lea edx, [esp + 0xc2]
nop
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404e10
push 0x50d1f4
call fcn.00404690
add esp, 4
lea edx, [esp + 0xf4]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404e30
push 0x50d1e0
call fcn.00404690
add esp, 4
lea edx, [esp + 0x126]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404e50
push 0x50d1cc
call fcn.00404690
add esp, 4
lea edx, [esp + 0x158]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404e70
push 0x50d1b8
call fcn.00404690
add esp, 4
lea edx, [esp + 0x18a]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404e90
push 0x50d1a4
call fcn.00404690
add esp, 4
lea edx, [esp + 0x1bc]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404eb0
push 0x50d194
call fcn.00404690
add esp, 4
lea edx, [esp + 0x1ee]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404ed0
push 0x50d17c
call fcn.00404690
add esp, 4
lea edx, [esp + 0x220]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404ef0
push 0x50d168
call fcn.00404690
add esp, 4
lea edx, [esp + 0x252]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x404f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
lea edi, [esp + 0x2c]
jmp 0x404f30
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push edi
push ecx
push edx
push 0x50d148
call fcn.00404690
add esp, 4
push eax
lea eax, [esp + 0x294]
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28c]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x404fb2
mov eax, 0x50d147
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404f85
sub eax, edx
inc eax
push eax
call fcn.004b7c73
mov edx, dword [esp + 0x18]
mov dword [edx + esi*4], eax
add esp, 4
mov ecx, 0x50d147
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x404fa6
jmp 0x404fd2
push eax
call fcn.004b7c73
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.004b6e40
add esp, 0x10
inc esi
add edi, 0x32
cmp esi, 0xb
jbe 0x404f30
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b722a
add esp, 4
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x1280]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x1278
ret 8