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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
push esi
push edi
mov edi, dword [0x1011f340]
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0362a270
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [eax], cx
test esi, esi
je 0x36fc256
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], ecx
lea ecx, [esp + 0x130]
push esi
call fcn.0362a210
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.0362a210
push 0x10113be4
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x140]
call fcn.03629370
mov ecx, dword [esp + 0x6c]
add esp, 4
test ecx, ecx
je 0x36fbd97
call fcn.03707920
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x130]
xor esi, esi
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x10]
mov edi, dword [eax]
push 0
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x36fbe56
push edi
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fbdec
mov ecx, edi
call fcn.0370cbe0
test eax, eax
jne 0x36fbdec
mov eax, dword [esp + 0x14]
inc esi
mov edi, dword [esp + 0x2c]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp esi, 2
jb 0x36fbda4
jmp 0x36fc0ca
lea eax, [esi + esi*2]
mov dword [esp + 0x74], 0
push dword [esp + eax*4 + 0x130]
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.0362a210
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x74]
add ecx, 0x3c
push esi
call fcn.0362a210
test esi, esi
je 0x36fbf73
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x36fbf73
lea eax, [esi + esi*2]
mov edi, dword [esp + eax*4 + 0x130]
test edi, edi
jne 0x36fbed4
cmp dword [esp + 0x28], edi
jbe 0x36fbe7c
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x24], edi
mov word [esi], ax
jmp 0x36fbf0b
xor ecx, ecx
mov dword [esp + 0x28], 0xff
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov edx, dword [esp + 0x24]
mov esi, eax
mov edi, dword [esp + 0x10]
lea edx, [edx*2 + 2]
push edx
push edi
push esi
call fcn.037136d0
add esp, 0xc
mov ecx, edi
call fcn.03707920
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
mov word [esi], ax
jmp 0x36fbf0b
xor ecx, ecx
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x36fbeeb
nop
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36fbee0
push esi
lea ecx, [esp + 0x24]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x20]
push eax
push edi
push esi
call fcn.037136d0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x3c], 0x10114864
call fcn.036e5060
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.036fa890
mov ecx, dword [esp + 0xa8]
test eax, eax
jne 0x36fc0a0
test ecx, ecx
je 0x36fbf73
call fcn.03707920
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, 1
lea esi, [esp + 0x148]
mov dword [esp + 0x14], eax
mov edi, dword [esi - 0xc]
lea esi, [esi - 0xc]
test edi, edi
je 0x36fc08c
lea eax, [esp + 0x190]
mov dword [esp + 0x84], 0
mov dword [esp + 0x1a8], eax
lea eax, [esp + 0xf]
push ecx
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x194]
mov dword [esp + 0x84], 0x1011f690
mov dword [esp + 0x8c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x84]
mov dword [esp + 0x194], 0
push eax
mov dword [esp + 0x19c], 0xffffffff
movdqu xmmword [esp + 0x1a0], xmm0
call fcn.037039a0
test al, al
je 0x36fc014
mov eax, dword [esp + 0x1a0]
inc dword [eax]
mov al, 1
push edi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x1b8], al
call dword [0x100f5100]
cmp byte [esp + 0x1ac], 0
je 0x36fc074
mov edi, dword [esp + 0x1a8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36fc074
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x36fc074
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov eax, dword [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec eax
mov dword [esp + 0x14], eax
jns 0x36fbf83
mov ecx, dword [esp + 0x20]
jmp 0x36fcd5b
test ecx, ecx
je 0x36fc0ca
call fcn.03707920
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov ecx, 1
lea esi, [esp + 0x148]
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov eax, dword [esi - 0xc]
lea esi, [esi - 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x36fc227
mov dword [esp + 0x84], 0
lea eax, [esp + 0xd0]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x80], 0x1011f690
mov dword [esp + 0x88], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x80]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xffffffff
movdqu xmmword [esp + 0xd8], xmm0
mov dword [esp + 0xe8], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xd8]
mov edi, eax
cmp edi, dword [ecx]
je 0x36fc1a1
mov ecx, dword [esp + 0xd8]
cmp dword [ecx], 0
jne 0x36fc23b
push 0
push edi
push dword [esp + 0xe0]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x36fc23b
mov eax, dword [esp + 0xe0]
mov dword [eax], 0
mov eax, dword [esp + 0xe0]
inc dword [eax]
mov al, 1
push dword [esp + 0x2c]
mov byte [esp + 0xf0], al
push 1
push dword [0x1011f2ec]
call dword [0x100f5100]
cmp byte [esp + 0xec], 0
je 0x36fc20f
mov edi, dword [esp + 0xe8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36fc20f
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x36fc20f
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov ecx, dword [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec ecx
mov dword [esp + 0x14], ecx
jns 0x36fc0e0
mov ecx, dword [esp + 0x20]
jmp 0x36fcd5b
push ecx
push edi
lea ecx, [esp + 0xd8]
call fcn.03703a20
test al, al
jne 0x36fc1a1
jmp 0x36fc1ac
mov ecx, dword [esp + 0x1c]
xor al, al
mov edi, ecx
mov byte [esp + 0xf], al
push ecx
mov dword [esp + 0x38], edi
call dword [0x100f523c]
mov esi, eax
mov edx, 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], edx
inc esi
je 0x36fc2a0
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov edx, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], edx
mov esi, edi
xor eax, eax
cmp ax, word [esi]
je 0x36fc83b
mov ecx, 0x22
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x58], 0x20
movzx eax, word [edi]
cmp cx, ax
mov cl, byte [esp + 0xf]
jne 0x36fc2d9
test cl, cl
jne 0x36fc4c9
cmp word [esp + 0xb8], ax
jne 0x36fc2ff
cmp edi, esi
jne 0x36fc2ff
mov eax, dword [esp + 0x38]
add eax, eax
mov byte [esp + 0xf], 1
push eax
push edx
call dword [0x1011f44c]
jmp 0x36fc49d
cmp word [esp + 0x58], ax
jne 0x36fc4c0
test cl, cl
je 0x36fc325
push edx
call dword [0x100f523c]
mov edx, dword [esp + 0x18]
mov cx, word [edi]
mov word [edx + eax*2], cx
jmp 0x36fc4a1
mov esi, dword [esp + 0x14]
xor edi, edi
sar esi, 1
mov dword [esp + 0x30], edi
lea eax, [esi + 1]
test eax, eax
je 0x36fc353
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov edi, eax
mov dword [esp + 0x30], edi
add esi, esi
lea ecx, [esi + 2]
push ecx
push edi
call dword [0x1011f44c]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push edi
call dword [0x1011f348]
push edi
lea ecx, [esp + 0x178]
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
call fcn.0362a210
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.0362a210
push 0x10113be4
lea edx, [esp + 0x60]
lea ecx, [esp + 0x184]
call fcn.03629370
mov ecx, dword [esp + 0x60]
add esp, 4
test ecx, ecx
je 0x36fc3fa
call fcn.03707920
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
xor edi, edi
lea esi, [esp + 0x174]
mov eax, dword [esp + 0x2c]
push 0
push dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x36fc6fb
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fc435
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
je 0x36fc447
push dword [esi]
mov ecx, dword [ebp + 8]
call fcn.036fa590
test eax, eax
je 0x36fc807
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fc403
lea esi, [esp + 0x18c]
mov edi, 1
lea esp, [esp]
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fc483
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fc460
mov eax, dword [esp + 0x30]
test eax, eax
je 0x36fc495
mov ecx, eax
call fcn.03707920
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
add dword [esp + 0x14], 2
add edi, 2
xor eax, eax
mov dword [esp + 0x34], edi
cmp ax, word [edi]
je 0x36fc83b
lea ecx, [eax + 0x22]
jmp 0x36fc2c5
test cl, cl
je 0x36fc4a1
jmp 0x36fc30e
push edx
lea ecx, [esp + 0x150]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
call fcn.0362a210
push dword [esp + 0x18]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.0362a210
push 0x10113be4
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x15c]
call fcn.03629370
mov ecx, dword [esp + 0x9c]
add esp, 4
test ecx, ecx
je 0x36fc553
call fcn.03707920
xor edi, edi
lea esi, [esp + 0x14c]
lea esp, [esp]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x36fc57a
mov eax, dword [ecx]
push 0
push dword [esi]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x36fc5a8
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fc66e
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
jne 0x36fc66e
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fc560
jmp 0x36fc637
lea eax, [edi + edi*2]
push dword [esp + eax*4 + 0x14c]
lea ecx, [esp + 0x24]
call fcn.0362a210
push 0
lea ecx, [esp + 0x1c8]
call fcn.036e5060
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1f4]
add eax, 2
push eax
call fcn.036e5100
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1f4]
push eax
lea eax, [esp + 0x1c8]
push eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x1c], eax
call fcn.036fa890
lea ecx, [esp + 0x1f4]
test eax, eax
jne 0x36fc622
call fcn.036fabc0
mov ecx, dword [esp + 0x1c8]
test ecx, ecx
je 0x36fc6c3
jmp 0x36fc6be
call fcn.036fabc0
mov ecx, dword [esp + 0x1c8]
test ecx, ecx
je 0x36fc637
call fcn.03707920
lea esi, [esp + 0x164]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fc666
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fc643
jmp 0x36fcd48
lea eax, [edi + edi*2]
mov dword [esp + 0xf0], 0
push dword [esp + eax*4 + 0x14c]
lea ecx, [esp + 0xf4]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
call fcn.0362a210
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0xf0]
push esi
lea ecx, [ecx + 0x3c]
call fcn.0362a210
test esi, esi
je 0x36fc6c3
mov ecx, esi
call fcn.03707920
lea esi, [esp + 0x164]
mov edi, 1
nop
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fc6f3
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fc6d0
jmp 0x36fcd48
push dword [esp + 0x30]
lea ecx, [esp + 0x100]
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
call fcn.0362a210
mov esi, dword [esp + 0xfc]
lea ecx, [esp + 0x20]
push esi
call fcn.0362a210
test esi, esi
je 0x36fc748
mov ecx, esi
call fcn.03707920
push 0
lea ecx, [esp + 0x1b4]
call fcn.036e5060
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x1dc]
call fcn.036e5100
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x1b4]
push eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x1c], eax
call fcn.036fa890
lea ecx, [esp + 0x1d8]
test eax, eax
je 0x36fc7f2
call fcn.036fabc0
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x36fc7a8
call fcn.03707920
lea esi, [esp + 0x18c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fc7d7
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fc7b4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x36fcd48
mov ecx, eax
call fcn.03707920
jmp 0x36fcd48
call fcn.036fabc0
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x36fc807
call fcn.03707920
lea esi, [esp + 0x18c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fc836
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fc813
jmp 0x36fc7da
xor ecx, ecx
mov dword [esp + 0x114], 0
xor edi, edi
mov dword [esp + 0x118], 0
mov eax, esi
cmp cx, word [esi]
je 0x36fc86b
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36fc860
lea eax, [edi + 0xff]
xor ecx, ecx
mov dword [esp + 0x11c], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
lea ecx, [edi*2 + 2]
mov dword [esp + 0x118], edi
mov edi, dword [esp + 0x1c]
push ecx
push edi
push esi
mov dword [esp + 0x120], esi
call fcn.037136d0
xor ecx, ecx
add esp, 0xc
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x36fc8d1
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36fc8c6
lea eax, [esi + 0xff]
xor ecx, ecx
mov dword [esp + 0x170], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov edi, eax
call fcn.03707920
lea ecx, [esi*2 + 2]
mov dword [esp + 0x168], edi
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x178], esi
call fcn.037136d0
add esp, 0xc
lea edx, [esp + 0x168]
lea ecx, [esp + 0x120]
push 0x10113be4
call fcn.03629370
add esp, 4
test edi, edi
je 0x36fc947
mov ecx, edi
call fcn.03707920
xor edi, edi
lea esi, [esp + 0x114]
mov eax, dword [esp + 0x2c]
push 0
push dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x36fc9e9
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fc990
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
jne 0x36fc990
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fc950
jmp 0x36fcd16
lea eax, [edi + edi*2]
mov dword [esp + 0x108], 0
push dword [esp + eax*4 + 0x114]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
call fcn.0362a210
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x108]
push esi
lea ecx, [ecx + 0x3c]
call fcn.0362a210
test esi, esi
je 0x36fcc89
mov ecx, esi
jmp 0x36fcc84
lea eax, [edi + edi*2]
mov ecx, dword [esp + eax*4 + 0x114]
mov dword [esp + 0x58], ecx
test ecx, ecx
jne 0x36fca5a
cmp dword [esp + 0x28], ecx
ja 0x36fca4c
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0x24]
mov esi, eax
mov edi, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
push ecx
push edi
push esi
call fcn.037136d0
add esp, 0xc
mov ecx, edi
call fcn.03707920
mov edi, esi
xor eax, eax
mov dword [esp + 0x10], edi
mov word [edi], ax
jmp 0x36fcad4
mov edi, dword [esp + 0x10]
xor eax, eax
mov word [edi], ax
jmp 0x36fcad4
xor edx, edx
xor edi, edi
mov eax, ecx
cmp dx, word [ecx]
je 0x36fca70
lea eax, [eax + 2]
xor edx, edx
inc edi
cmp dx, word [eax]
jne 0x36fca65
cmp edi, dword [esp + 0x28]
jb 0x36fcabe
xor ecx, ecx
lea eax, [edi + 0x100]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0x24]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.037136d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.03707920
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], esi
lea eax, [edi*2 + 2]
mov edi, dword [esp + 0x10]
push eax
push ecx
push edi
call fcn.037136d0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0xbc], 0x101148bc
mov eax, 0x100
mov dword [esp + 0xc0], 0
mov edx, 2
mov dword [esp + 0xc4], 0
mul edx
mov dword [esp + 0xc8], 0xff
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
xor eax, eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], 0
xor ecx, ecx
mov word [esi], ax
cmp eax, 0x100f7c80
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea edx, [eax + 2]
mov dword [esp + 0xcc], 1
mov eax, 0x100
mov dword [esp + 0x3c], 0x101148b8
mov dword [esp + 0x48], 0xff
jne 0x36fcb98
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
xor eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
mov word [esi], ax
jmp 0x36fcbc5
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
mov cx, word [0x100f7c80]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
mov word [esi], cx
xor ecx, ecx
mov dword [esp + 0x4c], 0
mov eax, 0x100
mov dword [esp + 0x50], 0
mov edx, 2
mov dword [esp + 0x54], 0xff
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xc0]
push eax
push edi
call fcn.036fa890
mov ecx, dword [esp + 0x4c]
test eax, eax
jne 0x36fccc0
test ecx, ecx
je 0x36fcc54
call fcn.03707920
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x36fcc79
call fcn.03707920
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x36fcc89
call fcn.03707920
lea esi, [esp + 0x12c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fccb8
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fcc95
jmp 0x36fcd48
test ecx, ecx
je 0x36fcce1
call fcn.03707920
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x36fcd06
call fcn.03707920
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x36fcd16
call fcn.03707920
lea esi, [esp + 0x12c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fcd45
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fcd22
mov eax, dword [esp + 0x18]
test eax, eax
je 0x36fcd57
mov ecx, eax
call fcn.03707920
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x36fcd64
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret