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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x364
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], 0
mov ecx, dword [0x1011f360]
mov dword [esp + 0x24], edi
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov ebx, dword [0x100f5284]
test eax, eax
je 0x36c1ce5
call ebx
push eax
lea ecx, [esp + 0x114]
call fcn.036231d0
push 0x1010d25c
push 0x100f7c84
push 2
lea ecx, [esp + 0x154]
mov edi, eax
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
mov esi, eax
lea ecx, [esp + 0x70]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push dword [esp + 0x70]
mov ecx, esi
call fcn.0363c0c0
mov ecx, dword [esp + 0x70]
mov esi, eax
test ecx, ecx
je 0x36c1c98
call fcn.03707920
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push 0x10102b84
mov ecx, esi
call fcn.0363c0c0
lea ecx, [esp + 0x148]
call fcn.0363bfe0
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x36c1ce1
call fcn.03707920
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
add eax, 0x60
push eax
call dword [0x100f5298]
mov ecx, dword [0x1011f340]
lea eax, [esp + 0x68]
test ecx, ecx
je 0x36c1d29
push 0
push 0
add ecx, 0xb7c
push 1
push eax
push 2
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
jmp 0x36c1d36
push 0xffffffffffffffff
push 0
push eax
push 2
call dword [0x100f5294]
mov esi, eax
mov eax, dword [edi + 8]
add eax, 0x60
push eax
call dword [0x100f5290]
test esi, esi
jne 0x36c27c0
mov eax, dword [edi + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x28], esi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x124], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x120], edi
lea eax, [edi + 4]
mov dword [esp + 0xb4], esi
mov dword [esp + 0x128], eax
lea eax, [esp + 0xb4]
movdqa xmm0, xmmword [esp + 0x120]
mov dword [esp + 0xb8], 0xffffffff
movdqu xmmword [esp + 0xbc], xmm0
mov dword [esp + 0xcc], eax
call ebx
mov esi, eax
mov eax, dword [esp + 0xbc]
cmp esi, dword [eax]
je 0x36c1dfc
mov eax, dword [esp + 0xbc]
cmp dword [eax], 0
jne 0x36c1e65
push 0
push esi
push dword [esp + 0xc4]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x36c1e65
mov eax, dword [esp + 0xc4]
mov dword [eax], 0
mov eax, dword [esp + 0xc4]
inc dword [eax]
mov al, 1
mov ecx, edi
mov byte [esp + 0xd0], al
call fcn.036c3f10
movzx eax, al
mov dword [esp + 0x14], eax
test eax, eax
jne 0x36c1f24
mov ecx, edi
call fcn.036c37a0
mov ecx, edx
mov dword [esp + 0x10], eax
push ecx
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.036c3860
mov esi, dword [eax + 8]
mov edx, dword [eax + 0xc]
test esi, esi
jne 0x36c1e79
test edx, edx
jne 0x36c1e79
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x28], ebx
jmp 0x36c1e9b
push ecx
push esi
lea ecx, [esp + 0xbc]
call fcn.036d1e70
test al, al
jne 0x36c1dfc
jmp 0x36c1e07
mov ecx, dword [0x1011f360]
push edx
push esi
mov dword [esp + 0x38], esi
mov eax, dword [ecx]
mov dword [esp + 0x3c], edx
call dword [eax + 0x20]
mov ebx, eax
push ebx
mov dword [esp + 0x2c], ebx
call dword [0x100f5298]
cmp dword [esp + 0xa8], 0
jne 0x36c1eaf
cmp dword [esp + 0xac], 0
je 0x36c1efc
mov esi, dword [esp + 0xa0]
push esi
call dword [0x100f5290]
test eax, eax
jne 0x36c1ed9
mov ecx, esi
call fcn.036c2ad0
mov ecx, dword [0x1011f360]
push dword [esi + 0xc]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
test esi, esi
jne 0x36c1eef
test edx, edx
je 0x36c1efc
mov ecx, dword [0x1011f360]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [esp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0xa4], 0
push dword [esp + 0x14]
mov ecx, edi
movlpd qword [esp + 0xb0], xmm0
call fcn.036c3a50
jmp 0x36c1f28
mov ebx, dword [esp + 0x28]
cmp byte [esp + 0xd0], 0
je 0x36c1f76
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x36c1f76
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 0x36c1f72
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x14], 0
jne 0x36c275c
mov ecx, dword [0x1011f360]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x36c2506
push 0x100f7c84
push 2
lea ecx, [esp + 0x15c]
call fcn.0363b9e0
mov esi, eax
lea ecx, [esp + 0xec]
xor eax, eax
mov edx, 0x1010d28c
cmp eax, edx
mov edi, 0x100f93f8
cmove edx, edi
call fcn.0366ec30
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x36c2087
mov edx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, ecx
xor edx, edx
cmp dx, word [ecx]
mov edx, dword [esp + 0x10]
je 0x36c1fff
lea ecx, [ecx]
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36c1ff0
mov ecx, dword [esp + 0xc]
lea eax, [edi + edx]
cmp eax, dword [esi + 8]
jb 0x36c2068
mov ecx, dword [esi]
add eax, 0xff
mov dword [esp + 0x14], ecx
mov edx, 2
mov dword [esi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x36c2052
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.037136d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
call fcn.03707920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
lea eax, [edi + edx]
mov dword [esi + 4], eax
lea eax, [edi*2 + 2]
push eax
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
call fcn.037136d0
add esp, 0xc
mov edi, 0x100f93f8
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x36c20b8
call fcn.03707920
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
push dword [ebx + 0x10]
lea eax, [esp + 0x174]
push 0x100f9404
push eax
call dword [0x100f5304]
lea eax, [esp + 0x17c]
add esp, 0xc
test eax, eax
lea ecx, [esp + 0xd4]
mov edx, eax
cmove edx, edi
call fcn.0366ec30
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x36c21a7
mov edx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, ecx
xor edx, edx
cmp dx, word [ecx]
mov edx, dword [esp + 0x10]
je 0x36c211f
nop
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36c2110
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cmp eax, dword [esi + 8]
jb 0x36c2188
mov ecx, dword [esi]
add eax, 0xff
mov dword [esp + 0xc], ecx
mov edx, 2
mov dword [esi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x36c2172
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.037136d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
call fcn.03707920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
lea eax, [edi + edx]
mov dword [esi + 4], eax
lea eax, [edi*2 + 2]
push eax
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
call fcn.037136d0
add esp, 0xc
mov edi, 0x100f93f8
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x36c21d8
call fcn.03707920
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
xor eax, eax
lea ecx, [esp + 0x104]
mov edx, 0x1010d29c
cmp eax, edx
cmove edx, edi
call fcn.0366ec30
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x36c22ab
mov edx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, ecx
xor edx, edx
cmp dx, word [ecx]
mov edx, dword [esp + 0x10]
je 0x36c2223
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36c2214
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cmp eax, dword [esi + 8]
jb 0x36c228c
mov ecx, dword [esi]
add eax, 0xff
mov dword [esp + 0xc], ecx
mov edx, 2
mov dword [esi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x36c2276
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.037136d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
call fcn.03707920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
lea eax, [edi + edx]
mov dword [esi + 4], eax
lea eax, [edi*2 + 2]
push eax
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
call fcn.037136d0
add esp, 0xc
mov edi, 0x100f93f8
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x36c22dc
call fcn.03707920
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
push dword [ebx + 0x18]
lea eax, [esp + 0x274]
push 0x100f9404
push eax
call dword [0x100f5304]
lea eax, [esp + 0x27c]
add esp, 0xc
test eax, eax
lea ecx, [esp + 0xf8]
mov edx, eax
cmove edx, edi
call fcn.0366ec30
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x36c23ca
mov edx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, ecx
xor edx, edx
cmp dx, word [ecx]
mov edx, dword [esp + 0x10]
je 0x36c2342
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36c2333
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cmp eax, dword [esi + 8]
jb 0x36c23ab
mov ecx, dword [esi]
add eax, 0xff
mov dword [esp + 0xc], ecx
mov edx, 2
mov dword [esi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x36c2395
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.037136d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
call fcn.03707920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
lea eax, [edi + edx]
mov dword [esi + 4], eax
lea eax, [edi*2 + 2]
push eax
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
call fcn.037136d0
add esp, 0xc
mov edi, 0x100f93f8
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x36c23fb
call fcn.03707920
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
xor eax, eax
lea ecx, [esp + 0xe0]
mov edx, 0x10102b84
cmp eax, edx
cmove edx, edi
call fcn.0366ec30
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x36c24c9
mov edx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, ecx
xor edx, edx
cmp dx, word [ecx]
mov edx, dword [esp + 0x10]
je 0x36c2446
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36c2437
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cmp eax, dword [esi + 8]
jb 0x36c24af
mov ecx, dword [esi]
add eax, 0xff
mov dword [esp + 0xc], ecx
mov edx, 2
mov dword [esi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x36c2499
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.037136d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
call fcn.03707920
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
lea eax, [edi + edx]
mov dword [esi + 4], eax
lea eax, [edi*2 + 2]
push eax
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
call fcn.037136d0
add esp, 0xc
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x36c24fa
call fcn.03707920
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
lea ecx, [esp + 0x154]
call fcn.0363bfe0
cmp dword [ebx + 0x18], 0
mov edi, dword [esp + 0x24]
jne 0x36c2760
mov ecx, dword [edi + 8]
lea esi, [ebx + 0x1c]
push esi
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 0
add ecx, 0x8c
mov dword [esp + 0x40], 0
push eax
call fcn.036c4550
xor ecx, ecx
cmp dword [eax], ecx
mov eax, dword [esp + 0x44]
setne cl
mov dword [esp + 0x18], ecx
test eax, eax
je 0x36c2560
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x36c26ed
mov edi, dword [edi + 8]
lea eax, [esp + 0x4c]
push esi
push eax
lea ecx, [edi + 0x8c]
call fcn.036c4550
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x36c25c3
lea eax, [ebx + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0x8c]
call fcn.036c4550
mov edi, dword [eax]
mov eax, dword [esp + 0x40]
add edi, 0x18
test eax, eax
je 0x36c25b3
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x40], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x4c], 0
jmp 0x36c25c5
xor edi, edi
mov esi, dword [edi]
test esi, esi
je 0x36c25d0
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x36c26b0
call fcn.03707780
push dword [ebx + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
push dword [ebx + 0x30]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0
movlpd qword [esp + 0xa0], xmm0
call fcn.036680e0
mov edi, dword [esp + 0x9c]
lea ecx, [esp + 0x50]
push edi
push dword [esp + 0x9c]
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
movlpd qword [esp + 0x60], xmm0
call fcn.036680e0
push dword [ebx + 0x38]
push dword [esp + 0x54]
push dword [esp + 0x14]
call dword [0x1011f348]
cmp dword [esp + 0x58], 0
mov edx, dword [esp + 0x5c]
jne 0x36c2656
test edx, edx
je 0x36c2666
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [esp + 0x98]
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x50], 0
test edx, edx
jne 0x36c2686
test edi, edi
je 0x36c2693
mov ecx, dword [0x1011f360]
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edi, dword [esp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x90], 0
jmp 0x36c26b2
xor edi, edi
cmp dword [esp + 0x48], 0
jne 0x36c26cc
push 0
push 0
call dword [0x100f53b8]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x48], eax
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
push dword [ebx + 0x38]
mov ecx, esi
push edi
call dword [edx + 8]
mov ecx, edi
call fcn.03707920
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x36c2706
push eax
push dword [esp + 0x3c]
mov ecx, ebx
push dword [ebx + 0x10]
call fcn.036c2c90
jmp 0x36c272a
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [ebx + 0x18], eax
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], 0
push dword [esp + 0x34]
mov ecx, dword [edi + 8]
push dword [esp + 0x34]
push dword [ebx + 0x14]
call fcn.036c1a00
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x36c2760
call fcn.03707920
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x36c2760
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x30], 0
jne 0x36c276e
cmp dword [esp + 0x34], 0
je 0x36c27a4
push ebx
call dword [0x100f5290]
test eax, eax
jne 0x36c2791
mov ecx, ebx
call fcn.036c2ad0
mov ecx, dword [0x1011f360]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x1011f360]
push dword [esp + 0x34]
push dword [esp + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [0x100f5284]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x28], 0
jmp 0x36c1cf6
mov ecx, edi
call fcn.036c28e0
call ebx
mov ecx, dword [edi + 8]
mov dword [esp + 0x64], eax
add ecx, 0xb4
lea eax, [esp + 0x64]
push eax
call fcn.0362fdf0
mov ecx, dword [0x1011f360]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x36c289f
call ebx
push eax
lea ecx, [esp + 0x164]
call fcn.036231d0
push 0x1010d2ac
push 0x100f7c84
push 2
lea ecx, [esp + 0x148]
mov edi, eax
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
mov edx, dword [edi]
mov esi, eax
lea eax, [esp + 0x80]
mov ecx, edi
push eax
call dword [edx]
push dword [esp + 0x80]
mov ecx, esi
call fcn.0363c0c0
mov ecx, dword [esp + 0x80]
mov esi, eax
test ecx, ecx
je 0x36c2877
call fcn.03707920
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
push 0x10102b84
mov ecx, esi
call fcn.0363c0c0
lea ecx, [esp + 0x13c]
call fcn.0363bfe0
mov ecx, dword [esp + 0x164]
test ecx, ecx
je 0x36c289f
call fcn.03707920
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret