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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov dword [esp + 0x28], edi
mov esi, 0x101
mov eax, 0x202
mov dword [esp + 0x1c], eax
cmp ebx, esi
jae 0x366ee4e
mov ecx, edi
call fcn.03707920
test esi, esi
jne 0x366ee2d
xor edi, edi
jmp 0x366ee46
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
push eax
push 0
mov ebx, esi
push edi
mov dword [esp + 0x38], ebx
call fcn.037136d6
add esp, 0xc
lea eax, [esi - 1]
push eax
push edi
push dword [esp + 0x2c]
call dword [0x100f50dc]
mov ecx, eax
test ecx, ecx
je 0x366ee8d
lea eax, [esi - 1]
cmp ecx, eax
jb 0x366eea1
mov eax, dword [esp + 0x1c]
add esi, 0x100
add eax, 0x200
jmp 0x366ee16
call dword [0x100f526c]
cmp eax, 0xcb
jne 0x366eea1
xor esi, esi
jmp 0x366f0e5
xor ecx, ecx
test edi, edi
jne 0x366eed3
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ebx, eax
xor ecx, ecx
mov dword [esp + 0x1c], ebx
call fcn.03707920
xor eax, eax
mov word [ebx], ax
jmp 0x366ef25
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x366eeeb
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x366eee0
xor ecx, ecx
lea eax, [esi + 0x100]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov ebx, eax
call fcn.03707920
lea eax, [esi*2 + 2]
push eax
push edi
push ebx
call fcn.037136d0
add esp, 0xc
test ebx, ebx
jne 0x366ef93
mov ebx, dword [esp + 0x20]
cmp dword [ebx + 8], 0
ja 0x366ef80
mov esi, dword [ebx]
xor ecx, ecx
mov eax, 0x100
mov dword [ebx + 8], 0xff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov dword [esp + 0x24], eax
test esi, esi
je 0x366ef73
mov edx, dword [ebx + 4]
lea edx, [edx*2 + 2]
push edx
push esi
push eax
call fcn.037136d0
add esp, 0xc
mov ecx, esi
call fcn.03707920
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], 0
mov word [eax], cx
jmp 0x366f0e0
xor ecx, ecx
xor esi, esi
mov eax, ebx
cmp cx, word [ebx]
je 0x366efab
mov edi, edi
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x366efa0
mov ebx, dword [esp + 0x20]
cmp esi, dword [ebx + 8]
jb 0x366f00d
mov ecx, dword [ebx]
lea eax, [esi + 0xff]
mov dword [esp + 0x20], ecx
mov edx, 2
mov dword [ebx + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x366f000
mov edx, dword [ebx + 4]
lea edx, [edx*2 + 2]
push edx
push eax
push ecx
call fcn.037136d0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, eax
call fcn.03707920
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
lea eax, [esi*2 + 2]
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x1c]
push eax
push esi
push dword [ebx]
call fcn.037136d0
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], 0
add esp, 8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], 0
lea eax, [esp + 0x1e]
mov dword [esp + 0x34], 0x1011f690
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x4c], 0xffffffff
movdqu xmmword [esp + 0x50], xmm0
call fcn.037039a0
test al, al
je 0x366f085
mov eax, dword [esp + 0x50]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x68], al
call dword [0x100f5100]
cmp byte [esp + 0x5c], 0
je 0x366f0e0
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x366f0e0
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 0x366f0dc
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov edi, dword [esp + 0x28]
mov esi, 1
test edi, edi
je 0x366f1a6
lea eax, [esp + 0x60]
mov dword [esp + 0x34], 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x1b]
push ecx
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], 0x1011f690
mov dword [esp + 0x3c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x64], 0
push eax
mov dword [esp + 0x6c], 0xffffffff
movdqu xmmword [esp + 0x70], xmm0
call fcn.037039a0
test al, al
je 0x366f14c
mov eax, dword [esp + 0x70]
inc dword [eax]
mov al, 1
push edi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x88], al
call dword [0x100f5100]
cmp byte [esp + 0x7c], 0
je 0x366f1a6
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x366f1a6
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 0x366f1a6
push eax
call dword [0x100f5290]
mov ecx, dword [edi + 0x14]
push 0
push 1
push ecx
call dword [0x100f5288]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret