Function at 0x460b2d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x46115f
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0048fbe0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x460bbb
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x460bc9
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
mov eax, 0x4d6e5c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004031fb
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x460c05
push ebx
call fcn.0048c88e
add esp, 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov eax, dword [ebp - 8]
test eax, eax
je 0x460c1a
add eax, 8
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x460c38
push ebx
call fcn.0048c88e
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x460c4c
mov eax, 0x4d22e0
jmp 0x461180
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.0048fbe0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x460c7f
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x460c93
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x460cc3
mov eax, 0x4d23d7
push eax
push 3
mov ebx, 0x19c
call fcn.0048f410
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x460cf7
and eax, 0xff
jmp 0x460d42
cmp ecx, 0x80000201
jne 0x460d02
cwde
jmp 0x460d42
cmp ecx, 0x80000301
je 0x460d42
cmp ecx, 0x80000401
je 0x460d42
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x460d32
cmp ecx, 0x80000601
je 0x460d37
push 2
call fcn.0048c8a6
add esp, 4
fld dword [ebp - 0x30]
jmp 0x460d3d
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.00402370
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.00494d70
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x460d72
mov eax, 0x4d22e0
push eax
push 1
mov ebx, 0x130
call fcn.0048f6a0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x460d98
push ebx
call fcn.0048c88e
add esp, 4
fld qword [0x4d23f7]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov eax, 0x4d6e7c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004031fb
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x460dce
push ebx
call fcn.0048c88e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x460de1
mov eax, 0x4d22e0
push eax
fld qword [ebp - 0x40]
call fcn.00402370
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.00496880
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x460e17
push ebx
call fcn.0048c88e
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x460e3c
mov eax, 0x4d23d7
push eax
push 3
mov ebx, 0x19c
call fcn.0048f410
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x460e70
and eax, 0xff
jmp 0x460ebb
cmp ecx, 0x80000201
jne 0x460e7b
cwde
jmp 0x460ebb
cmp ecx, 0x80000301
je 0x460ebb
cmp ecx, 0x80000401
je 0x460ebb
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000501
je 0x460eab
cmp ecx, 0x80000601
je 0x460eb0
push 2
call fcn.0048c8a6
add esp, 4
fld dword [ebp - 0x60]
jmp 0x460eb6
mov dword [ebp - 0x5c], edx
fld qword [ebp - 0x60]
call fcn.00402370
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.00494d70
add esp, 0x10
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
mov ecx, 2
call fcn.00402ab9
add esp, 8
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x460efe
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x460f0e
push ebx
call fcn.0048c88e
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x460f22
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x460f45
mov eax, 0x4d22e0
push eax
push 2
mov ebx, 0x138
call fcn.0048f6c0
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x460f7a
mov eax, 0x4d22e0
push eax
push 2
mov ebx, 0x134
call fcn.0048f640
add esp, 0x1c
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00402ab9
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x460fb6
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x460fc6
push ebx
call fcn.0048c88e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x460fda
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x4d6e85
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004031fb
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x461002
push ebx
call fcn.0048c88e
add esp, 4
mov eax, 0x4d6e9d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004031fb
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x461026
push ebx
call fcn.0048c88e
add esp, 4
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
mov ecx, 3
call fcn.00402ab9
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46104f
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46105f
push ebx
call fcn.0048c88e
add esp, 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
test eax, eax
je 0x461074
add eax, 8
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
nop
nop
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x461092
push ebx
call fcn.0048c88e
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x46115f
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.0048fbe0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4610cf
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4610e3
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x461113
mov eax, 0x4d23d7
push eax
push 3
mov ebx, 0x19c
call fcn.0048f410
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x461147
push 5
call fcn.0048c8a6
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46115b
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46117b
push eax
mov ebx, eax
call fcn.00402a4e
inc eax
push eax
call fcn.0048c888
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x461180
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x461191
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4611a1
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4611b1
push ebx
call fcn.0048c88e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4611c1
push ebx
call fcn.0048c88e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4