Function at 0x401e17
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 4
call fcn.0040f5a4
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebp - 0x24], esp
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoSizeA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x401e92
push 6
call fcn.0040f5b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x401ecf
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov eax, 0x448126
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401ebf
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x4025c7
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00410eb0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f02
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x401f13
add eax, 8
push eax
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x401f3d
push 6
call fcn.0040f5b0
add esp, 4
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x448149
mov eax, dword [ebp - 8]
test eax, eax
je 0x401f57
add eax, 8
push eax
call dword [sym.imp.VERSION.DLL_VerQueryValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x401f74
push 6
call fcn.0040f5b0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x401fac
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov eax, 0x448128
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401fa1
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x4025c7
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.00410eb0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401fdf
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401ff6
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x402013
push 6
call fcn.0040f5b0
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402038
mov eax, 0x44428d
push eax
push 3
mov ebx, 0x19c
call fcn.00410fe0
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x40206c
and eax, 0xff
jmp 0x4020b7
cmp ecx, 0x80000201
jne 0x402077
cwde
jmp 0x4020b7
cmp ecx, 0x80000301
je 0x4020b7
cmp ecx, 0x80000401
je 0x4020b7
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x4020a7
cmp ecx, 0x80000601
je 0x4020ac
push 2
call fcn.0040f5b0
add esp, 4
fld dword [ebp - 0x34]
jmp 0x4020b2
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.00401152
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.00411160
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4020e7
mov eax, 0x444277
push eax
push 1
mov ebx, 0x130
call fcn.0040fb30
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40210d
push ebx
call fcn.0040f598
add esp, 4
fld qword [0x448162]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
push 0x80000004
push 0
push 0x448126
fld qword [ebp - 0x44]
call fcn.00401152
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.00411190
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402175
mov eax, 0x44428d
push eax
push 3
mov ebx, 0x19c
call fcn.00410fe0
add esp, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000101
jne 0x4021a9
and eax, 0xff
jmp 0x4021f4
cmp ecx, 0x80000201
jne 0x4021b4
cwde
jmp 0x4021f4
cmp ecx, 0x80000301
je 0x4021f4
cmp ecx, 0x80000401
je 0x4021f4
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x4021e4
cmp ecx, 0x80000601
je 0x4021e9
push 2
call fcn.0040f5b0
add esp, 4
fld dword [ebp - 0x5c]
jmp 0x4021ef
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.00401152
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.00411160
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402237
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x402247
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40225b
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40227e
mov eax, 0x444277
push eax
push 2
mov ebx, 0x138
call fcn.0040fb50
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4022b3
mov eax, 0x444277
push eax
push 2
mov ebx, 0x134
call fcn.0040fad0
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4022ef
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4022ff
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402313
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 1
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 1
jg 0x40257b
mov eax, dword [ebp - 4]
cmp eax, 1
jl 0x40233b
cmp eax, 2
jl 0x402348
push 9
call fcn.0040f5b0
add esp, 4
dec eax
call 0x40234e
pop ebx
add ebx, dword [eax*4 + 0x448173]
jmp ebx
add esp, 8
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
push 0x444277
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004010b5
add esp, 8
cmp eax, 0
jne 0x4025c7
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov eax, 0x44812a
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4025c1
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4025d7
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4025e7
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4025f7
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402607
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40261b
push ebx
call fcn.0040f598
add esp, 4
pop ebx
call fcn.0040f598
add esp, 4
mov esp, ebp
pop ebp
ret 8