Function at 0x36fac10
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 0x36fb1a6
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 0x36face7
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 0x36fada6
push edi
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fad3c
mov ecx, edi
call fcn.0370cbe0
test eax, eax
jne 0x36fad3c
mov eax, dword [esp + 0x14]
inc esi
mov edi, dword [esp + 0x2c]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp esi, 2
jb 0x36facf4
jmp 0x36fb01a
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 0x36faec3
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x36faec3
lea eax, [esi + esi*2]
mov edi, dword [esp + eax*4 + 0x130]
test edi, edi
jne 0x36fae24
cmp dword [esp + 0x28], edi
jbe 0x36fadcc
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x24], edi
mov word [esi], ax
jmp 0x36fae5b
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 0x36fae5b
xor ecx, ecx
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x36fae3b
nop
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36fae30
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.036fa5e0
mov ecx, dword [esp + 0xa8]
test eax, eax
jne 0x36faff0
test ecx, ecx
je 0x36faec3
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 0x36fafdc
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 0x36faf64
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 0x36fafc4
mov edi, dword [esp + 0x1a8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36fafc4
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 0x36fafc4
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 0x36faed3
mov ecx, dword [esp + 0x20]
jmp 0x36fbcab
test ecx, ecx
je 0x36fb01a
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 0x36fb177
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 0x36fb0f1
mov ecx, dword [esp + 0xd8]
cmp dword [ecx], 0
jne 0x36fb18b
push 0
push edi
push dword [esp + 0xe0]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x36fb18b
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 0x36fb15f
mov edi, dword [esp + 0xe8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36fb15f
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 0x36fb15f
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 0x36fb030
mov ecx, dword [esp + 0x20]
jmp 0x36fbcab
push ecx
push edi
lea ecx, [esp + 0xd8]
call fcn.03703a20
test al, al
jne 0x36fb0f1
jmp 0x36fb0fc
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 0x36fb1f0
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 0x36fb78b
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 0x36fb229
test cl, cl
jne 0x36fb419
cmp word [esp + 0xb8], ax
jne 0x36fb24f
cmp edi, esi
jne 0x36fb24f
mov eax, dword [esp + 0x38]
add eax, eax
mov byte [esp + 0xf], 1
push eax
push edx
call dword [0x1011f44c]
jmp 0x36fb3ed
cmp word [esp + 0x58], ax
jne 0x36fb410
test cl, cl
je 0x36fb275
push edx
call dword [0x100f523c]
mov edx, dword [esp + 0x18]
mov cx, word [edi]
mov word [edx + eax*2], cx
jmp 0x36fb3f1
mov esi, dword [esp + 0x14]
xor edi, edi
sar esi, 1
mov dword [esp + 0x30], edi
lea eax, [esi + 1]
test eax, eax
je 0x36fb2a3
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 0x36fb34a
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 0x36fb64b
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fb385
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
je 0x36fb397
push dword [esi]
mov ecx, dword [ebp + 8]
call fcn.036fa590
test eax, eax
je 0x36fb757
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fb353
lea esi, [esp + 0x18c]
mov edi, 1
lea esp, [esp]
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fb3d3
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fb3b0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x36fb3e5
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 0x36fb78b
lea ecx, [eax + 0x22]
jmp 0x36fb215
test cl, cl
je 0x36fb3f1
jmp 0x36fb25e
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 0x36fb4a3
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 0x36fb4ca
mov eax, dword [ecx]
push 0
push dword [esi]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
jne 0x36fb4f8
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fb5be
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
jne 0x36fb5be
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fb4b0
jmp 0x36fb587
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.036fa5e0
lea ecx, [esp + 0x1f4]
test eax, eax
jne 0x36fb572
call fcn.036fabc0
mov ecx, dword [esp + 0x1c8]
test ecx, ecx
je 0x36fb613
jmp 0x36fb60e
call fcn.036fabc0
mov ecx, dword [esp + 0x1c8]
test ecx, ecx
je 0x36fb587
call fcn.03707920
lea esi, [esp + 0x164]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fb5b6
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fb593
jmp 0x36fbc98
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 0x36fb613
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 0x36fb643
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fb620
jmp 0x36fbc98
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 0x36fb698
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.036fa5e0
lea ecx, [esp + 0x1d8]
test eax, eax
je 0x36fb742
call fcn.036fabc0
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x36fb6f8
call fcn.03707920
lea esi, [esp + 0x18c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fb727
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fb704
mov eax, dword [esp + 0x30]
test eax, eax
je 0x36fbc98
mov ecx, eax
call fcn.03707920
jmp 0x36fbc98
call fcn.036fabc0
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x36fb757
call fcn.03707920
lea esi, [esp + 0x18c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fb786
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fb763
jmp 0x36fb72a
xor ecx, ecx
mov dword [esp + 0x114], 0
xor edi, edi
mov dword [esp + 0x118], 0
mov eax, esi
cmp cx, word [esi]
je 0x36fb7bb
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x36fb7b0
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 0x36fb821
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36fb816
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 0x36fb897
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 0x36fb939
push dword [esi]
call dword [0x100f514c]
cmp eax, 0xffffffff
jne 0x36fb8e0
mov ecx, dword [esi]
call fcn.0370cbe0
test eax, eax
jne 0x36fb8e0
inc edi
add esi, 0xc
cmp edi, 2
jb 0x36fb8a0
jmp 0x36fbc66
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 0x36fbbd9
mov ecx, esi
jmp 0x36fbbd4
lea eax, [edi + edi*2]
mov ecx, dword [esp + eax*4 + 0x114]
mov dword [esp + 0x58], ecx
test ecx, ecx
jne 0x36fb9aa
cmp dword [esp + 0x28], ecx
ja 0x36fb99c
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 0x36fba24
mov edi, dword [esp + 0x10]
xor eax, eax
mov word [edi], ax
jmp 0x36fba24
xor edx, edx
xor edi, edi
mov eax, ecx
cmp dx, word [ecx]
je 0x36fb9c0
lea eax, [eax + 2]
xor edx, edx
inc edi
cmp dx, word [eax]
jne 0x36fb9b5
cmp edi, dword [esp + 0x28]
jb 0x36fba0e
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 0x36fbae8
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 0x36fbb15
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.036fa5e0
mov ecx, dword [esp + 0x4c]
test eax, eax
jne 0x36fbc10
test ecx, ecx
je 0x36fbba4
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 0x36fbbc9
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 0x36fbbd9
call fcn.03707920
lea esi, [esp + 0x12c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fbc08
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fbbe5
jmp 0x36fbc98
test ecx, ecx
je 0x36fbc31
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 0x36fbc56
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 0x36fbc66
call fcn.03707920
lea esi, [esp + 0x12c]
mov edi, 1
mov ecx, dword [esi - 0xc]
lea esi, [esi - 0xc]
test ecx, ecx
je 0x36fbc95
call fcn.03707920
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec edi
jns 0x36fbc72
mov eax, dword [esp + 0x18]
test eax, eax
je 0x36fbca7
mov ecx, eax
call fcn.03707920
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x36fbcb4
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret