Function at 0x3e94b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x494
mov eax, dword [esp + 0x4d4]
push ebx
mov ebx, dword [esp + 0x4c0]
mov dword [esp + 0x3c], ecx
mov dword [eax], 0
test ebx, ebx
je 0x3e94b60
cmp ebx, 2
je 0x3e94b60
cmp ebx, 1
je 0x3e94b60
cmp ebx, 3
je 0x3e94b60
cmp ebx, 4
je 0x3e94b60
cmp ebx, 5
je 0x3e94b60
mov eax, dword [esp + 0x4d4]
pop ebx
mov dword [eax], 0
mov eax, dword [esp + 0x4cc]
mov dword [eax], 0xc000000d
add esp, 0x494
ret 0x40
push ebp
mov ebp, dword [esp + 0x4c8]
push edi
mov edi, dword [esp + 0x4a8]
push edi
push ebp
call fcn.03ea6120
add esp, 8
test eax, eax
jne 0x3e94ba4
mov eax, dword [esp + 0x4dc]
pop edi
pop ebp
pop ebx
mov dword [eax], 0
mov eax, dword [esp + 0x4cc]
mov dword [eax], 0xc000000d
add esp, 0x494
ret 0x40
push esi
mov esi, ebp
and esi, 1
mov dword [esp + 0x1c], esi
je 0x3e94be5
test ebx, ebx
je 0x3e94bbe
cmp ebx, 4
je 0x3e94bbe
cmp ebx, 5
jne 0x3e94be5
mov eax, dword [esp + 0x4e0]
pop esi
pop edi
pop ebp
mov dword [eax], 0
mov eax, dword [esp + 0x4d0]
pop ebx
mov dword [eax], 0xc000000d
add esp, 0x494
ret 0x40
test edi, 0x100000
je 0x3e94bfd
mov dword [esp + 0x4c], 1
test ebp, 0x30
je 0x3e94c05
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x4b8]
lea eax, [esp + 0x38]
push eax
call fcn.03e86b30
lea ecx, [esp + 0x58]
call fcn.03ebfc90
push dword [0x100f10e0]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
call fcn.03e86cb0
mov ecx, dword [esp + 0x4b4]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
lea ecx, [esp + 0x84]
call fcn.03e86900
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e869f0
test eax, eax
je 0x3e95218
mov eax, dword [esp + 0x90]
cmp eax, 1
je 0x3e95218
test eax, eax
jne 0x3e94ce8
lea ecx, [ecx]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x38]
mov edi, dword [esi]
lea ecx, [esp + 0x60]
push eax
call fcn.03e86950
push eax
mov ecx, esi
call dword [edi + 0x18]
mov ecx, eax
test ecx, ecx
jne 0x3e94e27
test dword [esp + 0x20], 0x10
je 0x3e94e08
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e869f0
test eax, eax
je 0x3e94cdd
cmp dword [esp + 0x90], 0
je 0x3e94c80
mov edi, dword [esp + 0x4ac]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test ebx, ebx
jne 0x3e94e58
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x40], eax
je 0x3e94d34
test dword [esp + 0x20], 0x10
je 0x3e94d34
test ebp, 0x40
jne 0x3e94f6c
test esi, esi
je 0x3e94f38
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x4d0]
mov edi, dword [esi]
push dword [esp + 0x28]
push dword [esp + 0x4d4]
call fcn.03ea6b30
mov edx, dword [esp + 0x4c0]
add esp, 8
mov ecx, esi
push eax
push edx
lea eax, [esp + 0x4c]
push eax
call dword [edi + 0x14]
mov ecx, eax
test ecx, ecx
jne 0x3e94ecc
lea ecx, [esp + 0x58]
call fcn.03e86e40
test eax, eax
je 0x3e94df5
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e86c60
lea ecx, [esp + 0x58]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.03e86950
lea ecx, [esp + 0x28]
push dword [eax + 4]
push dword [eax]
call fcn.03ebfc70
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e94df5
mov eax, dword [esp + 0x14]
test al, 0x20
jne 0x3e94df5
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x28]
or eax, 0x20
mov dword [esp + 0x14], eax
push eax
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x1c]
xor eax, eax
mov edi, 2
cmp dword [esp + 0x40], eax
cmovne edi, eax
jmp 0x3e9510c
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc000003a
jmp 0x3e95cf0
mov eax, dword [esp + 0x4e0]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
cmp ecx, 0xc0000034
jne 0x3e95cee
mov dword [eax], 0xc000003a
jmp 0x3e95cf0
cmp ebx, 2
jne 0x3e94eac
test esi, esi
je 0x3e94e75
mov ecx, dword [esp + 0x4b8]
call fcn.03e86e40
test eax, eax
jne 0x3e9500d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x3e9503e
test ebp, 0x40
je 0x3e94f38
test byte [esp + 0x20], 0x10
je 0x3e94f38
jmp 0x3e94f6c
cmp ebx, 1
je 0x3e94eff
cmp ebx, 3
je 0x3e94eff
cmp ebx, 4
je 0x3e94eff
cmp ebx, 5
je 0x3e94eff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3e95210
mov eax, dword [esp + 0x4e0]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x3e95cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e95cf0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x3e94f8b
mov eax, dword [esp + 0x20]
shr eax, 4
and eax, 1
je 0x3e94f54
cmp ebx, 4
je 0x3e94f2c
cmp ebx, 5
jne 0x3e94f54
test esi, esi
jne 0x3e94f58
test ebp, 0x40
jne 0x3e94f54
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc0000035
jmp 0x3e94ee8
test esi, esi
je 0x3e94f60
test eax, eax
je 0x3e9500d
test ebp, 0x40
je 0x3e94fcd
test eax, eax
je 0x3e94fcd
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc00000ba
jmp 0x3e94ee8
lea ecx, [esp + 0x58]
call fcn.03e86e40
test eax, eax
je 0x3e94ff7
cmp ebx, 1
jne 0x3e94ff7
test esi, esi
je 0x3e94ff7
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x4bc]
lea eax, [esp + 0x34]
push eax
call fcn.03e86c00
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
je 0x3e9500d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
push dword [esp + 0x4d0]
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push edi
push edx
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x3e9502c
lea edi, [eax + 1]
jmp 0x3e9510c
lea ecx, [esp + 0x58]
call fcn.03e86e40
test eax, eax
je 0x3e94fcd
cmp ebx, 3
jne 0x3e94fcd
test esi, esi
je 0x3e94fcd
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc0000103
jmp 0x3e94ee8
cmp ebx, 1
je 0x3e94ecc
cmp ebx, 4
je 0x3e94ecc
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x4d0]
mov edi, dword [esi]
push dword [esp + 0x28]
push dword [esp + 0x4d4]
call fcn.03ea6b30
mov edx, dword [esp + 0x4c0]
add esp, 8
mov ecx, esi
push eax
push edx
lea eax, [esp + 0x4c]
push eax
call dword [edi + 0xc]
mov ecx, eax
test ecx, ecx
jne 0x3e94ecc
mov edi, 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], edi
call fcn.03e86e40
test eax, eax
je 0x3e9510c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e86c60
lea ecx, [esp + 0x58]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.03e86950
lea ecx, [esp + 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.03ebfc70
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e95108
mov eax, dword [esp + 0x14]
test al, 0x20
jne 0x3e95108
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x40]
or eax, 0x20
mov dword [esp + 0x14], eax
push eax
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x1c]
mov edi, dword [esp + 0x1c]
push ebp
push dword [esp + 0x4b0]
lea eax, [esp + 0x40]
push dword [esp + 0x20]
push eax
push dword [esp + 0x4c4]
lea eax, [esp + 0x3c]
push eax
call fcn.03eb2c20
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x3e9513d
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x3e95153
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
cmp ebx, 4
je 0x3e9515d
cmp ebx, 5
jne 0x3e951bc
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
test byte [esp + 0x20], 0x10
jne 0x3e951b1
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3e951b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, 1
mov eax, 3
cmove edi, eax
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
push esi
call fcn.03e90080
mov ecx, dword [esp + 0x4a8]
mov dword [ecx], eax
mov eax, dword [esp + 0x4bc]
mov dword [eax + 4], edi
mov dword [eax], 0
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0
test esi, esi
je 0x3e94ee8
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x3e94ee8
or edi, 0xffffffff
jmp 0x3e9510c
test ebx, ebx
jne 0x3e956e8
mov ebx, dword [esp + 0x4b4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
mov edi, eax
test esi, esi
jne 0x3e959c4
xor eax, eax
cmp ax, word [esp + 0x38]
jne 0x3e9526d
cmp edi, 2
jne 0x3e9526d
mov eax, dword [esp + 0x4e0]
mov dword [eax], esi
mov eax, dword [esp + 0x4dc]
test ebp, 0x40
je 0x3e95a10
mov dword [eax], 0xc00000ba
jmp 0x3e95cf0
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x2a0]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, eax
call fcn.03ec00c0
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.03ec00c0
push dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x34]
push edi
push edx
lea edx, [esp + 0x2c]
mov ecx, dword [ecx + 0x138]
push edx
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa8]
lea ecx, [esp + 0x94]
call fcn.03ebffe0
lea ecx, [esp + 0x29c]
call fcn.03ebffe0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push ebp
push dword [esp + 0x4d0]
xor edi, edi
lea ecx, [esp + 0x3c]
push dword [esp + 0x4b8]
mov dword [esp + 0x60], edi
mov ebx, dword [esi]
push 0x100e03dc
mov dword [esp + 0x2c], edi
call fcn.03ebfc30
mov ecx, eax
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [ebx + 0x10]
test eax, eax
je 0x3e95340
mov ecx, dword [esp + 0x4e0]
and eax, 0xefffffff
mov dword [ecx], edi
mov ecx, dword [esp + 0x4dc]
mov dword [ecx], eax
jmp 0x3e956b1
mov dword [esp + 0x20], edi
cmp word [esp + 0x38], di
jbe 0x3e954ee
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x4b0]
push ebp
push dword [esp + 0x4d0]
mov dword [esp + 0x28], edi
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x48]
push edx
call dword [eax + 0x10]
mov edx, eax
mov ecx, edx
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x3e954b7
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esp + 0x4d0]
mov ebx, dword [esi]
push 0
push dword [esp + 0x4d4]
call fcn.03ea6b30
add esp, 8
mov ecx, esi
push eax
push dword [esp + 0x4bc]
lea eax, [esp + 0x4c]
push eax
call dword [ebx + 0xc]
mov edx, eax
test edx, edx
jne 0x3e954bf
mov dword [esp + 0x20], 2
lea ecx, [esp + 0x58]
call fcn.03e86e40
test eax, eax
je 0x3e95452
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e86c60
lea ecx, [esp + 0x58]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.03e86950
lea ecx, [esp + 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.03ebfc70
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e95452
mov eax, dword [esp + 0x40]
test al, 0x20
jne 0x3e95452
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x30]
or eax, 0x20
mov dword [esp + 0x40], eax
push eax
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x1c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.03e8c7e0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x3e954a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x3e954fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e954fc
test edx, edx
je 0x3e953d4
mov eax, dword [esp + 0x4e0]
and edx, 0xefffffff
mov dword [eax], edi
mov eax, dword [esp + 0x4dc]
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x3e956b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e956b1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.03e8c7e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x3e95549
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x3e95549
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebp
push dword [esp + 0x4b0]
lea eax, [esp + 0x40]
push dword [esp + 0x20]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
call fcn.03eb2c20
add esp, 0x18
mov edi, dword [eax]
test edi, edi
je 0x3e95577
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x3e9558d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
push dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
mov ecx, ebx
push edi
call fcn.03e90080
mov ecx, dword [esp + 0x4a8]
mov dword [ecx], eax
lea ecx, [esp + 0x48]
push dword [ebx + 0x138]
call fcn.03ea60c0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push dword [esp + 0x4b4]
mov ecx, ebx
call fcn.03e90950
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x3e95683
mov ebp, dword [esp + 0x4b4]
mov ecx, ebp
mov eax, dword [ebp]
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 0xc]
cmp ebx, eax
jne 0x3e95683
mov eax, dword [ebp]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call dword [eax + 0x38]
lea edx, [esp + 0x28]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x3e95636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x3e95644
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x48]
call fcn.03ea60f0
mov eax, dword [esp + 0x4bc]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0
jmp 0x3e956a3
mov eax, dword [esp + 0x4e4]
mov dword [eax], 1
test esi, esi
je 0x3e9569a
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x48]
call fcn.03ea60f0
test edi, edi
je 0x3e956ad
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x3e956c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
test edi, edi
je 0x3e956d1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3e95cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e95cf0
cmp ebx, 2
jne 0x3e958e6
test esi, esi
je 0x3e95701
test ebp, 0x40
jne 0x3e959c4
xor eax, eax
cmp ax, word [esp + 0x38]
jne 0x3e95757
test ebp, 0x40
je 0x3e959fc
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push 0x100e03dc
lea ecx, [esp + 0x7c]
mov edi, dword [esi]
call fcn.03ebfc30
mov ecx, eax
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e959fc
test dword [esp + 0x20], 0x10
je 0x3e959fc
jmp 0x3e95a63
test esi, esi
jne 0x3e95a23
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ebp
push dword [esp + 0x4d0]
mov edi, dword [esi]
push 0
push dword [esp + 0x4d4]
call fcn.03ea6b30
mov ebx, dword [esp + 0x4c0]
add esp, 8
mov ecx, esi
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
call dword [edi + 0xc]
test eax, eax
je 0x3e957be
mov ecx, dword [esp + 0x4e0]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [esp + 0x4dc]
mov dword [ecx], eax
jmp 0x3e958cf
lea ecx, [esp + 0x58]
call fcn.03e86e40
test eax, eax
je 0x3e9583f
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e86c60
lea ecx, [esp + 0x58]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.03e86950
lea ecx, [esp + 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.03ebfc70
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e9583f
mov eax, dword [esp + 0x20]
test al, 0x20
jne 0x3e9583f
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x30]
or eax, 0x20
mov dword [esp + 0x20], eax
push eax
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x1c]
push ebp
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x4c4]
lea eax, [esp + 0x34]
push eax
call fcn.03eb2c20
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x3e9586a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3e95880
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
push esi
call fcn.03e90080
mov ecx, dword [esp + 0x4a8]
mov dword [ecx], eax
mov eax, dword [esp + 0x4bc]
mov dword [eax + 4], 2
mov dword [eax], 0
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0
test esi, esi
je 0x3e958cf
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3e95cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e95cf0
cmp ebx, 1
je 0x3e958fe
cmp ebx, 3
je 0x3e958fe
cmp ebx, 4
je 0x3e958fe
cmp ebx, 5
jne 0x3e95cf0
test esi, esi
je 0x3e95931
test ebp, 0x40
jne 0x3e959c4
test esi, esi
je 0x3e95931
cmp word [esp + 0x38], 0
jbe 0x3e95931
cmp ebx, 1
je 0x3e95a23
cmp ebx, 3
je 0x3e95a23
jmp 0x3e959c4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
cmp ecx, 0xd0000034
jne 0x3e95952
xor ecx, ecx
jmp 0x3e9595f
test ecx, ecx
jne 0x3e95cd4
mov ecx, 1
mov dword [esp + 0x20], ecx
cmp ebx, 1
je 0x3e95971
cmp ebx, 4
je 0x3e95971
xor edx, edx
jmp 0x3e95976
mov edx, 1
xor eax, eax
test ecx, ecx
sete al
test edx, eax
je 0x3e959a0
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc0000034
jmp 0x3e95cf0
test ecx, ecx
je 0x3e95a82
mov eax, dword [esp + 0x40]
shr eax, 4
and eax, 1
mov dword [esp + 0x18], eax
test esi, esi
je 0x3e959e3
cmp ebx, 4
je 0x3e959c4
cmp ebx, 5
jne 0x3e959e3
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc000000d
jmp 0x3e95cf0
mov edx, ebp
and edx, 0x40
jne 0x3e95a1b
test esi, esi
jne 0x3e95a1f
test eax, eax
je 0x3e95a1b
cmp ebx, 4
je 0x3e959fc
cmp ebx, 5
jne 0x3e95a1b
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc0000035
jmp 0x3e95cf0
test esi, esi
je 0x3e95a42
test eax, eax
jne 0x3e95a42
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc0000103
jmp 0x3e95cf0
test edx, edx
je 0x3e95a92
test eax, eax
je 0x3e95a92
xor eax, eax
cmp ax, word [esp + 0x38]
jne 0x3e95a63
mov ecx, dword [esp + 0x4b4]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x3e95a88
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0xc00000ba
jmp 0x3e95cf0
mov edi, dword [esp + 0x20]
jmp 0x3e95a94
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x3e95a94
mov edi, eax
mov dword [esp + 0x50], 0
test ecx, ecx
jne 0x3e95bdc
lea eax, [esp + 0x50]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
push eax
push ebp
push dword [esp + 0x4d0]
mov edi, dword [esi]
push dword [esp + 0x28]
push dword [esp + 0x4d4]
call fcn.03ea6b30
add esp, 8
mov ecx, esi
push eax
push dword [esp + 0x4bc]
lea eax, [esp + 0x4c]
push eax
call dword [edi + 0xc]
mov ecx, eax
test ecx, ecx
jne 0x3e95ca8
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 2
call fcn.03e86e40
test eax, eax
je 0x3e95b73
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
call fcn.03e86c60
lea ecx, [esp + 0x58]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.03e86950
lea ecx, [esp + 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.03ebfc70
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x3e95b73
mov eax, dword [esp + 0x20]
test al, 0x20
jne 0x3e95b73
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x30]
or eax, 0x20
mov dword [esp + 0x20], eax
push eax
mov edi, dword [esi]
call fcn.03ebfc90
push eax
mov ecx, esi
call dword [edi + 0x1c]
mov esi, dword [esp + 0x4ac]
mov edi, dword [esp + 0x18]
cmp ebx, 4
je 0x3e95b8c
cmp ebx, 5
jne 0x3e95c16
test edi, edi
jne 0x3e95bcb
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3e95bcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0x28]
mov eax, 3
cmp ebx, 1
cmove ebx, eax
jmp 0x3e95c1a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x50]
mov esi, dword [esp + 0x4ac]
push edx
push ebp
push dword [esp + 0x4d0]
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push esi
push edx
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x3e95ca8
mov dword [esp + 0x28], 1
jmp 0x3e95b7e
mov ebx, dword [esp + 0x28]
push ebp
push esi
push dword [esp + 0x58]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x4c4]
lea eax, [esp + 0x34]
push eax
call fcn.03eb2c20
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x3e95c45
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3e95c5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
push esi
call fcn.03e90080
mov ecx, dword [esp + 0x4a8]
mov dword [ecx], eax
mov eax, dword [esp + 0x4bc]
mov dword [eax + 4], ebx
mov dword [eax], 0
mov eax, dword [esp + 0x4e0]
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], 0
test esi, esi
je 0x3e95cc4
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x3e95cc4
mov eax, dword [esp + 0x4e0]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x3e95cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x3e95cf0
mov eax, dword [esp + 0x4e0]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [esp + 0x4dc]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x3e95cfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x494
ret 0x40