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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62bba6
add byte [ecx], ah
add byte [eax], al
add byte [eax - 0x7f], dl
in al, dx
cwde
add dword [eax], eax
add byte [ecx + 0x652018], ah
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov byte [esp + 0x3c], al
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], edi
test al, al
jne 0x4684ee
test byte [esi + 2], 1
mov byte [esp + 0x12], al
je 0x4684f3
mov byte [esp + 0x12], 1
test byte [esi + 2], 1
mov byte [esp + 0x4a], 0
jne 0x468884
cmp word [esi], 0x5c
jne 0x4686ac
mov ecx, dword [esi + 0x28]
call 0x3fbafe
movzx eax, byte [eax]
test byte [eax + eax*2 + 0x405210], 0x40
je 0x4686ac
mov eax, dword [esi + 0x28]
mov ecx, eax
mov dword [esp + 0x20], eax
call 0x3fbafe
mov edi, eax
mov eax, dword [esi + 0x2c]
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], eax
call 0x3fbafe
cmp byte [eax], 0x1f
jne 0x468884
cmp byte [esp + 0x24], 0
jne 0x468592
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x468592
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x468587
push 0
push dword [ecx + 0x24]
mov ecx, ebx
call fcn.0046ad3e
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x468565
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0x1000
or eax, 0
je 0x4685d3
mov eax, ecx
and eax, 0x20000
or eax, 0
jne 0x4685d3
cmp byte [ebx + 0x88], al
je 0x4685ce
push dword [esp + 0x14]
push 0x7751
push dword [ebx + 0x1c]
call 0x3cd1ce
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov byte [esp + 0x12], 1
mov eax, ecx
and eax, 0x4000
or eax, 0
je 0x468884
mov ecx, edi
call 0x3f680e
cmp dword [esp + 0x44], 0
mov ecx, eax
je 0x46861e
mov esi, dword [esp + 0x44]
lea edx, [ebx + 0x6c]
sub esp, 0x10
mov eax, esp
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
call fcn.0041f36e
mov esi, dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x14]
push dword [esp + 0x44]
push esi
push ecx
push 0x67
mov ecx, ebx
call fcn.004731ae
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x2c], eax
cmp byte [esp + 0x12], 0
je 0x46864a
or word [ecx + 2], 1
mov eax, dword [esp + 0x28]
and eax, 1
or eax, 0
je 0x46867c
cmp byte [ebx + 0x88], 0
je 0x468677
push dword [esp + 0x14]
push 0x756b
push dword [ebx + 0x1c]
call 0x3cd1ce
mov ecx, dword [esp + 0x3c]
add esp, 0xc
or word [ecx + 2], 1
cmp byte [ebx + 0x106], 0
je 0x4686a5
cmp dword [esi + 0x24], 0
jne 0x4686a5
test byte [edi + 1], 8
jne 0x4686a5
lea eax, [esi + 4]
mov ecx, ebx
push eax
push 0x7978
call fcn.00421dae
mov ecx, dword [esp + 0x30]
mov eax, ecx
jmp 0x4695f1
mov ecx, dword [esi + 0x1c]
call 0x3db36e
test al, al
je 0x4687df
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x13], 0
call 0x3c4cce
mov ecx, eax
call 0x3dad3e
mov edi, eax
lea ecx, [esp + 0x13]
mov eax, dword [ebx + 0xc]
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [eax + 0xc]
push 0
push ecx
mov ecx, ebx
mov esi, dword [eax + 0x2a8]
mov eax, dword [esp + 0x2c]
add eax, 4
push eax
call 0x400b7e
push eax
push 0
push 0x40002
push 0
push edi
push esi
mov ecx, ebx
call 0x3fcc8e
mov ecx, eax
call 0x400dce
mov edi, eax
test edi, edi
je 0x4687a5
mov ecx, edi
call 0x3fbafe
movzx eax, byte [eax]
test byte [eax + eax*2 + 0x405210], 0x40
je 0x4687a5
cmp byte [esp + 0x13], 0
jne 0x4687cf
mov ecx, edi
call 0x3e9d0e
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x40]
mov esi, dword [esp + 0x24]
push dword [esp + 0x34]
push dword [esp + 0x4c]
mov ecx, dword [esi + 0x1c]
push dword [esp + 0x44]
push dword [esp + 0x58]
push eax
push 0
push 0x20
push dword [ebx + 0x10]
lea eax, [ebx + 0x6c]
push eax
call fcn.0042194e
push eax
push esi
push 0
push edi
lea eax, [esi + 4]
mov ecx, ebx
push eax
call fcn.00462a7e
push eax
push dword [esp + 0x38]
mov ecx, ebx
call fcn.0046843e
mov ecx, 0x1000
or word [eax + 2], cx
jmp 0x4695f1
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
jne 0x4687d3
push dword [esi + 0x1c]
lea eax, [esi + 4]
mov ecx, ebx
push eax
push 0x760c
call fcn.0042201e
or word [esi + 2], 1
xor edi, edi
jmp 0x46887f
mov esi, dword [esp + 0x18]
or word [esi + 2], 1
xor edi, edi
jmp 0x46887f
movzx eax, word [esi]
cmp ax, 0x6a
jne 0x46881f
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x28]
mov ecx, eax
mov dword [esp + 0x20], eax
call 0x3fbafe
mov edi, eax
mov dword [esp + 0x1c], eax
mov eax, esi
mov esi, dword [esi + 0x24]
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
jmp 0x468884
cmp ax, 0x6b
jne 0x46885d
push dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, ebx
or eax, 0x2000
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x68]
push dword [esp + 0x34]
push dword [esp + 0x4c]
push dword [esp + 0x44]
push dword [esp + 0x58]
push eax
push esi
push dword [esp + 0x38]
call fcn.0046827e
jmp 0x4695f1
cmp byte [ebx + 0x88], 0
je 0x46887a
lea eax, [esi + 4]
push eax
push 0x76f6
push dword [ebx + 0x1c]
call 0x3cd1ce
add esp, 0xc
or word [esi + 2], 1
mov byte [esp + 0x12], 1
cmp word [esi], 0x5c
mov byte [esp + 0x13], 0
jne 0x468898
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x4688a0
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x12], 0
jne 0x468e84
test byte [edi + 0x79], 2
jne 0x4688f9
movzx eax, byte [edi]
test byte [eax + eax*2 + 0x405210], 4
je 0x4688eb
mov ecx, edi
call 0x3c4d6e
mov ecx, eax
call 0x3db47e
test al, al
je 0x4688eb
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4688f9
mov ecx, dword [eax + 0x50]
call 0x3dc91e
mov ecx, eax
call 0x3c4d6e
cmp eax, edi
jne 0x4688f9
test dword [esp + 0x4c], 0x1000
je 0x468ad8
mov eax, dword [esp + 0x28]
and eax, 0x80000000
or eax, 0
jne 0x468ad8
mov byte [esp + 0x13], al
lea esi, [ebx + 0x148]
mov byte [esp + 0x2f], al
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x3c]
push esi
mov dword [esp + 0x48], eax
call fcn.004775ee
mov dword [esp + 0x1b0], 0
test dword [esp + 0x4c], 0x10000
mov word [esi], 1
mov esi, dword [esp + 0x18]
jne 0x468a84
lea eax, [esp + 0x2f]
mov ecx, ebx
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esi + 0x24]
call fcn.004629fe
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x58]
mov ecx, ebx
push dword [esp + 0x4c]
push dword [esp + 0x40]
push dword [esp + 0x7c]
push dword [esp + 0x78]
push eax
push 0
push 0
push dword [esp + 0x70]
push dword [esp + 0x54]
push dword [esp + 0x4c]
call fcn.004c9cfe
cmp byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
je 0x468a88
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x468a23
mov eax, dword [ebx + 0x14c]
test eax, eax
je 0x468a23
test byte [eax + 1], 8
jne 0x468a23
cmp byte [ebx + 0x106], 0
jne 0x468a23
push esi
push 0x800
push dword [esp + 0x40]
push dword [esp + 0x34]
call fcn.0040125e
test al, al
jne 0x468a23
mov ecx, edi
call 0x3e9d0e
push eax
mov ecx, ebx
call 0x400b7e
push eax
mov ecx, ebx
call fcn.0041debe
test al, al
je 0x468a23
mov ecx, ebx
call 0x400b7e
push 0
mov ecx, ebx
mov esi, dword [eax + 0x84]
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
push 0
call 0x400b7e
push eax
push esi
mov ecx, ebx
call fcn.004733ae
mov esi, eax
push dword [esp + 0x38]
mov ecx, ebx
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x48]
push dword [esp + 0x70]
push dword [esp + 0x7c]
push edi
push esi
call fcn.00467a4e
mov edx, eax
mov dword [esp + 0x1b0], 0xffffffff
cmp byte [esp + 0x70], 0
mov dword [esp + 0x64], 0x4264fc
jne 0x468a7d
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x468a78
mov ax, word [esp + 0x68]
mov word [ecx], ax
mov byte [esp + 0x70], 1
mov eax, edx
jmp 0x4695f1
mov eax, dword [esp + 0x20]
cmp byte [esp + 0x12], 0
je 0x468a97
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x468aa4
mov ecx, eax
call 0x3fbafe
mov edi, eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x1b0], 0xffffffff
cmp byte [esp + 0x70], 0
mov dword [esp + 0x64], 0x4264fc
jne 0x468ad8
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x468ad3
mov ax, word [esp + 0x68]
mov word [ecx], ax
mov byte [esp + 0x70], 1
cmp byte [esp + 0x12], 0
jne 0x468e84
mov ecx, edi
call 0x3fbafe
cmp byte [eax], 0x1f
jne 0x468b14
test byte [edi + 0x7a], 0xc0
jne 0x468b14
cmp dword [edi + 0x68], 0
je 0x468b14
push dword [esp + 0x38]
lea edx, [esp + 0x17]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.00473b8e
mov edi, eax
mov dword [esp + 0x1c], edi
cmp byte [esp + 0x12], 0
jne 0x468e84
cmp byte [esp + 0x13], 0
je 0x468d10
push dword [esp + 0x14]
mov ecx, ebx
push edi
call fcn.00421cae
mov ecx, dword [ebx + 0x17c]
mov edx, edi
call 0x3f987e
test al, al
jne 0x468c78
cmp byte [ebx + 0x88], al
je 0x468c2b
push ecx
lea ecx, [esp + 0x78]
call fcn.0041538e
mov dword [esp + 0x1b0], 1
mov ecx, dword [ebx + 0x17c]
mov al, byte [ecx + 0x1a]
test al, al
je 0x468b80
call fcn.00407dfe
jmp 0x468b83
mov eax, dword [ecx + 0x3c]
mov ecx, edi
mov dword [esp + 0x30], eax
call 0x3e0b3e
mov ecx, eax
mov al, byte [ecx + 0x1a]
test al, al
je 0x468b9e
call fcn.00407dfe
jmp 0x468ba1
mov eax, dword [ecx + 0x3c]
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x34], eax
jne 0x468bb2
mov esi, 0x404b4c
jmp 0x468bdf
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
jne 0x468bc0
xor eax, eax
jmp 0x468bc5
call 0x3e0aae
push dword [ebx + 0x10]
lea ecx, [esp + 0x78]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebx + 0x1c]
push eax
push edi
call 0x3cd75e
mov esi, eax
mov ecx, edi
call 0x3e0b3e
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x38]
push esi
push dword [esp + 0x20]
push dword [eax + 0x3c]
push dword [ebx + 0x1c]
push dword [ebx + 0xc]
call 0x3e0b3e
push eax
push dword [ebx + 0x17c]
push 0x7d04
call fcn.0041e59e
add esp, 0x28
mov dword [esp + 0x1b0], 0xffffffff
lea ecx, [esp + 0x74]
call 0x3cc30e
push 0x2c
lea ecx, [ebx + 0x24]
call fcn.0053ac3e
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, 0x2c
mov word [esi], ax
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0xc]
mov ecx, 0x65e308
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0x65e308
call 0x3db1de
mov dword [esi + 0x14], eax
or word [esi + 2], 1
jmp 0x4695ef
test dword [esp + 0x4c], 0x10000
mov ecx, dword [esi + 0x2c]
jne 0x468caa
test ecx, ecx
jne 0x468c9a
mov ecx, dword [esi + 0x28]
call 0x3e9c7e
mov ecx, eax
call 0x3c4d6e
mov ecx, eax
push dword [ebx + 0x10]
lea eax, [ebx + 0x6c]
mov edx, edi
push eax
call fcn.0042194e
mov ecx, eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x468ccc
lea edx, [esp + 0x12]
push edx
push ecx
push eax
push dword [esp + 0x40]
push dword [esp + 0x68]
push edi
push ecx
mov ecx, ebx
call fcn.00421a8e
mov ecx, eax
mov dword [esi + 0x2c], ecx
cmp byte [ebx + 0x109], 0
je 0x468d05
mov ecx, dword [esp + 0x14]
lea eax, [esi + 4]
push eax
call fcn.0042b09e
test al, al
je 0x468d05
mov ecx, edi
call 0x3fbafe
cmp byte [eax], 0x1f
je 0x468d05
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x10], eax
cmp byte [esp + 0x12], 0
jne 0x468e84
mov ecx, edi
call 0x3fbafe
cmp byte [eax], 0x1f
jne 0x468e65
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0x20000
mov dword [esp + 0x24], eax
or eax, 0
je 0x468d3c
mov eax, dword [edi + 0x84]
jmp 0x468d42
mov eax, dword [edi + 0x80]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x468d67
push dword [esp + 0x14]
push dword [esp + 0x3c]
push ecx
push edi
mov ecx, ebx
call fcn.00473bde
mov byte [esp + 0x12], 1
xor edi, edi
jmp 0x468e88
push dword [esi + 0x24]
mov ecx, ebx
call fcn.004629fe
push eax
push dword [esi + 0x2c]
mov ecx, ebx
push dword [esp + 0x28]
call 0x3fc28e
test al, al
jne 0x468dce
mov eax, dword [esp + 0x24]
or eax, 0
mov dword [esp + 0x34], 1
jne 0x468d9d
mov dword [esp + 0x34], 0
push dword [ebx + 0xc]
mov ecx, edi
call 0x3e442e
push eax
push dword [esp + 0x18]
xor eax, eax
mov ecx, ebx
cmp byte [esp + 0x3c], al
sete al
add eax, 0x797e
push eax
call fcn.0042212e
mov byte [esp + 0x12], 1
xor edi, edi
jmp 0x468e88
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x14c]
jne 0x468e31
mov ecx, edi
call 0x3e400e
cmp eax, 1
jae 0x468e31
test byte [edi + 1], 8
jne 0x468e16
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x468e16
cmp word [ecx], 0x5c
jne 0x468e31
mov eax, dword [ecx + 0x28]
movzx eax, byte [eax]
test byte [eax + eax*2 + 0x405210], 0x80
je 0x468e31
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x5c]
shr eax, 8
test al, 1
je 0x468e31
push dword [ebx + 0xc]
mov ecx, edi
call 0x3e442e
push eax
push dword [esp + 0x18]
mov ecx, ebx
push 0xa42a
call fcn.0042212e
cmp byte [esp + 0x12], 0
jne 0x468e84
mov ecx, edi
call 0x3fbafe
cmp byte [eax], 0x1f
jne 0x468e53
push dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x24]
call fcn.00421cae
mov eax, dword [esp + 0x20]
mov ecx, eax
mov dword [esi + 0x28], eax
call 0x3fbafe
mov edi, eax
jmp 0x468e88
cmp byte [edi], 0xc
jne 0x468e31
push edi
lea eax, [esi + 4]
mov ecx, ebx
push eax
push 0x7d16
call fcn.0042201e
mov byte [esp + 0x12], 1
xor edi, edi
jmp 0x468e88
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x20], eax
cmp byte [esp + 0x12], al
jne 0x468fd3
mov edx, dword [esi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0x160]
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x468ed3
test edx, edx
je 0x468ed3
cmp word [edx], 0x5c
jne 0x468ed3
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 0x5c]
shr eax, 8
test al, 1
je 0x468ed3
test byte [edi + 1], 8
jne 0x468edd
push edi
call fcn.004812ee
mov edx, dword [esp + 0x20]
test byte [edi + 1], 8
je 0x468f7d
mov ecx, dword [esp + 0x38]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x468f2b
test byte [edi + 0x78], 4
je 0x468ef8
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 4]
jmp 0x468efb
mov eax, dword [edi + 4]
cmp byte [ebx + 0x88], 0
je 0x468f22
test eax, eax
jne 0x468f0d
mov eax, 0x404b4c
push eax
lea eax, [esi + 4]
push eax
push 0x790f
push dword [ebx + 0x1c]
call 0x3cd1ce
add esp, 0x10
mov byte [esp + 0x12], 1
xor edi, edi
jmp 0x468f6c
test edx, edx
je 0x468f6c
test byte [edx + 0x1a], 2
jne 0x468f6c
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
je 0x468f6c
cmp byte [ecx], 0xa
jne 0x468f5c
mov eax, dword [ecx + 0x8c]
and al, 0x1f
cmp al, 1
je 0x468f5c
mov eax, dword [ecx + 0x8c]
and al, 0x1f
cmp al, 2
jne 0x468f6c
lea eax, [esi + 4]
mov ecx, ebx
push eax
push 0xa429
call fcn.00421dae
cmp byte [ebx + 0x109], 0
jne 0x468fd3
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x468fd3
test edx, edx
jne 0x468fd3
test byte [edi + 0x79], 4
jne 0x468fd3
mov eax, dword [esi]
mov ecx, edi
mov esi, dword [ebx]
shr eax, 0x1c
push edx
and al, 1
push 1
mov byte [esp + 0x2c], al
push dword [esp + 0x2c]
call 0x3e9d0e
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebx
add eax, 4
push eax
call dword [esi + 0x28]
mov edx, eax
mov dword [esp + 0x20], edx
test byte [edx + 2], 1
je 0x468fc3
mov byte [esp + 0x12], 1
jmp 0x468fd3
mov ecx, dword [ebx + 0x160]
test ecx, ecx
je 0x468fd3
push edi
call fcn.004812ee
test edi, edi
je 0x468ff2
mov ecx, dword [edi + 0x50]
call 0x3dc91e
test eax, eax
je 0x468ff2
mov ecx, edi
call 0x3f680e
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x468ffb
mov esi, 0x65e308
mov dword [esp + 0x1c], esi
mov ecx, esi
call fcn.00481b8e
test al, al
je 0x469028
cmp byte [ebx + 0x88], 0
je 0x469020
push dword [ebx + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, esi
push dword [ebx + 0xc]
call fcn.00421b1e
mov al, 1
mov byte [esp + 0x12], al
jmp 0x46902c
mov al, byte [esp + 0x12]
test edi, edi
je 0x46916f
test al, al
jne 0x46916f
test byte [edi + 0x78], 2
mov ecx, dword [esp + 0x28]
je 0x46907b
mov eax, ecx
and eax, 0x20000
or eax, 0
je 0x46907b
push dword [ebx + 0xc]
mov ecx, edi
call 0x3e442e
mov esi, dword [esp + 0x18]
mov ecx, ebx
push eax
lea eax, [esi + 4]
push eax
push 0x7592
call fcn.0042212e
mov byte [esp + 0x12], 1
jmp 0x469173
mov esi, dword [esp + 0x18]
cmp word [esi], 0x5c
jne 0x46908e
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x44], eax
jmp 0x469096
mov dword [esp + 0x44], 0
lea eax, [esi + 4]
mov byte [esp + 0x53], 0
push eax
lea eax, [esp + 0x33]
mov byte [esp + 0x56], 0
push eax
lea eax, [esp + 0x1b]
mov byte [esp + 0x51], 1
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x5d], 1
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x5b], 0
push eax
push 0
push ecx
push 0
lea eax, [esp + 0x70]
mov byte [esp + 0x70], 1
push eax
lea eax, [esp + 0x6f]
mov dword [esp + 0x58], 0
push eax
lea eax, [esp + 0x79]
mov dword [esp + 0x4c], 0
push eax
lea eax, [esp + 0x75]
mov byte [esp + 0x3f], 0
push eax
lea eax, [esp + 0x82]
mov byte [esp + 0x5f], 0
push eax
lea eax, [esp + 0x87]
push eax
lea eax, [esp + 0x82]
push eax
lea eax, [esp + 0x4e]
push eax
sub esp, 0x10
lea eax, [esp + 0x94]
push dword [esp + 0x80]
push dword [esp + 0xa0]
push dword [esp + 0x90]
push ecx
push 0
push dword [esp + 0xa4]
mov ecx, ebx
push eax
push dword [esp + 0xc0]
push edi
push dword [esp + 0x88]
call fcn.004642ce
cmp word [esi], 0x5c
mov dword [esp + 0x40], eax
jne 0x4691ab
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x2c], ecx
jmp 0x469173
mov esi, dword [esp + 0x18]
cmp word [esi], 0x5c
jne 0x4691ab
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4691ab
sub esp, 0x10
lea edx, [ebx + 0x6c]
mov eax, esp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
call fcn.0041f36e
mov dword [esp + 0x1c], eax
jmp 0x4691af
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x46923d
test byte [edi + 0x78], 4
je 0x46921c
cmp word [esi], 0x5c
jne 0x4691fd
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4691fd
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], ecx
mov ecx, edi
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
call 0x3e40ce
mov ecx, eax
call 0x3dd1ee
lea edx, [ebx + 0x6c]
mov ecx, eax
call fcn.0041f36e
jmp 0x46921c
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x469217
mov eax, dword [ecx + 4]
test eax, eax
je 0x469217
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x46920e
call 0x3dd1ee
mov esi, eax
mov ecx, esi
call fcn.00481b8e
test al, al
jne 0x46923d
mov eax, dword [esp + 0x5c]
mov ecx, ebx
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.0046296e
jmp 0x469241
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x1c], 0
jne 0x469264
push esi
push 0
push 0
push 0x65e308
push 0x2c
mov ecx, ebx
call fcn.004731ae
mov esi, eax
or word [esi + 2], 1
jmp 0x4692ce
push 0x34
lea ecx, [ebx + 0x24]
call fcn.0053ac3e
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, 0x60
mov word [esi], ax
mov ax, word [ecx + 2]
and ax, 1
mov dword [esi + 0x24], ecx
or word [esi + 2], ax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4692a2
mov ax, word [ecx + 2]
and ax, 1
mov dword [esi + 0x28], ecx
or word [esi + 2], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [esi + 0x1c], eax
call 0x3db1de
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], ecx
cmp byte [esp + 0x12], 0
jne 0x468c6e
test byte [edi + 1], 8
mov edx, 0x2000
jne 0x46934f
cmp byte [edi], 0xd
je 0x46934f
test byte [edi + 0x79], 4
jne 0x46934f
test ecx, ecx
je 0x4693ab
cmp word [ecx], 0x5c
jne 0x469357
mov eax, 0xc000
test word [ecx + 2], ax
je 0x469357
mov eax, dword [esp + 0x18]
or word [eax + 2], dx
mov dl, byte [edi + 0x78]
test dl, 0x20
je 0x469357
test dl, 0x40
jne 0x469357
add eax, 4
push edi
push eax
mov eax, dword [ecx]
mov ecx, ebx
shr eax, 0x1f
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xffffff29
add eax, 0x7796
push eax
call fcn.0042201e
mov ecx, dword [esp + 0x20]
jmp 0x469357
mov eax, dword [esp + 0x18]
or word [eax + 2], dx
test ecx, ecx
je 0x4693ab
mov ecx, dword [ecx + 0x1c]
cmp byte [ecx], 0x24
je 0x46936c
call 0x3e915e
test al, al
je 0x4693ab
mov ecx, edi
call 0x3e9d0e
mov ecx, eax
call 0x3e915e
test al, al
je 0x46938b
mov eax, dword [esp + 0x18]
mov ecx, 0x2000
or word [eax + 2], cx
mov eax, dword [esp + 0x20]
push 0
push ecx
push 0
push eax
push edi
mov ecx, ebx
call fcn.0046783e
mov dword [esi + 0x2c], eax
test byte [eax + 2], 1
je 0x4693ab
or word [esi + 2], 1
mov eax, dword [esp + 0x28]
and eax, 0x8000000
or eax, 0
jne 0x4693f6
mov ecx, dword [ebx + 0xc]
push esi
call 0x3c840e
test al, al
je 0x4693f6
push dword [esp + 0x38]
mov ecx, ebx
push dword [esp + 0x2c]
push esi
call fcn.0046961e
mov esi, eax
test byte [esi + 2], 1
jne 0x4695ef
mov ecx, esi
call fcn.0042856e
test al, al
je 0x46959c
jmp 0x4695ef
test byte [edi + 0x78], 2
je 0x46959c
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x46959c
mov ecx, dword [ecx + 0x1c]
call 0x3db1de
cmp eax, 0x14
jne 0x46959c
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0xc], 1
jne 0x46959c
cmp byte [ebx + 0x109], 0
jne 0x46959c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0x290]
mov edx, ecx
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [esp + 0x30], eax
call 0x3cc62e
test al, al
je 0x4694b3
mov ecx, dword [ebx + 0x210]
push 1
push dword [esp + 0x18]
call fcn.004811ce
mov ecx, eax
call 0x3c4cce
push eax
push dword [esp + 0x30]
mov ecx, ebx
call fcn.0041e9de
test eax, eax
je 0x46959c
cmp byte [eax], 0x1f
jne 0x46959c
cmp edi, dword [eax + 0x80]
jne 0x46959c
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x964]
jmp 0x469521
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x294]
mov edx, eax
mov dword [esp + 0x24], eax
call 0x3cc62e
test al, al
je 0x46959c
mov ecx, dword [ebx + 0x210]
push 1
push dword [esp + 0x18]
call fcn.004811ce
mov ecx, eax
call 0x3c4cce
push eax
push dword [esp + 0x30]
mov ecx, ebx
call fcn.0041e9de
test eax, eax
je 0x46959c
cmp byte [eax], 0x1f
jne 0x46959c
cmp edi, dword [eax + 0x80]
jne 0x46959c
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x97c]
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x46954b
push dword [esp + 0x14]
mov ecx, ebx
push 0
push 0
push 0x65e308
push 0x2c
call fcn.004731ae
mov esi, eax
or word [esi + 2], 1
jmp 0x46959c
push 0x2c
lea ecx, [ebx + 0x24]
call fcn.0053ac3e
mov esi, eax
mov eax, 0x31
mov word [esi], ax
test edi, edi
je 0x469572
mov ax, word [edi + 2]
and ax, 1
or word [esi + 2], ax
mov dword [esi + 0x24], edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], ecx
call 0x3db1de
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 1
or eax, 0
je 0x4695d0
cmp byte [ebx + 0x88], 0
je 0x4695cb
push dword [esp + 0x14]
push 0x756b
push dword [ebx + 0x1c]
call 0x3cd1ce
mov ecx, dword [esp + 0x34]
add esp, 0xc
or word [esi + 2], 1
and ecx, 0x1000
or ecx, 0
je 0x4695ef
mov ecx, 0x65e308
mov dword [esi + 0x1c], 0x65e308
call 0x3db1de
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call 0x59f18f
mov esp, ebp
pop ebp
ret 0x28