Function at 0x41925c
Capabilities:
Check os version

Disassembly:
mov eax, 0x430bd5
call fcn.00423e18
mov eax, 0x1304
call fcn.00424530
push ebx
push esi
mov esi, ecx
push edi
push esi
push 0x44f
lea ecx, [ebp - 0x2c]
call fcn.0041780b
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0041784e
test eax, eax
je 0x41979a
cmp dword [0x43e748], ebx
jne 0x41979a
push esi
push 0x452
lea ecx, [ebp - 0x1c]
call fcn.00406891
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004068d4
test eax, eax
je 0x41978f
cmp dword [0x43e748], ebx
jne 0x41978f
lea eax, [ebp - 0x1310]
push 0x400
push eax
push 1
push 0x439490
lea ecx, [esi + 0x4024]
push 0x4381fc
call fcn.0040729d
test eax, eax
setne al
cmp dword [esi + 0x14b8], ebx
lea edi, [esi + 0x14b8]
mov byte [esi + 0x4046], al
lea eax, [esi + 0x2508]
push eax
mov ecx, esi
jne 0x41933f
call fcn.00418da8
push eax
lea eax, [esi + 0x10ac]
push dword [esi + 0xa8]
push eax
push edi
push 0x64
push 0xbba
push dword [esi + 0x44d8]
call fcn.0041004f
jmp 0x41936b
call fcn.00418da8
push eax
lea eax, [esi + 0x10ac]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x64
push 0xbba
push dword [esi + 0x44d8]
call fcn.0041004f
mov ecx, dword [edi]
mov dword [0x43f18c], ecx
cmp eax, ebx
jne 0x41978f
lea edi, [esi + 0x44f0]
push 0x64
push edi
push 0x439484
push 0x439480
call fcn.0041e35c
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x419434
push edi
lea ecx, [ebp - 0x108]
call fcn.0041793e
cmp dword [0x43fe4c], ebx
mov byte [ebp - 4], 2
jne 0x4193f3
cmp dword [0x43fe48], ebx
jne 0x4193f3
push 0x43d6d8
lea ecx, [ebp - 0x108]
call fcn.00417a52
test al, al
jne 0x419425
push dword [esi + 0x44d8]
lea ecx, [ebp - 0x108]
call fcn.00417a27
cmp byte [ebp - 0x100], bl
je 0x419425
or dword [0x43fe44], 0xffffffff
jmp 0x419411
push 0x43d6d8
lea ecx, [ebp - 0x108]
call fcn.00417a52
test al, al
jne 0x419425
mov dword [0x43fe44], 0x4b9
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.004179e6
jmp 0x41960f
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.004179e6
mov ecx, esi
call fcn.00418f63
test eax, eax
je 0x41978f
cmp dword [0x43fe4c], ebx
jne 0x419520
cmp dword [0x43fe48], ebx
jne 0x419520
cmp byte [esi + 0x4023], bl
jne 0x419520
cmp dword [esi + 0x14b4], ebx
jne 0x419520
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x507]
mov byte [ebp - 0x508], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
push dword [0x43f18c]
call fcn.0041a24b
test eax, eax
jne 0x4194fc
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
push ebx
call fcn.0041a24b
test eax, eax
jne 0x4194fc
mov ecx, esi
call fcn.004199e4
test eax, eax
je 0x4194d5
push 1
push ebx
push ebx
push ebx
push dword [0x432710]
mov ecx, esi
call fcn.00419d37
jmp 0x4194f8
push dword [0x432710]
lea eax, [ebp - 0x508]
push 0x43f644
push eax
call fcn.0041d431
lea eax, [ebp - 0x508]
push eax
call fcn.0041d5d6
test eax, eax
je 0x419520
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.00401072
cmp eax, ebx
jne 0x419520
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0041a360
mov dword [ebp - 0x10], eax
jmp 0x419523
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push dword [0x43f18c]
call fcn.0041dbac
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x419576
lea eax, [ebp - 0x60c]
push eax
push dword [0x43f18c]
call fcn.0041de18
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x43fe44], eax
lea ecx, [ebp - 0x60c]
push ecx
push eax
call fcn.0041cc4d
pop ecx
pop ecx
jmp 0x41960f
lea edi, [esi + 0xcac]
push 0x400
push ebx
push edi
call fcn.00424670
add esp, 0xc
cmp dword [esi + 0x10ac], 1
jbe 0x4196ab
cmp dword [esi + 0x14bc], 5
je 0x4196ab
push 0x400
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.00424670
lea eax, [ebp - 0x508]
push 0xa
push eax
push dword [esi + 0x14b8]
call fcn.00425aac
push dword [0x439300]
lea eax, [ebp - 0x508]
push eax
call fcn.00423960
add esp, 0x20
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
call fcn.00419a01
test eax, eax
je 0x419648
lea eax, [ebp - 0x508]
push eax
push 0x43fa44
push edi
call fcn.0041d431
mov ecx, esi
call fcn.00419cc5
test eax, eax
jne 0x41962d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004068c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00417843
xor eax, eax
jmp 0x4197a8
push 1
push edi
push 0x439470
mov ecx, esi
call fcn.00419fab
mov dword [esi + 0xa0], 1
jmp 0x4196ab
cmp byte [esi + 0x4044], bl
je 0x419675
lea eax, [ebp - 0x508]
push eax
lea eax, [esi + 0x2f1d]
push eax
push edi
call fcn.0041d431
push 1
push edi
push 0x439470
mov ecx, esi
call fcn.00419fab
jmp 0x4196ab
mov ecx, esi
call fcn.00419973
test al, al
je 0x41969c
mov ecx, esi
call fcn.0041993a
test al, al
je 0x41969c
lea eax, [ebp - 0x508]
push edi
push eax
mov ecx, esi
call fcn.004198b3
jmp 0x4196ab
lea eax, [ebp - 0x508]
push eax
push edi
call fcn.00423950
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
mov edi, 0x3e8
jne 0x419707
lea eax, [ebp - 0x710]
push 0x104
push eax
push 0x3e9
push dword [0x432718]
lea ecx, [esi + 0x4024]
push dword [0x43270c]
call fcn.0040729d
push 4
mov edi, eax
call fcn.00423e37
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4196fb
mov ecx, eax
call fcn.0040f815
jmp 0x4196fd
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x40a0], eax
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x40a0]
push edi
push esi
push dword [esi + 0x44d8]
call fcn.0040f841
lea eax, [ebp - 0xb10]
push 0x400
push eax
push 0x44e
call fcn.0041ccc4
add esp, 0xc
lea eax, [ebp - 0xb10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41977e
mov edi, 0x438278
lea eax, [ebp - 0xb10]
push edi
push eax
call fcn.00425740
pop ecx
cmp eax, ebx
pop ecx
je 0x41977e
inc eax
inc eax
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41977e
push edi
push dword [ebp - 0x10]
call fcn.00425740
pop ecx
cmp eax, ebx
pop ecx
jne 0x4197b7
mov eax, 0x486
push eax
mov dword [0x43fe44], eax
call fcn.0041cc4d
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004068c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00417843
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x94]
push eax
push 1
call fcn.0041deaa
pop ecx
lea eax, [ebp - 0x94]
pop ecx
push eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [ebp - 0xb10]
push eax
lea eax, [ebp - 0xf10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xf10]
mov ecx, esi
push eax
call fcn.004199c1
mov ecx, dword [esi + 0x40a0]
mov edi, 0x3e8
push edi
call fcn.0040fb40
test eax, eax
je 0x419822
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004068c9
push 1
pop ebx
jmp 0x41979a
push 0x44f
mov ecx, esi
call fcn.0041999c
mov ecx, esi
call fcn.00419f6f
test eax, eax
je 0x41978f
mov ecx, dword [esi + 0x40a0]
push edi
call fcn.0040fb40
test eax, eax
jne 0x41980f
push esi
push 0x451
lea ecx, [ebp - 0x7c]
call fcn.00410f08
mov ecx, dword [esi + 0x40a0]
push edi
mov byte [ebp - 4], 4
call fcn.0040fb40
test eax, eax
jne 0x4198a2
cmp dword [0x43e748], ebx
jne 0x4198a2
lea ecx, [ebp - 0x7c]
call fcn.004122dd
test eax, eax
jne 0x419894
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00410f5d
jmp 0x41978f
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x44e4], eax
call fcn.0040f8b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00410f5d
jmp 0x41980f