Function at 0x41e4a0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481231
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x174], ebx
cmp byte [0x4cb0a4], 0
jne 0x41f4b0
push 0x11c
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0046a5d0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
call fcn.0041dca0
mov esi, dword [0x4cb064]
test esi, esi
je 0x41e523
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call dword [0x48d4b4]
call esi
push 1
push 4
push 1
push 0x20
push 1
push 1
push 1
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 0x26
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
cmp eax, 0xc0000059
jne 0x41f471
movzx eax, word [ebp - 0x18]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x120]
push 0x11c
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0046a5d0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
mov dword [ebp - 0x128], 9
push 2
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 2
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
cmp eax, 0xc0000059
je 0x41e671
test eax, eax
je 0x41e608
mov dword [ebp - 0x128], 0
jmp 0x41e756
push 1
push 2
push 0
push 0
mov dword [ebp - 0x128], 0xa
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, edx
lea ecx, [ebp - 0x12c]
mov esi, eax
mov edx, 2
push edi
push esi
call fcn.0041deb0
test eax, eax
je 0x41e6da
mov edi, edi
cmp eax, 0xc0000059
jne 0x41e5f9
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp eax, 0x63
ja 0x41e5f9
push edi
push esi
mov edx, 2
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41e640
jmp 0x41e6da
push 1
push 2
push 0
push 0
mov dword [ebp - 0x128], 6
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, edx
lea ecx, [ebp - 0x12c]
mov esi, eax
mov edx, 2
push edi
push esi
call fcn.0041deb0
test eax, eax
je 0x41e6da
cmp eax, 0xc0000059
jne 0x41e5f9
mov eax, dword [ebp - 0x128]
dec eax
mov dword [ebp - 0x128], eax
cmp eax, 4
jb 0x41e5f9
push edi
push esi
mov edx, 2
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41e6a3
cmp dword [ebp - 0x128], 0
je 0x41e756
push 1
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, edx
lea ecx, [ebp - 0x12c]
mov esi, eax
mov edx, 1
push edi
push esi
call fcn.0041deb0
test eax, eax
je 0x41e749
jmp 0x41e710
cmp eax, 0xc0000059
jne 0x41e7f3
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp eax, 0x270f
ja 0x41e7f3
push edi
push esi
mov edx, 1
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41e710
cmp dword [ebp - 0x128], 0
jne 0x41f311
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x13c]
push 0x107
call fcn.00410f2e
mov esi, dword [ebp - 0x138]
test eax, eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], esi
jne 0x41e838
mov edi, dword [ebp - 0x134]
cmp edi, 0x107
jae 0x41e80c
mov eax, 0x107
lea ecx, [esi + edi*2]
sub eax, edi
mov edi, 0x107
mov dword [ebp - 0x134], edi
test ecx, ecx
je 0x41e877
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
jmp 0x41e877
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
jmp 0x41e756
je 0x41e877
lea edi, [edi*2 - 0x20e]
lea eax, [esi + 0x20e]
test edi, edi
je 0x41e82b
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x41e820
mov edi, 0x107
mov dword [ebp - 0x134], edi
jmp 0x41e877
test eax, eax
je 0x41e871
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41e860
push edx
jmp 0x41f2fc
mov edi, dword [ebp - 0x134]
xor eax, eax
lea ebx, [edi + edi]
mov word [esi + ebx - 2], ax
test edi, edi
mov eax, 0x4ca5a4
cmovne eax, esi
mov dword [ebp - 0x148], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetSystemWow64DirectoryW
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x164]
test esi, esi
je 0x41e923
push 0x104
push dword [ebp - 0x148]
mov ecx, esi
call dword [0x48d4b4]
call esi
test eax, eax
je 0x41e92b
mov esi, dword [ebp - 0x144]
cmp eax, 0x104
jbe 0x41e9b1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41e9ab
test edi, edi
je 0x41e9ab
mov eax, esi
test ebx, ebx
je 0x41e9ab
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x41e912
push esi
jmp 0x41f2fc
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x41e962
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x41e95c
test edi, edi
je 0x41e95c
mov ecx, eax
test ebx, ebx
je 0x41e95c
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub ebx, 1
jne 0x41e951
push eax
jmp 0x41f2fc
mov esi, dword [ebp - 0x144]
test edi, edi
mov eax, 0x4ca5a4
cmovne eax, esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x41e8e6
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41e9ab
test edi, edi
je 0x41e9ab
mov eax, esi
test ebx, ebx
je 0x41e9ab
jmp 0x41e9a0
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x41e9a0
push esi
jmp 0x41f2fc
lea ebx, [eax + 1]
test ebx, ebx
jne 0x41ea39
xor eax, eax
cmp ebx, edi
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
je 0x41e9f0
sub edi, ebx
lea eax, [esi + ebx*2]
add edi, edi
je 0x41e9e2
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x41e9d7
mov edi, ebx
mov dword [ebp - 0x134], edi
mov eax, dword [ebp - 0x140]
xor ecx, ecx
mov word [esi + edi*2 - 2], cx
test edi, edi
je 0x41eb8a
lea ecx, [edi - 1]
test ecx, ecx
je 0x41eb67
test eax, eax
jne 0x41eb76
test ecx, ecx
je 0x41eb76
cmp word [esi + ecx*2 - 2], 0x5c
je 0x41eb67
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
ja 0x41eaaf
call fcn.00401dbf
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x41e9f7
cmp ebx, dword [ebp - 0x130]
jbe 0x41ea7c
push ebx
lea ecx, [ebp - 0x13c]
call fcn.00410f2e
mov edi, dword [ebp - 0x134]
test eax, eax
mov eax, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x138]
je 0x41ea76
test eax, eax
jne 0x41e9f7
jmp 0x41e9f0
mov dword [ebp - 0x140], eax
cmp ebx, edi
jbe 0x41e9cc
mov ecx, ebx
lea edx, [esi + edi*2]
sub ecx, edi
mov edi, ebx
mov dword [ebp - 0x134], edi
test edx, edx
je 0x41e9f0
lea eax, [ecx + ecx]
push eax
push 0
push edx
call fcn.0046a5d0
add esp, 0xc
jmp 0x41e9ea
mov eax, dword [ebp - 0x130]
inc ecx
mov dword [ebp - 0x1b4], ecx
test eax, eax
je 0x41eac3
dec eax
jmp 0x41eac5
xor eax, eax
cmp eax, ecx
jae 0x41eb05
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x41ead6
dec eax
jmp 0x41ead8
xor eax, eax
add eax, eax
cmp ecx, eax
mov dword [ebp - 0x1b8], eax
cmova eax, ecx
cmp eax, 0xffffffff
jne 0x41eaef
call fcn.00401dbf
inc eax
lea ecx, [ebp - 0x13c]
push eax
call fcn.00410f2e
cmp dword [ebp - 0x13c], 0
jne 0x41eb1e
push 0x5c
push 1
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00415ea0
cmp dword [ebp - 0x13c], 0
je 0x41eb61
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
jmp 0x41eb50
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41eb50
push edx
jmp 0x41f2fc
mov edi, dword [ebp - 0x134]
test edi, edi
je 0x41eb8a
lea ebx, [edi - 1]
mov dword [ebp - 0x144], ebx
jmp 0x41eb94
push 0xc7
mov edx, str.basic_ncstring_wchar_t_::back
mov ecx, str._af___length__
call fcn.00417c20
mov dword [ebp - 0x144], 0
push 0xb
push str.version.dll
lea ecx, [ebp - 0x13c]
call fcn.00416670
cmp dword [ebp - 0x13c], 0
je 0x41ebf1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41ebe0
push edx
jmp 0x41f2fc
mov edi, dword [ebp - 0x134]
mov eax, 0x4ca5a8
mov ebx, dword [ebp - 0x138]
test edi, edi
cmovne eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x158], 0x4a8500
mov dword [ebp - 0x14c], esi
mov byte [ebp - 0x154], 1
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x41ef54
push str.GetFileVersionInfoSizeW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoW
push esi
mov dword [ebp - 0x148], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VerQueryValueW
push esi
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x164], eax
test esi, esi
je 0x41ef54
cmp dword [ebp - 0x140], 0
je 0x41ef54
test eax, eax
je 0x41ef54
push dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
call fcn.004142f2
test eax, eax
je 0x41ecf4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41ece3
push edx
jmp 0x41f2fc
push 0xc
push 0x4a4554
lea ecx, [ebp - 0x13c]
call fcn.00416670
cmp dword [ebp - 0x13c], 0
je 0x41ed61
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
jmp 0x41ed50
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41ed50
push edx
jmp 0x41f2fc
mov edi, dword [ebp - 0x134]
mov eax, 0x4ca5a8
mov ebx, dword [ebp - 0x138]
test edi, edi
push 0
cmovne eax, ebx
mov ecx, esi
push eax
call dword [0x48d4b4]
call esi
mov dword [ebp - 0x148], eax
test eax, eax
je 0x41ef54
cmp eax, 0x100000
jae 0x41ef54
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x184]
push eax
call fcn.00415630
test eax, eax
jne 0x41ef45
test edi, edi
lea ecx, [ebp - 0x184]
mov esi, 0x4ca5a8
cmovne esi, ebx
call fcn.004103b5
push eax
push dword [ebp - 0x148]
push 0
push esi
mov esi, dword [ebp - 0x140]
mov ecx, esi
call dword [0x48d4b4]
call esi
test eax, eax
je 0x41ef45
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x4a495c
lea ecx, [ebp - 0x184]
call fcn.004103f5
mov esi, dword [ebp - 0x164]
mov ecx, esi
push eax
call dword [0x48d4b4]
call esi
test eax, eax
je 0x41ef45
cmp dword [ebp - 0x168], 0x34
jb 0x41ef45
mov ecx, dword [ebp - 0x16c]
push 1
push 1
push 1
movzx eax, word [ecx + 0x12]
push 2
mov dword [ebp - 0x128], eax
movzx eax, word [ecx + 0x10]
push 0
push 0
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 2
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41ef31
mov eax, dword [ebp - 0x16c]
push 1
push 4
push 0
movzx eax, word [eax + 0x16]
push 0
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 4
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
mov ecx, dword [ebp - 0x120]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x184]
call fcn.0040ffef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41ef2b
test edi, edi
je 0x41ef2b
mov eax, ebx
add edi, edi
je 0x41ef2b
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x41ef20
push ebx
jmp 0x41f2fc
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x184]
call fcn.0040ffef
mov eax, dword [ebp - 0x144]
cmp eax, 0xffffffff
jne 0x41ef64
call fcn.00401dbf
lea esi, [eax + 1]
test esi, esi
jne 0x41f008
mov dword [ebp - 0x13c], esi
cmp esi, edi
je 0x41ef95
sub edi, esi
lea eax, [ebx + esi*2]
add edi, edi
je 0x41ef8d
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x41ef82
mov edi, esi
mov dword [ebp - 0x134], edi
push 0xc
xor eax, eax
lea ecx, [ebp - 0x13c]
push str.netapi32.dll
mov word [ebx + edi*2 - 2], ax
call fcn.00416670
cmp dword [ebp - 0x13c], 0
je 0x41f0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41eff7
push edx
jmp 0x41f2fc
cmp esi, dword [ebp - 0x130]
jbe 0x41f09e
push esi
lea ecx, [ebp - 0x13c]
call fcn.00410f2e
test eax, eax
je 0x41f092
cmp dword [ebp - 0x13c], 0
je 0x41f081
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x41e86b
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x41e86b
mov eax, edx
add ecx, ecx
je 0x41e86b
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41f070
push edx
jmp 0x41f2fc
mov edi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x138]
jmp 0x41ef95
mov edi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x138]
cmp esi, edi
jbe 0x41ef77
mov eax, esi
lea ecx, [ebx + edi*2]
sub eax, edi
mov edi, esi
mov dword [ebp - 0x134], edi
test ecx, ecx
je 0x41ef95
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
jmp 0x41ef95
cmp dword [ebp - 0x134], 0
mov eax, 0x4ca5a8
mov edi, dword [ebp - 0x138]
cmovne eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov byte [ebp - 0x15c], 1
mov dword [ebp - 0x1a4], 0x4a8500
mov byte [ebp - 0x1a0], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0xf
mov ebx, dword [ebp - 0x14c]
test ebx, ebx
je 0x41f13a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x19c]
cmovne ebx, ecx
mov dword [ebp - 0x150], ebx
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x150], esi
mov byte [ebp - 0x1a0], 0
mov byte [ebp - 0x154], 1
test esi, esi
je 0x41f274
push str.NetWkstaGetInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NetApiBufferFree
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14c], eax
test ebx, ebx
je 0x41f274
test eax, eax
je 0x41f274
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0
push eax
push 0x64
push 0
mov ecx, ebx
call dword [0x48d4b4]
call ebx
test eax, eax
jne 0x41f274
mov ecx, dword [ebp - 0x170]
mov ebx, dword [ebp - 0x14c]
push ecx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x128], eax
mov eax, dword [ecx + 0x10]
mov ecx, ebx
mov dword [ebp - 0x124], eax
call dword [0x48d4b4]
call ebx
push 1
push 1
push 1
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 2
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41f260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.0041dff0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41f2fb
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x41f2fb
lea ecx, [eax + eax]
mov eax, edi
test ecx, ecx
je 0x41f2fb
lea ebx, [ebx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41f250
jmp 0x41f2fb
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 1
mov byte [ebp - 0x160], 1
mov dword [ebp - 0x1b0], 0x4a8500
mov byte [ebp - 0x1ac], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x1a8], ebx
mov byte [ebp - 4], 0x11
test esi, esi
je 0x41f2ba
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x150], esi
mov byte [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x1ac], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41f2fb
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x41f2fb
lea ecx, [eax + eax]
mov eax, edi
test ecx, ecx
je 0x41f2fb
lea ebx, [ebx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41f2f0
push edi
call fcn.0043af60
add esp, 4
cmp dword [ebp - 0x128], 0
je 0x41f446
push 1
push 0x20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, edx
lea ecx, [ebp - 0x12c]
mov esi, eax
mov edx, 0x20
push edi
push esi
call fcn.0041deb0
test eax, eax
je 0x41f374
mov ebx, 0x270f
mov edi, edi
cmp eax, 0xc0000059
jne 0x41f36e
mov ax, word [ebp - 0x18]
inc ax
mov word [ebp - 0x18], ax
cmp ax, bx
ja 0x41f36e
push edi
push esi
mov edx, 0x20
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
jne 0x41f340
jmp 0x41f374
xor eax, eax
mov word [ebp - 0x18], ax
cmp dword [ebp - 0x120], 0
jne 0x41f43c
push 2
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ecx, edx
mov dword [ebp - 0x14c], eax
xor ebx, ebx
mov dword [ebp - 0x168], ecx
or edi, 0xffffffff
or esi, 0xffffffff
push ecx
shr esi, 1
lea ecx, [ebp - 0x12c]
add esi, ebx
mov edx, 4
push eax
mov dword [ebp - 0x120], esi
call fcn.0041deb0
test eax, eax
jne 0x41f3ce
mov ebx, dword [ebp - 0x120]
inc ebx
jmp 0x41f3db
cmp eax, 0xc0000059
jne 0x41f432
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x14c]
mov esi, edi
mov ecx, dword [ebp - 0x168]
sub esi, ebx
cmp esi, 4
jae 0x41f3a5
push 1
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor edi, edi
push 1
push 4
push 0
lea eax, [edi + ebx]
push 0
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov edx, 4
lea ecx, [ebp - 0x12c]
call fcn.0041deb0
test eax, eax
je 0x41f43c
inc edi
cmp edi, esi
jbe 0x41f400
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x128]
test eax, eax
jne 0x41f479
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x188]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x190]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0xc], ecx
jmp 0x41f4d1
mov eax, dword [ebp - 0x128]
jmp 0x41f47f
mov ebx, dword [ebp - 0x174]
mov dword [0x4cb8c4], eax
mov eax, dword [ebp - 0x124]
mov dword [0x4cb8c8], eax
movzx eax, word [ebp - 0x18]
mov dword [0x4cb8cc], eax
mov eax, dword [ebp - 0x120]
mov dword [0x4cb8d0], eax
xchg dword [ebp - 0x198], eax
mov byte [0x4cb0a4], 1
mov eax, dword [0x4cb8c4]
mov dword [ebx], eax
mov eax, dword [0x4cb8c8]
mov dword [ebx + 4], eax
mov eax, dword [0x4cb8cc]
mov dword [ebx + 8], eax
mov eax, dword [0x4cb8d0]
mov dword [ebx + 0xc], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468946
mov esp, ebp
pop ebp
ret