Function at 0x401bf4
Capabilities:
Get file version info

Disassembly:
mov eax, 0x47cee0
call fcn.0044d428
sub esp, 0x6c0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x104
lea eax, [ebp - 0x4c4]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c4]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.004637f6
pop ecx
mov edi, eax
push edi
push esi
push ebx
lea eax, [ebp - 0x4c4]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x481a74
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x60]
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
or esi, eax
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x481a54
push esi
lea eax, [ebp - 0x28]
push 0x481a20
push eax
mov dword [ebp - 4], ebx
call fcn.004019b0
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00401530
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
push dword [ebp - 0x30]
xor esi, esi
call fcn.0044d447
test eax, eax
pop ecx
jbe 0x401cde
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + esi*2]
mov byte [ebp + esi - 0x2bc], cl
push eax
inc esi
call fcn.0044d447
cmp esi, eax
pop ecx
jb 0x401cc5
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.004013dc
push dword [ebp - 0x30]
call fcn.0044d447
pop ecx
mov byte [ebp + eax - 0x2bc], bl
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x18], ebx
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push ebx
push ebx
push ebx
push ebx
push 1
push 0x481a08
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.004752b1
push 0xf
pop esi
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.004014a9
push ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x84], esi
call fcn.004014a9
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 5
call fcn.0041b6d3
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0x481998
call fcn.00475834
test eax, eax
je 0x40223b
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov byte [ebp - 4], 6
push ebx
push ebx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x38]
call fcn.00475cf0
push 4
lea ecx, [ebp - 0x2c]
mov edi, eax
push ecx
mov dword [ebp - 0x2c], 0x4e20
mov eax, dword [edi + 4]
push 2
push eax
mov dword [ebp - 0x50], edi
call esi
push 4
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 0x2710
mov eax, dword [edi + 4]
push 6
push eax
call esi
mov eax, dword [edi + 4]
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 5
push eax
call esi
mov eax, 0x20600000
push eax
push 0x481984
push ebx
push 1
push ebx
push dword [ebp - 0x34]
mov ecx, edi
push 1
call fcn.00475db8
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x18], eax
je 0x401e60
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004047e4
cmp dword [ebp - 0xc4], 0x10
pop ecx
pop ecx
mov ecx, dword [ebp - 0xd8]
jae 0x401e40
lea ecx, [ebp - 0xd8]
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
push ecx
push 0x2b
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040155a
cmp dword [ebp - 0x88], ebx
je 0x401eb2
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004047e4
cmp dword [ebp - 0xa8], 0x10
pop ecx
pop ecx
mov ecx, dword [ebp - 0xbc]
jae 0x401e92
lea ecx, [ebp - 0xbc]
push dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
push ecx
push 0x2c
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.0040155a
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
call fcn.00475807
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
call fcn.00474f04
mov eax, dword [ebp - 0x48]
cmp eax, 0xc8
mov dword [ebp - 0x64], eax
jne 0x401f38
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, edx
cmp ecx, ebx
mov dword [ebp - 0x44], eax
ja 0x4021db
jb 0x401efb
cmp eax, 0x400
jae 0x4021db
inc eax
push eax
call fcn.004637f6
mov edx, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
pop ecx
inc eax
push eax
push dword [ebp - 0x20]
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov byte [ecx + eax], bl
lea ecx, [ebp - 0x2bc]
push ecx
push eax
call fcn.0044d630
pop ecx
test eax, eax
pop ecx
setne byte [ebp - 0x11]
jmp 0x4021db
cmp eax, 0x197
jne 0x4021d8
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x29
mov byte [ebp - 4], 7
mov byte [ebp - 0x12], 1
call fcn.00475947
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401512
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0040198d
push ebx
push 0x48196c
lea ecx, [ebp - 0x1c]
call fcn.004014d9
test eax, eax
je 0x401fac
push ebx
push 0x481950
lea ecx, [ebp - 0x1c]
call fcn.004014d9
test eax, eax
jne 0x402199
cmp byte [ebp - 0x12], bl
je 0x402199
push ebx
lea ecx, [ebp - 0x180]
mov byte [ebp - 0x12], bl
call fcn.00404b49
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 9
jae 0x401fd4
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401b04
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xa
call fcn.00401a03
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.00401148
cmp dword [ebp - 0x84], 0x10
mov eax, dword [ebp - 0x98]
jae 0x402014
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401b04
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.00401a03
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.00401148
mov dword [ebp - 0xfc], 1
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push 0xc4
push eax
mov byte [ebp - 4], 0xc
call fcn.00401b4f
add esp, 0xc
push dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
call fcn.00401ba9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xd
call fcn.00401a03
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.00401148
lea ecx, [ebp - 0x180]
call fcn.004684a6
cmp eax, 1
jne 0x40217a
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x180]
call fcn.00404c39
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xe
call fcn.00401a50
push ebx
push 1
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xc
call fcn.0040155a
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x180]
call fcn.00404c84
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.00401a50
push ebx
push 1
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xc
call fcn.0040155a
cmp dword [ebp - 0xfc], 1
jne 0x40213c
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041b8ea
pop ecx
pop ecx
jmp 0x402141
call fcn.0041b174
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401148
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 8
call fcn.004016f7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401148
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401148
jmp 0x401da6
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401148
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 8
call fcn.004016f7
jmp 0x401fac
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401148
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401148
jmp 0x4021d8
mov esi, dword [ebp - 0x18]
cmp esi, ebx
mov dword [ebp - 4], 5
je 0x4021f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
cmp edi, ebx
je 0x40220a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
cmp byte [ebp - 0x11], bl
jne 0x40223b
push 0x104
lea eax, [ebp - 0x6cc]
push eax
push 0xc5
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x481920
lea eax, [ebp - 0x6cc]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push 1
lea ecx, [ebp - 0x9c]
call fcn.0040155a
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.0040155a
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.004759b7
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401148
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401148
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401148
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret