Function at 0x416c70
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3dbc]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x28]
push esi
call dword [0x4844f0]
push eax
call dword [0x4840f4]
push ecx
lea eax, [edi + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x4843f0]
lea ecx, [esp + 0x44]
call fcn.0040a310
lea ecx, [esp + 0x40]
mov dword [esp + 0x1e8], esi
call fcn.00409f90
lea ecx, [esp + 0x20]
call fcn.00403e40
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x44]
mov ebp, dword [ecx]
lea esi, [esp + 0x40]
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
lea ecx, [ecx]
test esi, esi
mov ebx, dword [esp + 0x44]
je 0x416d20
lea edx, [esp + 0x40]
cmp esi, edx
je 0x416d26
call dword [0x4846e8]
cmp ebp, ebx
je 0x416dc7
test esi, esi
mov ebx, dword [0x4846e8]
jne 0x416d3a
call ebx
cmp ebp, dword [esi + 4]
jne 0x416d41
call ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4843f0]
cmp ebp, dword [esi + 4]
mov byte [esp + 0x1e8], 2
jne 0x416d5e
call ebx
push 0x4872d8
lea ecx, [ebp + 0x24]
call dword [0x4843e4]
test eax, eax
jne 0x416d9f
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
lea ebp, [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00417790
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00417830
mov dword [ebp], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e8], 1
call dword [0x4844f8]
lea ecx, [esp + 0x30]
call fcn.004074e0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x416d10
mov eax, dword [esp + 0x44]
mov ebp, dword [eax]
lea esi, [esp + 0x40]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
lea esp, [esp]
test esi, esi
mov ebx, dword [esp + 0x44]
je 0x416df0
lea ecx, [esp + 0x40]
cmp esi, ecx
je 0x416df6
call dword [0x4846e8]
cmp ebp, ebx
je 0x416e97
test esi, esi
mov ebx, dword [0x4846e8]
jne 0x416e0a
call ebx
cmp ebp, dword [esi + 4]
jne 0x416e11
call ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4843f0]
cmp ebp, dword [esi + 4]
mov byte [esp + 0x1e8], 3
jne 0x416e2e
call ebx
push 0x4872e4
lea ecx, [ebp + 0x24]
call dword [0x4843e4]
test eax, eax
jne 0x416e6f
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00417790
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00417830
mov dword [ebp], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e8], 1
call dword [0x4844f8]
lea ecx, [esp + 0x30]
call fcn.004074e0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x416de0
mov ebp, dword [esp + 0x48]
push ecx
lea edx, [edi + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
xor ebx, ebx
push edx
mov dword [esp + 0x38], ebp
mov byte [edi + 0x30], bl
call dword [0x4843f0]
lea ecx, [esp + 0x80]
call fcn.00408150
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1e8], 4
call fcn.00407f60
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
lea esp, [esp]
cmp eax, dword [esp + 0x24]
je 0x4174e5
add eax, 8
add ebx, 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call dword [0x4843f0]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1ec], 5
call fcn.004084c0
push eax
lea ecx, [esp + 0x90]
call fcn.00407050
lea edx, [esp + 0xc8]
push edx
lea eax, [edi + 0x24]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1f4], 6
call fcn.00401000
add esp, 0xc
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ec], 7
call dword [0x4843f4]
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e8], 6
call dword [0x4844f8]
lea edx, [esp + 0xa8]
push edx
lea esi, [edi + 0x2c]
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00401000
lea ecx, [esp + 0xd0]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x200], 8
call fcn.00401000
add esp, 0x18
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1ec], 9
call dword [0x4843f4]
lea ecx, [esp + 0x64]
call dword [0x4844f8]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e8], 6
call dword [0x4844f8]
lea eax, [esp + 0xcc]
push eax
lea eax, [edi + 0x28]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00401000
add esp, 0xc
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1ec], 0xa
call dword [0x4843f4]
lea ecx, [esp + 0x70]
mov byte [esp + 0x1e8], 6
call dword [0x4844f8]
push 0x4872f4
lea ecx, [esp + 0xa4]
call dword [0x4843e4]
test eax, eax
jne 0x41704b
push eax
lea ecx, [esp + 0xdc]
call dword [0x4844f0]
push eax
lea ecx, [esp + 0xd8]
call dword [0x4844f0]
push eax
call dword [0x484090]
push 0x487300
lea ecx, [esp + 0x90]
call dword [0x4843e4]
test eax, eax
jne 0x4170b6
push 0x48730c
lea ecx, [esp + 0xac]
call dword [0x48418c]
push 0x487318
lea ecx, [esp + 0xac]
call dword [0x48418c]
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00401000
add esp, 0xc
push 0
mov ecx, eax
call dword [0x4844f0]
push eax
call dword [0x4840f4]
lea ecx, [esp + 0x78]
call dword [0x4844f8]
push 0x48731c
lea ecx, [esp + 0x90]
call dword [0x4843e4]
test eax, eax
jne 0x417121
push 0x487334
lea ecx, [esp + 0xac]
call dword [0x48418c]
push 0x48734c
lea ecx, [esp + 0xac]
call dword [0x48418c]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x70]
push esi
push edx
call fcn.00401000
add esp, 0xc
push 0
mov ecx, eax
call dword [0x4844f0]
push eax
call dword [0x4840f4]
lea ecx, [esp + 0x6c]
call dword [0x4844f8]
sub esp, 0x50
lea eax, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.00407050
lea ecx, [esp + 0x134]
call fcn.004167e0
mov byte [esp + 0x1e8], 0xb
mov edi, edi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push esi
call dword [0x4843f0]
lea ecx, [esp + 0xe8]
call fcn.00416840
test eax, eax
je 0x4172e3
cmp eax, 4
jne 0x417181
mov dword [esp + 0x2c], 5
jmp 0x4171cd
cmp eax, 5
jne 0x417190
mov dword [esp + 0x2c], 4
jmp 0x4171cd
cmp eax, 1
jne 0x41719b
mov dword [esp + 0x2c], eax
jmp 0x4171cd
cmp eax, 3
jne 0x4171a6
mov dword [esp + 0x2c], eax
jmp 0x4171cd
cmp eax, 2
jne 0x4171b1
mov dword [esp + 0x2c], eax
jmp 0x4171cd
cmp eax, 6
jne 0x4171c0
mov dword [esp + 0x2c], 8
jmp 0x4171cd
cmp eax, 7
jne 0x4171cd
mov dword [esp + 0x2c], 9
cmp dword [edi + 0xc], 0
mov dword [esp + 0x58], 0
jne 0x4171e5
cmp dword [edi + 0x10], 0
je 0x417150
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x140]
call fcn.00407050
sub esp, 0x50
lea edx, [esp + 0x18c]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
mov byte [esp + 0x23c], 0xd
call fcn.00407050
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0xa8]
push edx
push dword [esp + 0x80]
push ebx
push ebp
call eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1e8], 0xb
call fcn.004036e0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x417150
cmp eax, 1
jne 0x417150
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1e8], 6
call fcn.004167d0
lea ecx, [esp + 0x8c]
call fcn.004036e0
lea ecx, [esp + 0x1c]
call dword [0x4844f8]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1e8], 1
call fcn.00408110
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp esi, eax
mov dword [esp + 0x28], ebx
je 0x41753e
jmp 0x4172c0
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [0x4844f8]
push esi
call fcn.004736e0
mov eax, dword [esp + 0x28]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x4172c0
jmp 0x41753e
push 0x487350
lea ecx, [esp + 0xa4]
call dword [0x4843e4]
test eax, eax
jne 0x4173e8
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x84]
call fcn.004084c0
mov ecx, eax
call fcn.00406f40
lea ecx, [esp + 0x7c]
call fcn.00407c30
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 4]
cmp byte [esi + 0x61], 0
mov dword [esp + 0x18], eax
jne 0x417364
lea ecx, [esi + 0xc]
call dword [0x4844f0]
push eax
lea ecx, [esp + 0x20]
call dword [0x4843e4]
test eax, eax
jge 0x417357
mov dword [esp + 0x18], esi
mov esi, dword [esi]
jmp 0x41735a
mov esi, dword [esi + 8]
cmp byte [esi + 0x61], 0
je 0x417337
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 4]
cmp byte [esi + 0x61], 0
lea ebx, [esp + 0x40]
mov ebp, eax
jne 0x41739a
lea ecx, [esp + 0x1c]
call dword [0x4844f0]
push eax
lea ecx, [esi + 0xc]
call dword [0x4843e4]
test eax, eax
jge 0x417390
mov esi, dword [esi + 8]
jmp 0x417394
mov ebp, esi
mov esi, dword [esi]
cmp byte [esi + 0x61], 0
je 0x417373
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
lea esi, [esp + 0x50]
push ebp
push esi
mov dword [esp + 0x50], 0
call fcn.004178c0
mov edx, dword [esp + 0x30]
add esp, 0x18
push edx
push ebx
push ebp
push esi
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call fcn.004083f0
mov ecx, esi
call fcn.004096d0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
jmp 0x417432
push 0x487360
lea ecx, [esp + 0xa4]
call dword [0x4843e4]
test eax, eax
jne 0x417432
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.004084c0
add eax, 4
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
call fcn.004084c0
mov ecx, eax
add ecx, 0x34
call dword [0x4843f4]
lea ecx, [esp + 0x40]
call fcn.004096d0
cmp dword [edi + 0xc], 0
jne 0x41743e
cmp dword [edi + 0x10], 0
je 0x417498
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x190]
call fcn.00407050
sub esp, 0x50
lea edx, [esp + 0x1dc]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
mov byte [esp + 0x23c], 0xc
call fcn.00407050
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
push 0
push 0
push ebx
push ebp
call eax
lea ecx, [esp + 0x18c]
call fcn.004036e0
push 0x1f4
call dword [0x484108]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1e8], 6
call fcn.004167d0
lea ecx, [esp + 0x8c]
call fcn.004036e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e8], 4
call dword [0x4844f8]
mov esi, dword [esp + 0x60]
cmp esi, dword [esp + 0x24]
jne 0x4174da
call dword [0x4846e8]
mov eax, dword [esi]
mov dword [esp + 0x60], eax
jmp 0x416ee0
lea ecx, [esp + 0x7c]
mov byte [edi + 0x30], 1
mov byte [esp + 0x1e8], 1
call fcn.00408110
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp esi, eax
mov dword [esp + 0x28], ebx
je 0x41753e
jmp 0x417520
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [0x4844f8]
push esi
call fcn.004736e0
mov eax, dword [esp + 0x28]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x417520
push eax
call fcn.004736e0
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x1e8], 0xffffffff
mov dword [esp + 0x24], ebx
call fcn.0040a2c0
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret