Function at 0x3704150
Capabilities:
Check os version
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
xor eax, eax
mov dword [esp + 0x58], ecx
test ecx, ecx
push esi
setne al
mov dword [0x1011f374], eax
push edi
test ecx, ecx
je 0x370418b
mov eax, dword [ecx]
mov dword [0x1011f678], eax
mov eax, dword [ecx + 4]
mov dword [0x1011f67c], eax
mov eax, dword [ecx + 8]
mov dword [0x1011f5ac], eax
jmp 0x37041b6
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x37041ab
test eax, eax
jne 0x37041ab
call fcn.036c6ba0
mov dword [0x1011f678], eax
mov dword [0x1011f67c], edx
jmp 0x37041b6
mov dword [0x1011f678], ecx
mov dword [0x1011f67c], eax
call dword [0x100f5278]
mov dword [0x1011f74c], eax
call fcn.0366a9f0
sub esp, 8
call fcn.03708400
mov esi, dword [0x100f5270]
add esp, 8
call esi
mov dword [0x1011f460], eax
call esi
mov dword [0x1011f754], eax
call esi
mov dword [0x1011e8a8], eax
call esi
push 0x10114b2c
push 0x10107160
mov dword [0x1011e8a0], eax
mov dword [0x1011f5cc], 0
call dword [0x100f50f4]
push eax
call dword [0x100f50ac]
mov dword [0x1011f748], eax
test eax, eax
je 0x370422f
push 0x1011f5cc
call dword [0x100f5260]
push eax
call dword [0x1011f748]
mov eax, dword [0x1011f5cc]
xor ecx, ecx
mov edi, dword [0x100f50a8]
test eax, eax
push 0x10106df0
setne cl
mov dword [0x1011f61c], eax
lea ecx, [ecx*4 + 4]
mov dword [0x1011f760], ecx
call edi
mov esi, eax
push 0x10114b3c
push esi
call dword [0x100f50ac]
push 0x10106f34
push esi
mov dword [0x1011f5b8], eax
call dword [0x100f50ac]
push 0x10114b48
push esi
mov dword [0x1011f348], eax
call dword [0x100f50ac]
push 0x10114b58
push esi
mov dword [0x1011f44c], eax
call dword [0x100f50ac]
push 0x101128a0
push esi
mov dword [0x1011f358], eax
call dword [0x100f50ac]
push 0x10114b6c
push esi
mov dword [0x1011f448], eax
call dword [0x100f50ac]
push 0x1010e480
push esi
mov dword [0x1011f354], eax
call dword [0x100f50ac]
push 0x1010e3e0
push esi
mov dword [0x1011f744], eax
call dword [0x100f50ac]
push 0x1010e468
push esi
mov dword [0x1011f740], eax
call dword [0x100f50ac]
push 0x10106e04
push esi
mov dword [0x1011f73c], eax
call dword [0x100f50ac]
push 0x10114b84
push esi
mov dword [0x1011f738], eax
call dword [0x100f50ac]
push 0x1010e62c
push esi
mov dword [0x1011f444], eax
call dword [0x100f50ac]
push 0x10114b9c
push esi
mov dword [0x1011f350], eax
call dword [0x100f50ac]
push 0x1010e3c4
push esi
mov dword [0x1011f734], eax
call dword [0x100f50ac]
push 0x10114bb4
push esi
mov dword [0x1011f5e4], eax
call dword [0x100f50ac]
push 0x10114bd0
push esi
mov dword [0x1011f5e0], eax
call dword [0x100f50ac]
push 0x10114be4
push esi
mov dword [0x1011f43c], eax
call dword [0x100f50ac]
push 0x10114c00
mov dword [0x1011f730], eax
push esi
call dword [0x100f50ac]
push 0x1010e204
push esi
mov dword [0x1011f35c], eax
call dword [0x100f50ac]
push 0x1010e240
push esi
mov dword [0x1011f648], eax
call dword [0x100f50ac]
push 0x10114c14
push esi
mov dword [0x1011f478], eax
call dword [0x100f50ac]
push 0x10114c34
push esi
mov dword [0x1011f454], eax
call dword [0x100f50ac]
push 0x10114c4c
push esi
mov dword [0x1011f72c], eax
call dword [0x100f50ac]
push 0x10114c64
push esi
mov dword [0x1011f728], eax
call dword [0x100f50ac]
push 0x10114c7c
push esi
mov dword [0x1011f724], eax
call dword [0x100f50ac]
push 0x10114c90
push esi
mov dword [0x1011f720], eax
call dword [0x100f50ac]
push 0x10114ca8
push esi
mov dword [0x1011f71c], eax
call dword [0x100f50ac]
push 0x10114cb4
push esi
mov dword [0x1011f718], eax
call dword [0x100f50ac]
push 0x10114cc4
push esi
mov dword [0x1011f714], eax
call dword [0x100f50ac]
push 0x10114cdc
push esi
mov dword [0x1011f710], eax
call dword [0x100f50ac]
push 0x1010e1d8
push esi
mov dword [0x1011f70c], eax
call dword [0x100f50ac]
push 0x1010e180
push esi
mov dword [0x1011f708], eax
call dword [0x100f50ac]
push 0x1010e1f0
push esi
mov dword [0x1011f704], eax
call dword [0x100f50ac]
push 0x10114ce8
push esi
mov dword [0x1011f47c], eax
call dword [0x100f50ac]
push 0x10114c34
push esi
mov dword [0x1011f76c], eax
call dword [0x100f50ac]
push 0x1010e3ac
push esi
mov dword [0x1011f72c], eax
call dword [0x100f50ac]
push 0x1010e118
push esi
mov dword [0x1011f700], eax
call dword [0x100f50ac]
push 0x1010e130
push esi
mov dword [0x1011f474], eax
call dword [0x100f50ac]
push 0x1010e368
push esi
mov dword [0x1011f6fc], eax
call dword [0x100f50ac]
push 0x1010e1a0
push esi
mov dword [0x1011f6f8], eax
call dword [0x100f50ac]
push 0x1010e198
push esi
mov dword [0x1011f6f4], eax
call dword [0x100f50ac]
push 0x10114d00
push esi
mov dword [0x1011f6f0], eax
call dword [0x100f50ac]
push 0x10107160
mov dword [0x1011f34c], eax
call edi
mov edi, dword [0x100f50ac]
mov esi, eax
push 0x1010e51c
push esi
call edi
push 0x10114d08
push esi
mov dword [0x1011f5c8], eax
call edi
push 0x10114d18
push esi
mov dword [0x1011f5d0], eax
call edi
push 0x10114d2c
push esi
mov dword [0x1011f5c4], eax
call edi
push 0x10114d40
push esi
mov dword [0x1011f5d4], eax
call edi
push 0x10114d4c
push esi
mov dword [0x1011f480], eax
call edi
push 0x10114d6c
push esi
mov dword [0x1011f5dc], eax
call edi
push 0x10114d8c
push esi
mov dword [0x1011f5d8], eax
call edi
push 0x10114da8
push esi
mov dword [0x1011f6ec], eax
call edi
push 0x10114db4
push esi
mov dword [0x1011f658], eax
call edi
push 0x10114dd4
push esi
mov dword [0x1011f654], eax
call edi
push 0x10114df0
push esi
mov dword [0x1011f758], eax
call edi
push 0x10114e10
push esi
mov dword [0x1011f75c], eax
call edi
push 0x100d2980
push 1
mov dword [0x1011f5bc], eax
call dword [0x1011f758]
push 8
push 0x1011f65c
mov dword [0x1011f6e8], eax
call dword [0x1011f44c]
push 0x40
mov edi, dword [0x100f5088]
push 0x1000
push 0x25
push 0
call edi
push 0x25
push 0x10115168
push eax
mov dword [0x1011f6e4], eax
call dword [0x1011f348]
mov ecx, 0x1c
call fcn.03707780
mov esi, eax
test esi, esi
je 0x3704658
lea ecx, [esi + 4]
mov dword [esi], 0x10106cb4
mov dword [ecx + 0xc], 0
call fcn.0362ab70
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jmp 0x370465a
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
mov dword [0x1011f750], esi
call dword [eax + 4]
call fcn.0366a6b0
push 0
push 0x1011f6dc
push 1
push 0x10114e20
mov dword [0x1011f6e0], eax
call dword [0x100f503c]
mov esi, dword [0x100f5044]
test eax, eax
je 0x37046de
lea eax, [esp + 0x34]
mov dword [esp + 0x64], 0
push eax
push 0x1011f6d8
lea eax, [esp + 0x6c]
mov dword [esp + 0x3c], 0
push eax
push dword [0x1011f6dc]
call dword [0x100f5040]
test eax, eax
je 0x37046de
push 1
push 0x1011f6c4
call esi
push dword [esp + 0x34]
push dword [0x1011f6d8]
push 1
push 0x1011f6c4
call dword [0x100f5048]
push 1
push 0x1011f6b0
call esi
push 0
push 0
push 1
push 0x1011f6b0
call dword [0x100f504c]
push 4
push 0x1000
push 0x1000000
push 0
call edi
push 0
push 0x400
mov edx, 0x1000000
mov dword [0x1011f6ac], eax
mov ecx, eax
call fcn.037053f0
add esp, 8
test eax, eax
je 0x37053e1
push 0x1011f5e8
call dword [0x100f5190]
push 0x1011f488
mov dword [0x1011f488], 0x11c
call dword [0x100f5204]
mov ecx, dword [0x1011f48c]
mov eax, dword [0x1011f490]
cmp ecx, 6
jb 0x370476a
mov dword [0x1011f468], 1
cmp eax, 1
jae 0x3704774
mov dword [0x1011f468], 0
cmp ecx, 6
jb 0x3704788
mov dword [0x1011f440], 1
cmp eax, 2
jae 0x3704792
mov dword [0x1011f440], 0
mov ecx, 0x20000
call fcn.03707780
mov dword [0x1011f458], eax
xor esi, esi
push esi
call dword [0x1011f738]
mov ecx, dword [0x1011f458]
mov word [ecx + esi*2], ax
inc esi
cmp esi, 0x10000
jl 0x37047a3
mov edi, 0xc
mov ecx, edi
call fcn.03707780
mov esi, eax
test esi, esi
je 0x37047fb
push 0
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0362a270
mov eax, dword [esi]
xor ecx, ecx
mov dword [0x1011f640], esi
mov word [eax], cx
jmp 0x3704805
mov dword [0x1011f640], 0
lea eax, [esp + 0x28]
push eax
push 8
call dword [0x100f5260]
push eax
call dword [0x100f5028]
test eax, eax
je 0x37048f3
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
push 0
push 1
push dword [esp + 0x38]
call dword [0x100f5050]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x37048e4
mov ecx, edi
call fcn.03707780
mov esi, eax
lea eax, [esp + 0x24]
push eax
push edi
push esi
push 1
push dword [esp + 0x38]
call dword [0x100f5050]
test eax, eax
je 0x37048d9
lea eax, [esp + 0x38]
push eax
push dword [esi]
call dword [0x100f5010]
push dword [esp + 0x38]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.0362a210
mov edi, dword [esp + 0x44]
mov ecx, dword [0x1011f640]
push edi
call fcn.0362a210
test edi, edi
je 0x37048cf
mov ecx, edi
call fcn.03707920
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push dword [esp + 0x38]
call dword [0x100f51c4]
test esi, esi
je 0x37048e4
mov ecx, esi
call fcn.03707920
push dword [esp + 0x28]
call dword [0x100f5250]
mov edi, 0xc
push 0x1010c5d4
push 0x1011f6a4
call dword [0x1011f448]
xor ecx, ecx
mov eax, 0x10114e40
lea ebx, [ebx]
lea eax, [eax + 2]
xor edx, edx
lea ecx, [ecx + 1]
cmp dx, word [eax]
jne 0x3704910
lea eax, [ecx*2 + 2]
push eax
push edx
call dword [0x100f5104]
push eax
call dword [0x100f5108]
mov edx, eax
mov ecx, 0x10114e40
mov dword [0x1011f438], edx
xor eax, eax
lea ecx, [ecx + 2]
xor esi, esi
lea eax, [eax + 1]
cmp si, word [ecx]
jne 0x3704942
lea eax, [eax*2 + 2]
push eax
push 0x10114e40
push edx
call dword [0x1011f348]
push 0x10114fb8
call dword [0x100f50a8]
mov dword [0x1011f6a0], eax
test eax, eax
je 0x3704a14
mov esi, dword [0x100f50ac]
push 0x10114fc8
push eax
call esi
push 0x10114fe8
push dword [0x1011f6a0]
mov dword [0x1011f64c], eax
call esi
push 0x10115014
push dword [0x1011f6a0]
mov dword [0x1011f764], eax
call esi
mov dword [0x1011f768], eax
mov eax, dword [0x1011f6a0]
test eax, eax
je 0x3704a20
push 0x10
push 1
push eax
call dword [0x100f51d0]
mov esi, eax
push esi
push dword [0x1011f6a0]
call dword [0x100f51d8]
push eax
call dword [0x100f51dc]
push esi
push dword [0x1011f6a0]
mov dword [esp + 0x18], eax
call dword [0x100f51e0]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x3704a1a
add eax, 0x26
xor ecx, ecx
cmp cx, word [eax]
jne 0x3704a0a
nop
add eax, 2
xor ecx, ecx
cmp cx, word [eax]
je 0x3704a00
mov eax, dword [eax + 0x10]
mov dword [0x1011f650], eax
jmp 0x3704a1a
mov dword [0x1011f64c], esi
mov esi, dword [0x100f50ac]
push 0x10115040
push 0x10106df0
call dword [0x100f50f4]
push eax
call esi
push 0x1011505c
mov dword [0x1011f644], eax
call dword [0x100f50a8]
push 0x10114e10
push eax
mov dword [0x1011f69c], eax
call esi
push 0x10115078
mov dword [0x1011f5bc], eax
call dword [0x100f50a8]
push 0x10115088
push eax
mov dword [0x1011f698], eax
call esi
mov esi, dword [0x100f5104]
push 2
push 0
mov dword [0x1011f45c], eax
mov dword [esp + 0x14], 1
call esi
push eax
call dword [0x100f5108]
xor ecx, ecx
mov dword [0x1011f484], eax
mov word [eax], cx
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [0x100f5208]
test eax, eax
jne 0x3704ae0
call dword [0x100f526c]
cmp eax, 0x6f
jne 0x3704ae0
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
add eax, eax
push eax
push dword [0x1011f484]
push 0
call esi
push eax
call dword [0x100f5134]
lea ecx, [esp + 0xc]
mov dword [0x1011f484], eax
push ecx
push eax
call dword [0x100f5208]
call dword [0x100f5244]
mov ecx, 0x10000
mov dword [0x1011f694], eax
call fcn.03707780
mov esi, eax
mov dword [0x1011f60c], 1
lea eax, [esp + 0x20]
push eax
push 0x1011509c
push 0x80000005
call dword [0x100f500c]
test eax, eax
jne 0x3704b72
lea eax, [esp + 0x40]
push eax
push 0x10000
push esi
push 7
push dword [esp + 0x30]
call dword [0x1011f744]
neg eax
sbb eax, eax
inc eax
mov dword [0x1011f60c], eax
lea eax, [esp + 0x40]
push eax
push 0x10000
push esi
push 5
push dword [esp + 0x30]
call dword [0x1011f744]
test eax, eax
mov eax, dword [esp + 0x20]
cmove edi, dword [esp + 0x40]
mov dword [0x1011f614], edi
mov edi, dword [0x100f5018]
test eax, eax
je 0x3704b78
push eax
call edi
jmp 0x3704b78
mov edi, dword [0x100f5018]
test esi, esi
je 0x3704b83
mov ecx, esi
call fcn.03707920
mov ecx, 0x10000
call fcn.03707780
mov esi, eax
mov dword [0x1011f610], 1
lea eax, [esp + 0x30]
push eax
push 0x1011509c
push 0x80000005
call dword [0x100f500c]
test eax, eax
jne 0x3704be1
lea eax, [esp + 0x12c]
push eax
push 0x10000
push esi
push 7
push dword [esp + 0x40]
call dword [0x1011f744]
neg eax
sbb eax, eax
inc eax
mov dword [0x1011f610], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x3704be1
push eax
call edi
test esi, esi
je 0x3704bec
mov ecx, esi
call fcn.03707920
push 0x101150ac
lea eax, [esp + 0x110]
mov dword [esp + 0x40], 0xfefe
push eax
call dword [0x1011f448]
lea eax, [esp + 0x10c]
mov dword [esp + 0xf4], 0x18
mov dword [esp + 0xfc], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x108], 0
push eax
push 0x20019
lea eax, [esp + 0x134]
mov dword [esp + 0x118], 0x40
push eax
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
call dword [0x1011f740]
xor eax, eax
cmp dword [esp + 0x3c], eax
push 0x20
sete al
push 0x1011f620
mov dword [0x1011f618], eax
call dword [0x1011f44c]
mov eax, dword [0x1011f614]
mov dword [0x1011f634], eax
lea eax, [esp + 0x120]
push 0x101150c8
push eax
mov dword [0x1011f620], 0x10
mov dword [0x1011f624], 0x18
mov dword [0x1011f628], 0x2c
mov dword [0x1011f62c], 4
mov dword [0x1011f630], 0x28
mov dword [0x1011f638], 4
mov dword [0x1011f63c], 4
mov dword [esp + 0x10], 0
call dword [0x1011f448]
lea eax, [esp + 0x120]
mov dword [esp + 0xc4], 0x18
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xc4]
push eax
push 0x20019
lea eax, [esp + 0x10]
mov dword [esp + 0xd0], 0
push eax
mov dword [esp + 0xdc], 0x40
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
call dword [0x1011f73c]
test eax, eax
jne 0x3704ff1
mov dword [esp + 0x14], eax
mov edi, 1
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
test edi, edi
je 0x3704d89
mov ecx, edi
call fcn.03707780
mov esi, eax
mov eax, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x128]
push ecx
push eax
push esi
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [0x1011f744]
cmp eax, 0xc0000023
jne 0x3704ec9
test esi, esi
je 0x3704eb2
mov dword [esp + 0x94], 0
lea eax, [esp + 0x68]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x90], 0x1011f690
mov dword [esp + 0x98], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x90]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xffffffff
movdqu xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0x70]
mov esi, eax
cmp esi, dword [ecx]
je 0x3704e47
mov ecx, dword [esp + 0x70]
cmp dword [ecx], 0
jne 0x3704eb8
push 0
push esi
push dword [esp + 0x78]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x3704eb8
mov eax, dword [esp + 0x78]
mov dword [eax], 0
mov eax, dword [esp + 0x78]
inc dword [eax]
mov al, 1
push dword [esp + 0x18]
mov byte [esp + 0x88], al
push 1
push dword [0x1011f2ec]
call dword [0x100f5100]
cmp byte [esp + 0x84], 0
je 0x3704eb2
mov esi, dword [esp + 0x80]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3704eb2
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3704eb2
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
inc edi
jmp 0x3704d66
push ecx
push esi
lea ecx, [esp + 0x70]
call fcn.03703a20
test al, al
jne 0x3704e47
jmp 0x3704e4f
cmp eax, 0x80000005
je 0x3704ee8
test eax, eax
je 0x3704ee8
test esi, esi
je 0x3704fdf
mov ecx, esi
call fcn.03707920
jmp 0x3704fcf
mov eax, dword [esp + 0x14]
mov dword [eax*4 + 0x1011f620], edi
test esi, esi
je 0x3704fdf
lea eax, [esp + 0xa4]
mov dword [esp + 0x54], 0
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x2f]
push ecx
mov dword [esp + 0x60], 0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x54], 0x1011f690
mov dword [esp + 0x5c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x54]
mov dword [esp + 0xa8], 0
push eax
mov dword [esp + 0xb0], 0xffffffff
movdqu xmmword [esp + 0xb4], xmm0
call fcn.037039a0
test al, al
je 0x3704f6f
mov eax, dword [esp + 0xb4]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0xcc], al
call dword [0x100f5100]
cmp byte [esp + 0xc0], 0
je 0x3704fcf
mov esi, dword [esp + 0xbc]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3704fcf
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3704fcf
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, 8
jl 0x3704d61
mov eax, dword [esp + 8]
test eax, eax
je 0x3705014
cmp eax, 0xffffffff
je 0x3705014
push eax
call dword [0x100f5250]
mov ecx, dword [esp + 8]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
movdqa xmm0, xmmword [0x101157d0]
push 0x100f7c80
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0x118]
push eax
movdqa xmmword [esp + 0x158], xmm0
movdqa xmmword [esp + 0x168], xmm0
movq qword [esp + 0x178], xmm0
call dword [0x1011f448]
lea eax, [esp + 0x114]
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0xe0]
mov dword [esp + 0xe4], esi
push eax
mov dword [esp + 0xf0], 0x40
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
call dword [0x1011f708]
test eax, eax
jne 0x37050ed
mov eax, dword [esp + 0x150]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x8c]
push eax
call dword [0x100f520c]
mov dword [0x1011f464], eax
jmp 0x37050f7
mov dword [0x1011f464], 1
push 0x1010e52c
push 0x10112888
call dword [0x100f50f4]
push eax
call dword [0x100f50ac]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xfefe
push ecx
push 1
lea ecx, [esp + 0x19c]
push ecx
push 1
push esi
call eax
xor eax, eax
cmp dword [esp + 0x10], eax
push 0x13
setne al
mov dword [0x1011f450], eax
lea eax, [esp + 0x184]
push 8
push eax
lea eax, [esp + 0x198]
push eax
push esi
call dword [0x1011f704]
cmp dword [0x1011f5c8], 0
mov dword [0x1011f46c], eax
je 0x37051b3
push 0x20
lea eax, [esp + 0x134]
push eax
call dword [0x1011f44c]
push 0
mov dword [esp + 0x134], 0x20
mov dword [esp + 0x150], 1
mov dword [esp + 0x138], 0x80
call dword [0x100f5148]
lea eax, [esp + 0x130]
push eax
call dword [0x1011f5c8]
call dword [0x100f526c]
mov dword [0x1011f5b0], eax
mov ecx, 0x40
call fcn.03707780
test eax, eax
je 0x37051d5
mov ecx, eax
call fcn.036c68a0
mov esi, eax
test esi, esi
je 0x37051d7
mov ecx, dword [esi]
push esi
call dword [ecx]
jmp 0x37051d7
xor esi, esi
mov eax, dword [esp + 0x60]
mov dword [0x1011f360], esi
test eax, eax
je 0x37051f6
push 0xc0
push eax
push 0x1011f378
call dword [0x1011f348]
push 0xc
push 0x1011f364
call dword [0x1011f44c]
push 0
push 0x1011f368
push 1
push 0x10115140
mov dword [0x1011f364], 0xc
call dword [0x100f503c]
mov ecx, 0x50
call fcn.03707780
test eax, eax
je 0x370523d
mov ecx, eax
call fcn.03703b60
mov dword [0x1011f770], eax
jmp 0x3705247
mov dword [0x1011f770], 0
mov ecx, 0x28
call fcn.03707780
mov esi, eax
test esi, esi
je 0x37052a6
mov dword [esp + 0x50], 0
mov ecx, esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
movdqa xmm0, xmmword [esp + 0x50]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xfa0
movdqu xmmword [esi + 0x14], xmm0
mov dword [esi + 0x24], 0
call fcn.03706de0
mov dword [0x1011f774], esi
jmp 0x37052b0
mov dword [0x1011f774], 0
call fcn.036a7f40
call fcn.036a9fe0
call fcn.036aac80
call fcn.036ab9b0
call fcn.03706670
call fcn.036d6730
call fcn.036d5430
call fcn.036d5520
call fcn.03667ea0
call fcn.03667f90
call fcn.036d1a80
call fcn.0367e2b0
call fcn.0367e3a0
call fcn.0367e490
call fcn.0367b130
call fcn.0367b220
call fcn.03682ae0
call fcn.03682bd0
call fcn.03681af0
call fcn.03681be0
call fcn.036b2f90
call fcn.036b48b0
call fcn.036b57b0
call fcn.036cd2d0
call fcn.036cd3c0
call fcn.036bb520
call fcn.036bb610
call fcn.036bb700
call fcn.036bb7f0
call fcn.036bb8e0
call fcn.036a4c90
call fcn.036a4d80
call fcn.036a4e70
call fcn.03677e40
cmp dword [0x1011f338], 0
jne 0x370538e
mov ecx, 0x58
call fcn.03707780
test eax, eax
je 0x3705386
mov ecx, eax
call fcn.036abf40
mov esi, eax
test esi, esi
je 0x3705388
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
jmp 0x3705388
xor esi, esi
mov dword [0x1011f338], esi
call fcn.036b20c0
mov ecx, 0x10
call fcn.03707780
mov esi, eax
test esi, esi
je 0x37053b9
mov ecx, esi
mov dword [esi + 0xc], 0
call fcn.036b1fa0
mov dword [0x1011f33c], esi
jmp 0x37053c3
mov dword [0x1011f33c], 0
call fcn.0365ecb0
call fcn.03640440
call fcn.0364dda0
call fcn.0366a530
call fcn.0362a060
call fcn.036571a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret