Function at 0x507960
Capabilities:
Get file version info

Disassembly:
sub esp, 0x200
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x204]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor edi, edi
xor ebp, ebp
test eax, eax
jne 0x5079b1
call fcn.0050c7f0
mov esi, dword [0x58dbbc]
mov eax, esi
mov cx, word [0x584d40]
and eax, 0x3ff
cmp cx, ax
je 0x5079c0
test cx, cx
je 0x5079c0
movzx esi, cx
jmp 0x5079b4
movzx esi, ax
or esi, 0x800
mov dword [0x58dbbc], esi
mov eax, esi
and eax, 0x3ff
cmp eax, 9
je 0x507cbd
push 0x104
call fcn.00537658
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x507c0e
push esi
call fcn.0050c6a0
mov esi, eax
test esi, esi
je 0x507c0e
push 0x104
push ebx
push dword [0x58f6ac]
call dword [0x57e264]
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x507a10
sub ecx, edx
add ecx, ebx
jmp 0x507a20
dec ecx
cmp byte [ecx], 0x2e
jne 0x507a20
mov byte [ecx + 1], 0x6c
mov edi, ecx
movzx eax, byte [esi]
mov byte [ecx + 2], al
movzx eax, byte [esi + 1]
mov byte [ecx + 3], al
mov byte [ecx + 4], 0
lea ecx, [ecx]
dec edi
cmp byte [edi], 0x5c
jne 0x507a40
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push ebx
inc edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.00555442
mov esi, eax
test esi, esi
je 0x507c0e
push esi
call fcn.00537658
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x507c0e
push ebp
push esi
push 0
push ebx
call fcn.00555448
test eax, eax
je 0x507c0e
push 0x42a380
lea eax, [esp + 0x78]
push 0x64
push eax
call fcn.00538618
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.0055544e
test eax, eax
jne 0x507ac9
mov dword [0x58dbbc], 0x809
jmp 0x507c2a
push edi
push dword [esp + 0x14]
call fcn.0053adbb
add esp, 8
test eax, eax
je 0x507b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 1
push eax
push 0x46c
call fcn.0050c770
push eax
lea eax, [esp + 0x118]
push eax
call fcn.0050c620
mov dword [0x58dbbc], 0x809
jmp 0x507c46
push ebp
push esi
push 0
push ebx
call fcn.00555448
test eax, eax
jne 0x507b2d
mov dword [0x58dbbc], 0x809
jmp 0x507c2a
push 0x41fab0
lea eax, [esp + 0x78]
push 0x64
push eax
call fcn.00538618
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.0055544e
test eax, eax
jne 0x507b69
mov dword [0x58dbbc], 0x809
jmp 0x507c46
cmp dword [esp + 0x18], 0x34
je 0x507b7f
mov dword [0x58dbbc], 0x809
jmp 0x507c2a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, 0x60034
ja 0x507ba5
jb 0x507ba5
push ebx
call fcn.0050c7c0
test eax, eax
jne 0x507cb7
mov eax, 0x46b
jmp 0x507c10
mov esi, dword [0x57e2f4]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [esp + 0x2c]
push ecx
push 0x42a3ac
push eax
call esi
push 0x34
push 6
lea eax, [esp + 0xf0]
push 0x42a3ac
push eax
call esi
add esp, 0x20
lea eax, [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push 2
push eax
push 0x46d
call fcn.0050c770
push eax
lea eax, [esp + 0x118]
push eax
call fcn.0050c620
mov eax, 0x46d
jmp 0x507c10
xor eax, eax
mov esi, 0x809
mov dword [0x58dbbc], esi
test eax, eax
je 0x507cbd
cmp eax, 0x46b
jne 0x507c46
push 0x46b
call fcn.0050c770
push eax
lea eax, [esp + 0x110]
push eax
call dword [0x57e2f4]
add esp, 8
push 0x42a3b4
lea eax, [esp + 0x110]
push 0xff
push eax
call fcn.0053ad1f
add esp, 0xc
push 0xdf01
call fcn.0050c770
push eax
lea eax, [esp + 0x110]
push 0xff
push eax
call fcn.0053ad1f
add esp, 0xc
mov dword [esp + 0x20], edi
lea eax, [esp + 0x20]
push 1
push eax
push 0xdf00
call fcn.0050c770
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0050c620
push 0x30
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x114]
push eax
push 0
call dword [0x57e308]
mov esi, dword [0x58dbbc]
and esi, 0x3ff
mov word [0x584d40], si
test ebp, ebp
je 0x507cd7
push ebp
call fcn.00534ada
add esp, 4
test ebx, ebx
je 0x507ce4
push ebx
call fcn.00534ada
add esp, 4
mov edx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
jne 0x507d0d
lea eax, [edx + 1]
mov ecx, dword [esp + 0x1fc]
xor ecx, esp
call fcn.00535482
add esp, 0x200
ret 4
movzx ecx, word [0x584d40]
xor eax, eax
cmp edx, ecx
mov ecx, dword [esp + 0x1fc]
sete al
xor ecx, esp
call fcn.00535482
add esp, 0x200
ret 4