Function at 0x417fd0
Capabilities:
Access peb ldr_data
Get file version info
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43f3f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov al, byte [0x4515a8]
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x1c]
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], al
call fcn.00401710
mov ecx, dword [0x441f18]
push ecx
push edi
push 0x4515a8
lea ecx, [esp + 0x28]
call fcn.00417720
mov dl, byte [0x4515b8]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0xd4], 1
mov byte [esp + 0x30], dl
call fcn.00417e30
mov eax, dword [0x441678]
lea ecx, [esp + 0x2c]
push eax
push edi
push 0x4515b8
call fcn.00402e20
lea ecx, [esp + 0xf]
mov byte [esp + 0xd0], 2
push ecx
lea ecx, [esp + 0x40]
call fcn.004160a0
mov dl, byte [0x4515d8]
mov byte [esp + 0x4c], dl
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xd0], 3
cmp byte [esi + 0x30], 2
jne 0x41809e
lea eax, [esi + 0x10]
mov byte [esi + 0x30], 3
push eax
push esi
call fcn.004175b0
add esp, 8
mov esi, dword [esi + 0x14]
mov ebp, 0x44167c
cmp esi, edi
je 0x4180ac
mov ebp, esi
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x4181e9
push esi
call fcn.00439d85
mov edx, dword [esp + 0x18]
add esp, 4
mov edi, eax
push edi
push esi
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
setne al
test al, al
je 0x4181e9
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x44c20c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
setne al
test al, al
je 0x4181e9
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x98]
push str._d._d._d._d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [esp + 0xe]
lea ecx, [esp + 0x54]
push edx
call fcn.004160a0
lea eax, [esp + 0x88]
mov byte [esp + 0xd0], 4
test eax, eax
lea eax, [esp + 0x88]
jne 0x41816b
mov eax, 0x44f120
lea ecx, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00415fe0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x74]
push edx
mov byte [esp + 0xd4], 5
call fcn.004160a0
mov byte [esp + 0x84], 0
mov eax, dword [0x441678]
lea ecx, [esp + 0x64]
push eax
push 0
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 6
call fcn.00402e20
mov edx, dword [0x441f18]
lea eax, [esp + 0x54]
push edx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.00417720
mov cl, byte [esp + 0x84]
mov byte [esp + 0xd0], 3
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x54]
call fcn.00401440
push edi
call fcn.00439dae
mov esi, dword [esp + 0xdc]
mov dl, byte [esp + 0x20]
add esp, 4
mov ecx, esi
mov byte [esi], dl
push 0
call fcn.00401710
mov eax, dword [0x441f18]
lea ecx, [esp + 0x1c]
push eax
push 0
push ecx
mov ecx, esi
call fcn.00417720
mov dl, byte [esp + 0x2c]
lea edi, [esi + 0x10]
push 0
mov ecx, edi
mov byte [esp + 0xd4], 7
mov byte [edi], dl
call fcn.00417e30
mov eax, dword [0x441678]
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
mov ecx, edi
call fcn.00402e20
lea edx, [esp + 0xc]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0xd4], 8
call fcn.004160a0
mov al, byte [esp + 0x4c]
mov dword [esp + 0x18], 1
mov byte [esi + 0x30], al
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xd4], 0
call fcn.00401710
push 1
lea ecx, [esp + 0x30]
call fcn.00417e30
push 1
lea ecx, [esp + 0x20]
call fcn.00401710
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc8
ret